diff options
Diffstat (limited to 'ext/standard/tests/math/dechex_variation1.phpt')
-rw-r--r-- | ext/standard/tests/math/dechex_variation1.phpt | 37 |
1 files changed, 6 insertions, 31 deletions
diff --git a/ext/standard/tests/math/dechex_variation1.phpt b/ext/standard/tests/math/dechex_variation1.phpt index 8add97f7a2..8fee0d42ad 100644 --- a/ext/standard/tests/math/dechex_variation1.phpt +++ b/ext/standard/tests/math/dechex_variation1.phpt @@ -9,9 +9,6 @@ if (PHP_INT_SIZE != 4) die("skip this test is for 32bit platform only"); --FILE-- <?php echo "*** Testing dechex() : usage variations ***\n"; -//get an unset variable -$unset_var = 10; -unset ($unset_var); // heredoc string $heredoc = <<<EOT @@ -43,10 +40,6 @@ $inputs = array( 12.3456789000E-10, .5, - // null data -/*12*/ NULL, - null, - // boolean data /*14*/ true, false, @@ -66,12 +59,6 @@ $inputs = array( // object data /*24*/ new classA(), - // undefined data -/*25*/ @$undefined_var, - - // unset data -/*26*/ @$unset_var, - // resource variable /*27*/ $fp ); @@ -127,7 +114,7 @@ string(1) "0" string(1) "0" -- Iteration 12 -- -string(1) "0" +string(1) "1" -- Iteration 13 -- string(1) "0" @@ -139,37 +126,25 @@ string(1) "1" string(1) "0" -- Iteration 16 -- -string(1) "1" +dechex(): Argument #1 ($num) must be of type int, string given -- Iteration 17 -- -string(1) "0" +dechex(): Argument #1 ($num) must be of type int, string given -- Iteration 18 -- -dechex(): Argument #1 ($num) must be of type int, string given +dechex(): Argument #1 ($num) must be of type int, array given -- Iteration 19 -- dechex(): Argument #1 ($num) must be of type int, string given -- Iteration 20 -- -dechex(): Argument #1 ($num) must be of type int, array given +dechex(): Argument #1 ($num) must be of type int, string given -- Iteration 21 -- dechex(): Argument #1 ($num) must be of type int, string given -- Iteration 22 -- -dechex(): Argument #1 ($num) must be of type int, string given - --- Iteration 23 -- -dechex(): Argument #1 ($num) must be of type int, string given - --- Iteration 24 -- dechex(): Argument #1 ($num) must be of type int, classA given --- Iteration 25 -- -string(1) "0" - --- Iteration 26 -- -string(1) "0" - --- Iteration 27 -- +-- Iteration 23 -- dechex(): Argument #1 ($num) must be of type int, resource given |