Skip to content

Commit a2bbc6f

Browse files
Merge branch 'PHP_INT_MIN'
2 parents 1d609d2 + d6cf8be commit a2bbc6f

File tree

3 files changed

+6
-0
lines changed

3 files changed

+6
-0
lines changed

NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ PHP NEWS
77
(Adam)
88
. Update the MIME type list from the one shipped by Apache HTTPD. (Adam)
99

10+
- Core:
11+
. Added PHP_INT_MIN constant. (Andrea)
12+
1013
- DBA:
1114
. Fixed bug #62490 (dba_delete returns true on missing item (inifile)). (Mike)
1215

UPGRADING

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,8 @@ PHP X.Y UPGRADE NOTES
6868
10. New Global Constants
6969
========================================
7070

71+
- Core
72+
, PHP_INT_MIN added.
7173

7274
========================================
7375
11. Changes to INI File Handling

main/main.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2195,6 +2195,7 @@ int php_module_startup(sapi_module_struct *sf, zend_module_entry *additional_mod
21952195
REGISTER_MAIN_STRINGL_CONSTANT("PHP_EOL", PHP_EOL, sizeof(PHP_EOL)-1, CONST_PERSISTENT | CONST_CS);
21962196
REGISTER_MAIN_LONG_CONSTANT("PHP_MAXPATHLEN", MAXPATHLEN, CONST_PERSISTENT | CONST_CS);
21972197
REGISTER_MAIN_LONG_CONSTANT("PHP_INT_MAX", LONG_MAX, CONST_PERSISTENT | CONST_CS);
2198+
REGISTER_MAIN_LONG_CONSTANT("PHP_INT_MIN", LONG_MIN, CONST_PERSISTENT | CONST_CS);
21982199
REGISTER_MAIN_LONG_CONSTANT("PHP_INT_SIZE", sizeof(long), CONST_PERSISTENT | CONST_CS);
21992200

22002201
#ifdef PHP_WIN32

0 commit comments

Comments
 (0)