Browse Source

- Fixed tests

PECL
Felipe Pena 18 years ago
parent
commit
358ecee529
  1. 2
      Zend/tests/bug43332_2.phpt
  2. 4
      ext/standard/tests/serialize/bug42919.phpt

2
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

4
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
Loading…
Cancel
Save