[php-src] PR #16747: Add PHP_BUILD_DATE constant
| From: | cmb69 | Date: | Sun, 10 Nov 2024 21:10:07 +0000 |
| Subject: | [php-src] PR #16747: Add PHP_BUILD_DATE constant | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-29586@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/16747
Author: cmb69
This information can be occasionally useful, and would otherwise need to be parsed from
phpinfo() output.
However, maybe more importantly we unify the build date between what is given by php -v
and php -i, since these compilation units are not necessarily preprocessed within the
same second.
---
This came up in #16560. While I don't mind a new PHP_BUILD_DATE constant, for me
it's more important to unify the dates.
Note that I'm not sure if the format is standardized; I believe so, though. The test will show.