File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ $t = new pass();
22
22
$ t ->show ();
23
23
$ t ->error ();
24
24
25
- echo "Done \n" ; // shouldn't be displayed of cause
25
+ echo "Done \n" ; // shouldn't be displayed
26
26
?>
27
27
--EXPECTF--
28
28
Call to function show()
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ $t2->show();
21
21
$ t = new fail ();
22
22
$ t ->show ();
23
23
24
- echo "Done \n" ; // shouldn't be displayed of cause
24
+ echo "Done \n" ; // shouldn't be displayed
25
25
?>
26
26
--EXPECTF--
27
27
Call to function show()
Original file line number Diff line number Diff line change @@ -20,7 +20,7 @@ class fail extends pass {
20
20
pass::show ();
21
21
fail::show ();
22
22
23
- echo "Done \n" ; // shouldn't be displayed of cause
23
+ echo "Done \n" ; // shouldn't be displayed
24
24
?>
25
25
--EXPECTF--
26
26
Fatal error: Cannot make static method pass::show() non static in class fail in %s on line %d
Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ $t = new pass();
21
21
$ t ->show ();
22
22
fail::show ();
23
23
24
- echo "Done \n" ; // shouldn't be displayed of cause
24
+ echo "Done \n" ; // shouldn't be displayed
25
25
?>
26
26
--EXPECTF--
27
27
Fatal error: Cannot make non static method pass::show() static in class fail in %s on line %d
You can’t perform that action at this time.
0 commit comments