From 358ecee529c219b5f9d3a68ff020091aa5618cec Mon Sep 17 00:00:00 2001 From: Felipe Pena Date: Tue, 4 Nov 2008 17:50:30 +0000 Subject: [PATCH] - Fixed tests --- Zend/tests/bug43332_2.phpt | 2 +- ext/standard/tests/serialize/bug42919.phpt | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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 -- 2.50.1