PARENT
Dad
Dad
Fatal error: Uncaught Error: Undefined constant "self" in /in/dZ7ll:11
Stack trace:
#0 /in/dZ7ll(26): Dad::earlyStatic()
#1 {main}
thrown in /in/dZ7ll on line 11
Process exited with code 255.
PARENT
Dad
Dad
Warning: Use of undefined constant self - assumed 'self' (this will throw an Error in a future version of PHP) in /in/dZ7ll on line 11
Warning: get_class() expects parameter 1 to be object, string given in /in/dZ7ll on line 11
Warning: Use of undefined constant get_called_class - assumed 'get_called_class' (this will throw an Error in a future version of PHP) in /in/dZ7ll on line 14
get_called_class
CHILD
Dad
Child
Warning: Use of undefined constant self - assumed 'self' (this will throw an Error in a future version of PHP) in /in/dZ7ll on line 11
Warning: get_class() expects parameter 1 to be object, string given in /in/dZ7ll on line 11
Warning: Use of undefined constant get_called_class - assumed 'get_called_class' (this will throw an Error in a future version of PHP) in /in/dZ7ll on line 14
get_called_class
PARENT
Dad
Dad
Notice: Use of undefined constant self - assumed 'self' in /in/dZ7ll on line 11
Warning: get_class() expects parameter 1 to be object, string given in /in/dZ7ll on line 11
Notice: Use of undefined constant get_called_class - assumed 'get_called_class' in /in/dZ7ll on line 14
get_called_class
CHILD
Dad
Child
Notice: Use of undefined constant self - assumed 'self' in /in/dZ7ll on line 11
Warning: get_class() expects parameter 1 to be object, string given in /in/dZ7ll on line 11
Notice: Use of undefined constant get_called_class - assumed 'get_called_class' in /in/dZ7ll on line 14
get_called_class