Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; class1 has a deprecated constructor in /in/Y2KOX on line 2
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; class4_working has a deprecated constructor in /in/Y2KOX on line 14
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; class4_notworking has a deprecated constructor in /in/Y2KOX on line 20
Fatal error: Uncaught Error: Call to undefined method class3::class2() in /in/Y2KOX:22
Stack trace:
#0 /in/Y2KOX(29): class4_notworking->class4_notworking()
#1 {main}
thrown in /in/Y2KOX on line 22
working
Constuctor of class1
notworking
Process exited with code 255.
Output for 7.3.32 - 7.3.33
Fatal error: Uncaught Error: Call to undefined method class3::class2() in /in/Y2KOX:22
Stack trace:
#0 /in/Y2KOX(29): class4_notworking->class4_notworking()
#1 {main}
thrown in /in/Y2KOX on line 22
working
Constuctor of class1
notworking
Process exited with code 255.