Deprecated: Creation of dynamic property foo::$a is deprecated in /in/AA3TB on line 5
Deprecated: Creation of dynamic property foo::$b is deprecated in /in/AA3TB on line 6
Deprecated: Creation of dynamic property foo::$val is deprecated in /in/AA3TB on line 7
hello
hi
howdy
howdy
Warning: Undefined variable $a in /in/AA3TB on line 26
Output for 8.0.0 - 8.0.30, 8.1.0 - 8.1.28
hello
hi
howdy
howdy
Warning: Undefined variable $a in /in/AA3TB on line 26