diff options
| author | Nikita Popov <nikic@php.net> | 2012-04-17 15:45:53 +0200 |
|---|---|---|
| committer | Nikita Popov <nikic@php.net> | 2015-01-28 22:54:17 +0100 |
| commit | d133e68bab52edc0f1500d20dfb22e37d560dfe1 (patch) | |
| tree | 83ef1f82fd9cd64950f259ea7bcbb2a5c71315fb /ext/standard/tests/general_functions/is_numeric.phpt | |
| parent | 14d6de97c5f54ec66dbb6b18ebe9cd0d279e4784 (diff) | |
| download | php-git-d133e68bab52edc0f1500d20dfb22e37d560dfe1.tar.gz | |
Remove support for hex number from is_numeric_string
Diffstat (limited to 'ext/standard/tests/general_functions/is_numeric.phpt')
| -rw-r--r-- | ext/standard/tests/general_functions/is_numeric.phpt | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/ext/standard/tests/general_functions/is_numeric.phpt b/ext/standard/tests/general_functions/is_numeric.phpt index 9857c94223..415ce069e9 100644 --- a/ext/standard/tests/general_functions/is_numeric.phpt +++ b/ext/standard/tests/general_functions/is_numeric.phpt @@ -80,8 +80,6 @@ $numerics = array( ' 1', '2974394749328742328432', '-1e-2', - "0xff", - '0xff', "0123", '0123', "-0123", @@ -109,6 +107,7 @@ unset ($unset_var); // other types in a array $not_numerics = array( + "0x80001", "-0x80001", "+0x80001", "-0x80001.5", @@ -314,10 +313,6 @@ bool(true) bool(true) -- Iteration 76 -- bool(true) --- Iteration 77 -- -bool(true) --- Iteration 78 -- -bool(true) *** Testing is_numeric() on non numeric types *** -- Iteration 1 -- @@ -376,6 +371,8 @@ bool(false) bool(false) -- Iteration 28 -- bool(false) +-- Iteration 29 -- +bool(false) *** Testing error conditions *** |
