summaryrefslogtreecommitdiff
path: root/ext/standard/tests/math/dechex_variation1_64bit.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/math/dechex_variation1_64bit.phpt')
-rw-r--r--ext/standard/tests/math/dechex_variation1_64bit.phpt37
1 files changed, 6 insertions, 31 deletions
diff --git a/ext/standard/tests/math/dechex_variation1_64bit.phpt b/ext/standard/tests/math/dechex_variation1_64bit.phpt
index 020bbcd22c..8435d2bc30 100644
--- a/ext/standard/tests/math/dechex_variation1_64bit.phpt
+++ b/ext/standard/tests/math/dechex_variation1_64bit.phpt
@@ -9,9 +9,6 @@ if (PHP_INT_SIZE != 8) die("skip this test is for 64bit 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
);
@@ -126,7 +113,7 @@ string(1) "0"
string(1) "0"
-- Iteration 12 --
-string(1) "0"
+string(1) "1"
-- Iteration 13 --
string(1) "0"
@@ -138,37 +125,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