3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class Foo { const BAR = 42; } $x = new Foo; var_dump( $x::BAR );