Fatal error: Uncaught Error: Undefined constant "parent" in /in/3oJBM:19
Stack trace:
#0 /in/3oJBM(24): Bar->publicGreet('World')
#1 {main}
thrown in /in/3oJBM on line 19
Process exited with code 255.
Warning: Use of undefined constant parent - assumed 'parent' (this will throw an Error in a future version of PHP) in /in/3oJBM on line 19
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'BaseFoo' does not have a method 'greet' in /in/3oJBM on line 12
Notice: Use of undefined constant parent - assumed 'parent' in /in/3oJBM on line 19
Warning: call_user_func_array() expects parameter 1 to be a valid callback, class 'BaseFoo' does not have a method 'greet' in /in/3oJBM on line 12