3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class A{ public $foo = 'abc' . 'baz'; } $x = new A;
Output for 5.6.8 - 7.3.0rc4
Output for 5.3.20 - 5.5.35
Parse error: syntax error, unexpected '.', expecting ',' or ';' in /in/kthgh on line 4
Process exited with code 255.