About PHP constant and their first version

From: Date: Wed, 17 Dec 2008 21:40:13 +0000
Subject: About PHP constant and their first version
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969379825@lists.php.net to get a copy of this message
Hello, Working on PEAR::PHP_CompatInfo package, I've built a new API 1.9.0 that improve detection of PHP and Extensions component based on dictionaries lists. This dictionaries are built with help of : - PHP5 Reflection API - file http://cvs.php.net/viewvc.cgi/phpdoc/phpbook/phpbook-xsl/version.xml - file http://cvs.php.net/viewvc.cgi/phpdoc/funclist.txt Today while I update my windows platform from PHP 5.2.6 to PHP 5.2.8, I've noticed that : - my standard constant dictionary changed. Reason two constants added FILE_BINARY and FILE_TEXT But my surprise was to read PHP manual [1] and read their first appear version (PHP 6), while I got it with PHP 5.2.8 Is it normal ? To check run this script, and find them in output <?php print_r(get_defined_constants(true)); ?> Laurent [1] http://www.php.net/manual/en/filesystem.constants.php

« previous php.doc (#969379825) next »