3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class C { const A = '10'; const B = '20' + self::A + array(); } var_dump(C::B);
Output for 5.3.0 - 5.4.31
Parse error: syntax error, unexpected '+', expecting ',' or ';' in /in/2gFWD on line 5
Process exited with code 255.