com php-src: Fixed test: tests/classes/bug63462.phpt
| From: | Dmitry Stogov | Date: | Thu, 13 Mar 2014 08:42:24 +0000 |
| Subject: | com php-src: Fixed test: tests/classes/bug63462.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-77635@lists.php.net to get a copy of this message | ||
Commit: 6c8ac33b69ade3c4d8d4ff742203efc61796e347
Author: Dmitry Stogov <dmitry@zend.com> Thu, 13 Mar 2014 12:42:24 +0400
Parents: e0dd8a4f4bd293b6fc8b317ee26ee7e0f0910a74
Branches: phpng
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6c8ac33b69ade3c4d8d4ff742203efc61796e347
Log:
Fixed test
Changed paths:
M tests/classes/bug63462.phpt
Diff:
diff --git a/tests/classes/bug63462.phpt b/tests/classes/bug63462.phpt
index dc5edbd..119bf59 100644
--- a/tests/classes/bug63462.phpt
+++ b/tests/classes/bug63462.phpt
@@ -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