summaryrefslogtreecommitdiff
path: root/Zend/tests/bug72598_2.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'Zend/tests/bug72598_2.phpt')
-rw-r--r--Zend/tests/bug72598_2.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zend/tests/bug72598_2.phpt b/Zend/tests/bug72598_2.phpt
index c3943806ff..d58e18c978 100644
--- a/Zend/tests/bug72598_2.phpt
+++ b/Zend/tests/bug72598_2.phpt
@@ -3,15 +3,15 @@ Bug #72598.2 (Reference is lost after array_slice())
--FILE--
<?php
function ref(&$ref) {
- var_dump($ref);
- $ref = 1;
+ var_dump($ref);
+ $ref = 1;
}
new class {
function __construct() {
- $b = 0;
+ $b = 0;
$args = [&$b];
- unset($b);
+ unset($b);
for ($i = 0; $i < 2; $i++) {
$a = array_slice($args, 0, 1);
call_user_func_array('ref', $a);