#noticed by Zeev
@ -22,7 +22,7 @@ $t = new pass();
$t->show();
$t->error();
echo "Done\n"; // shouldn't be displayed of cause
echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
Call to function show()
@ -21,7 +21,7 @@ $t2->show();
$t = new fail();
@ -20,7 +20,7 @@ class fail extends pass {
pass::show();
fail::show();
Fatal error: Cannot make static method pass::show() non static in class fail in %s on line %d
@ -21,7 +21,7 @@ $t = new pass();
Fatal error: Cannot make non static method pass::show() static in class fail in %s on line %d