From: Felipe Pena Date: Tue, 4 Nov 2008 17:50:30 +0000 (+0000) Subject: - Fixed tests X-Git-Tag: BEFORE_NS_RULES_CHANGE~97 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=358ecee529c219b5f9d3a68ff020091aa5618cec;p=php - Fixed tests --- diff --git a/Zend/tests/bug43332_2.phpt b/Zend/tests/bug43332_2.phpt index 884ec71bac..b8adef3b13 100644 --- a/Zend/tests/bug43332_2.phpt +++ b/Zend/tests/bug43332_2.phpt @@ -12,4 +12,4 @@ $foo = new foo; $foo->bar($foo); // Ok! $foo->bar(new stdclass); // Error, ok! --EXPECTF-- -Fatal error: 'self' is an invalid class name in %sbug43332_2.php on line 5 +Fatal error: '\self' is an invalid class name in %sbug43332_2.php on line 5 diff --git a/ext/standard/tests/serialize/bug42919.phpt b/ext/standard/tests/serialize/bug42919.phpt index 11cb81de6c..0a3d0b2e07 100755 --- a/ext/standard/tests/serialize/bug42919.phpt +++ b/ext/standard/tests/serialize/bug42919.phpt @@ -10,5 +10,5 @@ $x = unserialize(serialize(new Bar)); echo get_class($x) . "\n"; ?> --EXPECT-- -O:8:"Foo::Bar":0:{} -Foo::Bar +O:7:"Foo\Bar":0:{} +Foo\Bar