summaryrefslogtreecommitdiff
path: root/ext/standard/tests/array/extract_safety.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/standard/tests/array/extract_safety.phpt')
-rw-r--r--ext/standard/tests/array/extract_safety.phpt12
1 files changed, 6 insertions, 6 deletions
diff --git a/ext/standard/tests/array/extract_safety.phpt b/ext/standard/tests/array/extract_safety.phpt
index bebbaa1988..a9200d25c4 100644
--- a/ext/standard/tests/array/extract_safety.phpt
+++ b/ext/standard/tests/array/extract_safety.phpt
@@ -3,7 +3,7 @@ Test extract() for overwrite of GLOBALS
--FILE--
<?php
$str = "John";
-debug_zval_dump($GLOBALS["str"]);
+var_dump($GLOBALS["str"]);
/* Extracting Global Variables */
$splat = array("foo" => "bar");
@@ -11,13 +11,13 @@ var_dump(extract(array("GLOBALS" => $splat, EXTR_OVERWRITE)));
unset ($splat);
-debug_zval_dump($GLOBALS["str"]);
+var_dump($GLOBALS["str"]);
echo "\nDone";
?>
---EXPECTF--
-string(4) "John" refcount(%d)
-int(0)
-string(4) "John" refcount(%d)
+--EXPECT--
+string(4) "John"
+int(1)
+string(4) "John"
Done