Fatal error: Uncaught Error: Cannot access protected property Child1::$var in /in/K6cMk:17
Stack trace:
#0 /in/K6cMk(24): Child2->output(Object(Child1))
#1 {main}
thrown in /in/K6cMk on line 17
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.40
Fatal error: Cannot access protected property Child1::$var in /in/K6cMk on line 17
Process exited with code 255.