3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php class Foo { const BAR = 1; } $a = &Foo::BAR; var_dump($a);
Output for 5.3.0 - 5.4.31
Parse error: syntax error, unexpected ';', expecting '(' in /in/2uGko on line 7
Process exited with code 255.