3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { const POW = pow(1024, 2); } echo Foo::POW;
Output for 5.3.0 - 5.4.24
Parse error: syntax error, unexpected '(', expecting ',' or ';' in /in/a0Dcf on line 5
Process exited with code 255.