]> granicus.if.org Git - php/commitdiff
Fixed test
authorDmitry Stogov <dmitry@zend.com>
Thu, 13 Mar 2014 08:42:24 +0000 (12:42 +0400)
committerDmitry Stogov <dmitry@zend.com>
Thu, 13 Mar 2014 08:42:24 +0000 (12:42 +0400)
tests/classes/bug63462.phpt

index dc5edbd5e199823c43c957a382ebeabce2d6cb37..119bf592c2f32b06464816fb1b136c47b8faa14f 100644 (file)
@@ -2,8 +2,6 @@
 Test script to verify that magic methods should be called only once when accessing an unset property.
 --CREDITS--
 Marco Pivetta <ocramius@gmail.com>
---XFAIL--
-Bug 63462 is not yet fixed
 --FILE--
 <?php
 class Test {
@@ -54,13 +52,17 @@ $test->privateProperty   = 'value';
 
 --EXPECTF--
 __get nonExisting
-Notice: Undefined index: nonExisting in %__set__get_006.php on line %d
+
+Notice: Undefined property: Test::$nonExisting in %sbug63462.php on line %d
 __get publicProperty
-Notice: Undefined index: publicProperty in %__set__get_006.php on line %d
+
+Notice: Undefined property: Test::$publicProperty in %sbug63462.php on line %d
 __get protectedProperty
-Notice: Undefined index: protectedProperty in %__set__get_006.php on line %d
+
+Notice: Undefined property: Test::$protectedProperty in %sbug63462.php on line %d
 __get privateProperty
-Notice: Undefined index: privateProperty in %__set__get_006.php on line %d
+
+Notice: Undefined property: Test::$privateProperty in %sbug63462.php on line %d
 __isset nonExisting
 __isset publicProperty
 __isset protectedProperty