diff options
author | Andrea Faulds <ajf@ajf.me> | 2014-08-01 16:29:34 +0100 |
---|---|---|
committer | Andrea Faulds <ajf@ajf.me> | 2014-08-01 16:29:34 +0100 |
commit | a2bbc6f985570a031c38c1c1205bc78786e83518 (patch) | |
tree | 98f364f3fc57866b201a566527f0b81e39c69703 | |
parent | 1d609d2d262944d5a897a31d49b93f8f732f6a03 (diff) | |
parent | d6cf8be094c55a9080122a7e29c144bc5edaf117 (diff) | |
download | php-git-a2bbc6f985570a031c38c1c1205bc78786e83518.tar.gz |
Merge branch 'PHP_INT_MIN'
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | UPGRADING | 2 | ||||
-rw-r--r-- | main/main.c | 1 |
3 files changed, 6 insertions, 0 deletions
@@ -7,6 +7,9 @@ PHP NEWS (Adam) . Update the MIME type list from the one shipped by Apache HTTPD. (Adam) +- Core: + . Added PHP_INT_MIN constant. (Andrea) + - DBA: . Fixed bug #62490 (dba_delete returns true on missing item (inifile)). (Mike) @@ -68,6 +68,8 @@ PHP X.Y UPGRADE NOTES 10. New Global Constants ======================================== +- Core + , PHP_INT_MIN added. ======================================== 11. Changes to INI File Handling diff --git a/main/main.c b/main/main.c index 671700887a..896995b9f8 100644 --- a/main/main.c +++ b/main/main.c @@ -2195,6 +2195,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod REGISTER_MAIN_STRINGL_CONSTANT("PHP_EOL", PHP_EOL, sizeof(PHP_EOL)-1, CONST_PERSISTENT | CONST_CS); REGISTER_MAIN_LONG_CONSTANT("PHP_MAXPATHLEN", MAXPATHLEN, CONST_PERSISTENT | CONST_CS); REGISTER_MAIN_LONG_CONSTANT("PHP_INT_MAX", LONG_MAX, CONST_PERSISTENT | CONST_CS); + REGISTER_MAIN_LONG_CONSTANT("PHP_INT_MIN", LONG_MIN, CONST_PERSISTENT | CONST_CS); REGISTER_MAIN_LONG_CONSTANT("PHP_INT_SIZE", sizeof(long), CONST_PERSISTENT | CONST_CS); #ifdef PHP_WIN32 |