From: hajo at clansphere dot net Operating system: Irrelevant PHP version: 6CVS-2007-05-17 (snap) PHP Bug Type: Feature/Change Request Bug description: php build date information
Description: ------------ since not everyone uses php snaps in the same build date it is possible to have a function work with one and not with another. so it would be nice to have a predefined constant like PHP_BUILD_DATE or something like that to echo in a debug mode of a script. i searched for it on search engines and even some forums without success. it was just possible to extract it from phpinfo(INFO_GENERAL) with some code that doesn't work for all php versions the same. thank you very much Reproduce code: --------------- Expected result: ---------------- Actual result: -------------- -- Edit bug report at http://bugs.php.net/?id=41417&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=41417&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=41417&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=41417&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=41417&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=41417&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=41417&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=41417&r=needscript Try newer version: http://bugs.php.net/fix.php?id=41417&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=41417&r=support Expected behavior: http://bugs.php.net/fix.php?id=41417&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=41417&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=41417&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=41417&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=41417&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=41417&r=dst IIS Stability: http://bugs.php.net/fix.php?id=41417&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=41417&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=41417&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=41417&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=41417&r=mysqlcfg