forked from facebook/hhvm
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make HPHP compiler version and compiler id accesible via ini_get()
Summary: Pursuant to Task #489370, we need an easy way for PHP code to be able to programmatically retrieve the HPHP compiler version (currently "1.000") and the HPHP compiler id (a string providing the git revision and remote branch that was used to build the compiler). This diff updates ini_get() to support two new keys "hphp.compiler_version" and "hphp.compiler_id" to give PHP code a way to programmatically access the HPHP compiler version and HPHP compiler id. Task ID: #489370 Blame Rev: Reviewers: myang, qigao, mwilliams CC: cbueno, jallen Revert Plan: Tags: hphp - begin *PUBLIC* platform impact section - Bugzilla: # - end platform impact - Differential Revision: 234008
- Loading branch information
Showing
4 changed files
with
29 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters