$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()
$t = new fail();
$t->show();
-echo "Done\n"; // shouldn't be displayed of cause
+echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
Call to function show()
pass::show();
fail::show();
-echo "Done\n"; // shouldn't be displayed of cause
+echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
Fatal error: Cannot make static method pass::show() non static in class fail in %s on line %d
\ No newline at end of file
$t->show();
fail::show();
-echo "Done\n"; // shouldn't be displayed of cause
+echo "Done\n"; // shouldn't be displayed
?>
--EXPECTF--
Fatal error: Cannot make non static method pass::show() static in class fail in %s on line %d
\ No newline at end of file