搜索

2010年9月19日星期日

求教:“besides”的含义

PHP 手册中有这么一段:

Others

Others
Brazil/Acre Brazil/DeNoronha Brazil/East Brazil/West Canada/Atlantic
Canada/Central Canada/East-Saskatchewan Canada/Eastern Canada/Mountain Canada/Newfoundland
Canada/Pacific Canada/Saskatchewan Canada/Yukon CET Chile/Continental
Chile/EasterIsland CST6CDT Cuba EET Egypt
Eire EST EST5EDT Etc/GMT Etc/GMT+0
Etc/GMT+1 Etc/GMT+10 Etc/GMT+11 Etc/GMT+12 Etc/GMT+2
Etc/GMT+3 Etc/GMT+4 Etc/GMT+5 Etc/GMT+6 Etc/GMT+7
Etc/GMT+8 Etc/GMT+9 Etc/GMT-0 Etc/GMT-1 Etc/GMT-10
Etc/GMT-11 Etc/GMT-12 Etc/GMT-13 Etc/GMT-14 Etc/GMT-2
Etc/GMT-3 Etc/GMT-4 Etc/GMT-5 Etc/GMT-6 Etc/GMT-7
Etc/GMT-8 Etc/GMT-9 Etc/GMT0 Etc/Greenwich Etc/UCT
Etc/Universal Etc/UTC Etc/Zulu Factory GB
GB-Eire GMT GMT+0 GMT-0 GMT0
Greenwich Hongkong HST Iceland Iran
Israel Jamaica Japan Kwajalein Libya
MET Mexico/BajaNorte Mexico/BajaSur Mexico/General MST
MST7MDT Navajo NZ NZ-CHAT Poland
Portugal PRC PST8PDT ROC ROK
Singapore Turkey UCT Universal US/Alaska
US/Aleutian US/Arizona US/Central US/East-Indiana US/Eastern
US/Hawaii US/Indiana-Starke US/Michigan US/Mountain US/Pacific
US/Pacific-New US/Samoa UTC W-SU WET
Zulu
Warning
Please do not use any of the timezones listed here (besides UTC), they only exist for backward compatible reasons.
其中此句我是百思不得其解:
  • Warning: Please do not use any of the timezones listed here (besides UTC), they only exist for backward compatible reasons.
这句话到底是说 UTC 也在不建议使用之列呢,还是相反?根据我的英文理解,“besides”一词应该是指包括在内,也就是说不建议使用 UTC,但是若如此,又何必单独写明?不是画蛇添足吗?

参考另外一段同样出自手册的内容(date_default_timezone_set):

Parameters

timezone_identifier
The timezone identifier, like UTC or Europe/Lisbon. The list of valid identifiers is available in the List of Supported Timezones.
此处有专门举例说Like UTC若 UTC 属于不建议使用之列,何以又以之举例?

费解啊,费解。

已解决,果然如我所料 UTC 可以使用,不属于“不建议使用之列”,参见 PHP 官方说法:Doc Bug #44592

没有评论:

发表评论