summaryrefslogtreecommitdiff
path: root/ext/session/tests/bug71972.phpt
diff options
context:
space:
mode:
Diffstat (limited to 'ext/session/tests/bug71972.phpt')
-rw-r--r--ext/session/tests/bug71972.phpt8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/session/tests/bug71972.phpt b/ext/session/tests/bug71972.phpt
index e4c5c6b6d3..1384cae21e 100644
--- a/ext/session/tests/bug71972.phpt
+++ b/ext/session/tests/bug71972.phpt
@@ -13,13 +13,13 @@ $_SESSION['boogie'] = 1;
$_SESSION['obj1'] = new stdClass();
for ( $x=2; $x < 20; $x++) {
- cyclic_ref($x);
+ cyclic_ref($x);
}
function cyclic_ref($num) {
- $_SESSION['obj'.$num] = new stdClass();
- $_SESSION['obj'.$num]->test = new stdClass();//NOTE: No bug if try commenting out this too.
- $_SESSION['obj'.$num]->obj1 = $_SESSION['obj1'];
+ $_SESSION['obj'.$num] = new stdClass();
+ $_SESSION['obj'.$num]->test = new stdClass();//NOTE: No bug if try commenting out this too.
+ $_SESSION['obj'.$num]->obj1 = $_SESSION['obj1'];
}
var_dump(session_decode(session_encode()) == $_SESSION);