]> granicus.if.org Git - php/commitdiff
- Fixed tests
authorFelipe Pena <felipe@php.net>
Tue, 4 Nov 2008 17:50:30 +0000 (17:50 +0000)
committerFelipe Pena <felipe@php.net>
Tue, 4 Nov 2008 17:50:30 +0000 (17:50 +0000)
Zend/tests/bug43332_2.phpt
ext/standard/tests/serialize/bug42919.phpt

index 884ec71bacbe7bd1c55b05889266eac4a4a1eebd..b8adef3b13e773fb466ff902a206d18cf2cdaec5 100644 (file)
@@ -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
index 11cb81de6cdcd7b1809848b272c8c724e77f8983..0a3d0b2e07e9cea0fbddfc179aa9f6633cb37f9d 100755 (executable)
@@ -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