ID: 41417 Updated by: [EMAIL PROTECTED] Reported By: hajo at clansphere dot net -Status: Open +Status: Wont fix Bug Type: Feature/Change Request Operating System: Irrelevant PHP Version: 6CVS-2007-05-17 (snap) New Comment:
Well, you should not be using snapshots in production for the first place. Second, I don't think it would be useful for anybody except developers, but then they always use the latest snapshot. So such a constant makes very little sense for me. Previous Comments: ------------------------------------------------------------------------ [2007-05-17 16:13:50] hajo at clansphere dot net 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 this bug report at http://bugs.php.net/?id=41417&edit=1