A note that might save some people some time:
This note on this page about DateTime object not being available unless you have PHP 5.2.0 or greater ONLY applies to SOME of the functions listed in the function list section of this manual.
The DateTime is a new OO-based approach to date manipulation, but the old methods such as strtotime() and date() have been there for ages and still get the job done.
To new users a "This not available until 5.2.0" note on the "Installation" page for this section seems to imply that ALL the functionality of this section is not available until 5.2.0.
Maybe we should put a note on each of the "new" functionality pages that says. "This is new as of 5.2.0, and effectively replaces X and Y legacy functions". Just a thought.
설치
이 함수들은 설치하지 않아도 사용할 수 있습니다; PHP 코어의 일부입니다.
Note: Getting the latest timezone database
The latest version of the timezone database can be installed via PECL's » timezonedb.
Note: Experimental DateTime support in PHP 5.1.x
Although the DateTime class (and related functions) are enabled by default since PHP 5.2.0, it is possible to add experimental support into PHP 5.1.x by using the following flag before configure/compile: CFLAGS=-DEXPERIMENTAL_DATE_SUPPORT=1
설치
dave2008 at buchananville dot com
22-Jul-2008 04:40
22-Jul-2008 04:40
