]> granicus.if.org Git - php/commitdiff
fix test (but it still fails)
authorAntony Dovgal <tony2001@php.net>
Tue, 1 Aug 2006 08:39:11 +0000 (08:39 +0000)
committerAntony Dovgal <tony2001@php.net>
Tue, 1 Aug 2006 08:39:11 +0000 (08:39 +0000)
tests/lang/bug35239.phpt

index 7fc7b7d3b630ea02ed24e248adfbafbaa8535791..22ed25b1d623f36554652429afa3a76cf5219412 100755 (executable)
@@ -10,16 +10,16 @@ $a->x0->y2 =& $a->x0;
 $a->x0->y0 = 'b';
 var_dump($a);
 $a->x0->y1 = "ok\n";
-echo $a->x0;
+var_dump($a->x0);
 ?>
 --EXPECT--
-object(stdClass)#1 (1) {
+object(stdClass)(1) {
   ["x0"]=>
-  &object(stdClass)#2 (3) {
+  &object(stdClass)(3) {
     ["y0"]=>
     string(1) "b"
     ["y1"]=>
-    &object(stdClass)#2 (3) {
+    &object(stdClass)(3) {
       ["y0"]=>
       string(1) "b"
       ["y1"]=>
@@ -28,7 +28,7 @@ object(stdClass)#1 (1) {
       *RECURSION*
     }
     ["y2"]=>
-    &object(stdClass)#2 (3) {
+    &object(stdClass)(3) {
       ["y0"]=>
       string(1) "b"
       ["y1"]=>
@@ -38,4 +38,4 @@ object(stdClass)#1 (1) {
     }
   }
 }
-ok
+string(2) "ok"