forked from php/php-src
-
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.
Merge remote-tracking branch 'origin/master' into str_size_and_int64
* origin/master: Patches #67739 PHP_INT_MIN and _MAX tests NEWS and UPGRADING Added PHP_INT_MIN Conflicts: main/main.c
- php-7.2.0
- php-7.2.0beta3
- php-7.2.0beta2
- php-7.2.0beta1
- php-7.2.0alpha3
- php-7.2.0alpha2
- php-7.2.0alpha1
- php-7.2.0RC6
- php-7.2.0RC5
- php-7.2.0RC4
- php-7.2.0RC3
- php-7.2.0RC2
- php-7.2.0RC1
- php-7.1.12
- php-7.1.12RC1
- php-7.1.11
- php-7.1.11RC1
- php-7.1.10
- php-7.1.10RC1
- php-7.1.9
- php-7.1.9RC1
- php-7.1.8
- php-7.1.8RC1
- php-7.1.7
- php-7.1.7RC1
- php-7.1.6
- php-7.1.6RC1
- php-7.1.5
- php-7.1.5RC1
- php-7.1.4
- php-7.1.4RC1
- php-7.1.3
- php-7.1.3RC1
- php-7.1.2
- php-7.1.2RC1
- php-7.1.1
- php-7.1.1RC1
- php-7.1.0
- php-7.1.0beta3
- php-7.1.0beta2
- php-7.1.0beta1
- php-7.1.0alpha3
- php-7.1.0alpha2
- php-7.1.0alpha1
- php-7.1.0RC6
- php-7.1.0RC5
- php-7.1.0RC4
- php-7.1.0RC3
- php-7.1.0RC2
- php-7.1.0RC1
- php-7.0.26
- php-7.0.26RC1
- php-7.0.25
- php-7.0.25RC1
- php-7.0.24
- php-7.0.24RC1
- php-7.0.23
- php-7.0.23RC1
- php-7.0.22
- php-7.0.22RC1
- php-7.0.21
- php-7.0.21RC1
- php-7.0.20
- php-7.0.20RC1
- php-7.0.19
- php-7.0.19RC1
- php-7.0.18
- php-7.0.18RC1
- php-7.0.17
- php-7.0.17RC1
- php-7.0.16
- php-7.0.16RC1
- php-7.0.15
- php-7.0.15RC1
- php-7.0.14
- php-7.0.14RC1
- php-7.0.13
- php-7.0.13RC1
- php-7.0.12
- php-7.0.12RC1
- php-7.0.11
- php-7.0.11RC1
- php-7.0.10
- php-7.0.10RC1
- php-7.0.9
- php-7.0.9RC1
- php-7.0.8
- php-7.0.8RC1
- php-7.0.7
- php-7.0.7RC1
- php-7.0.6
- php-7.0.6RC1
- php-7.0.5
- php-7.0.5RC1
- php-7.0.4
- php-7.0.4RC1
- php-7.0.3
- php-7.0.3RC1
- php-7.0.2
- php-7.0.2RC1
- php-7.0.1
- php-7.0.1RC1
- php-7.0.0
- php-7.0.0beta3
- php-7.0.0beta2
- php-7.0.0beta1
- php-7.0.0alpha2
- php-7.0.0alpha1
- php-7.0.0RC8
- php-7.0.0RC7
- php-7.0.0RC6
- php-7.0.0RC5
- php-7.0.0RC4
- php-7.0.0RC3
- php-7.0.0RC2
- php-7.0.0RC1
- PRE_PHP7_REMOVALS
- PRE_PHP7_NSAPI_REMOVAL
- PRE_PHP7_EREG_MYSQL_REMOVALS
- PRE_NATIVE_TLS_MERGE
- PRE_AST_MERGE
- POST_64BIT_BRANCH_MERGE
- POST_PHP7_REMOVALS
- POST_PHP7_NSAPI_REMOVAL
- POST_PHP7_EREG_MYSQL_REMOVALS
- POST_NATIVE_TLS_MERGE
- POST_AST_MERGE
Showing
5 changed files
with
40 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--TEST-- | ||
Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (32-bit) | ||
--SKIPIF-- | ||
<?php if (PHP_INT_SIZE !== 4) | ||
die("skip this test is for 32-bit platforms only"); ?> | ||
--FILE-- | ||
<?php | ||
|
||
var_dump(PHP_INT_MIN); | ||
var_dump(PHP_INT_MAX); | ||
var_dump(PHP_INT_SIZE); | ||
|
||
?> | ||
--EXPECT-- | ||
int(-2147483648) | ||
int(2147483647) | ||
int(4) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
--TEST-- | ||
Test PHP_INT_MIN, PHP_INT_MAX and PHP_INT_SIZE (64-bit) | ||
--SKIPIF-- | ||
<?php if (PHP_INT_SIZE !== 8) | ||
die("skip this test is for 64-bit platforms only"); ?> | ||
--FILE-- | ||
<?php | ||
|
||
var_dump(PHP_INT_MIN); | ||
var_dump(PHP_INT_MAX); | ||
var_dump(PHP_INT_SIZE); | ||
|
||
?> | ||
--EXPECT-- | ||
int(-9223372036854775808) | ||
int(9223372036854775807) | ||
int(8) |