Deprecated: Creation of dynamic property foo::$a is deprecated in /in/ZJBSZ on line 5
Deprecated: Creation of dynamic property foo::$b is deprecated in /in/ZJBSZ on line 6
Deprecated: Creation of dynamic property foo::$val is deprecated in /in/ZJBSZ on line 7
Fatal error: Uncaught Error: Undefined constant "a" in /in/ZJBSZ:9
Stack trace:
#0 /in/ZJBSZ(26): foo->__construct()
#1 {main}
thrown in /in/ZJBSZ on line 9
Process exited with code 255.
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
Fatal error: Uncaught Error: Undefined constant "a" in /in/ZJBSZ:9
Stack trace:
#0 /in/ZJBSZ(26): foo->__construct()
#1 {main}
thrown in /in/ZJBSZ on line 9
Process exited with code 255.