]> granicus.if.org Git - php/commitdiff
Fixed test
authorXinchen Hui <laruence@gmail.com>
Sun, 2 Mar 2014 13:38:00 +0000 (21:38 +0800)
committerXinchen Hui <laruence@gmail.com>
Sun, 2 Mar 2014 13:38:00 +0000 (21:38 +0800)
ext/reflection/tests/ReflectionClass_getInterfaces_003.phpt

index bfe4835499abc1f10019ed09c55aea6d1c6c0fcb..f1cac44e9581b6e3c5e84479656380730a523b37 100644 (file)
@@ -34,13 +34,13 @@ var_dump($a);
 An object is in an array and is referenced. As expected, var_dumping the array shows '&':
 array(1) {
   [0]=>
-  object(stdClass)#%d (0) {
+  &object(stdClass)#%d (0) {
   }
 }
 Naturally, this remains true if we modify the object:
 array(1) {
   [0]=>
-  object(stdClass)#%d (1) {
+  &object(stdClass)#%d (1) {
     ["x"]=>
     int(1)
   }
@@ -66,4 +66,4 @@ array(1) {
     ["x"]=>
     int(1)
   }
-}
\ No newline at end of file
+}