diff options
Diffstat (limited to 'ext/standard/tests/math/bindec_variation1.phpt')
-rw-r--r-- | ext/standard/tests/math/bindec_variation1.phpt | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/ext/standard/tests/math/bindec_variation1.phpt b/ext/standard/tests/math/bindec_variation1.phpt index 5c6b2e1b1e..420ceeed7a 100644 --- a/ext/standard/tests/math/bindec_variation1.phpt +++ b/ext/standard/tests/math/bindec_variation1.phpt @@ -7,9 +7,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); --FILE-- <?php echo "*** Testing bindec() : usage variations ***\n"; -//get an unset variable -$unset_var = 10; -unset ($unset_var); // heredoc string $heredoc = <<<EOT @@ -34,10 +31,6 @@ $inputs = array( 12.3456789000E-10, .5, - // null data -/*10*/ NULL, - null, - // boolean data /*12*/ true, false, @@ -54,12 +47,6 @@ $inputs = array( 'abcxyz', $heredoc, - // undefined data -/*22*/ @$undefined_var, - - // unset data -/*23*/ @$unset_var, - // resource variable /*24*/ $fp ); @@ -122,7 +109,7 @@ Deprecated: Invalid characters passed for attempted conversion, these have been int(0) -- Iteration 10 -- -int(0) +int(1) -- Iteration 11 -- int(0) @@ -134,40 +121,28 @@ int(1) int(0) -- Iteration 14 -- -int(1) +int(0) -- Iteration 15 -- int(0) -- Iteration 16 -- -int(0) - --- Iteration 17 -- -int(0) - --- Iteration 18 -- bindec(): Argument #1 ($binary_string) must be of type string, array given --- Iteration 19 -- +-- Iteration 17 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(0) --- Iteration 20 -- +-- Iteration 18 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(0) --- Iteration 21 -- +-- Iteration 19 -- Deprecated: Invalid characters passed for attempted conversion, these have been ignored in %s on line %d int(0) --- Iteration 22 -- -int(0) - --- Iteration 23 -- -int(0) - --- Iteration 24 -- +-- Iteration 20 -- bindec(): Argument #1 ($binary_string) must be of type string, resource given |