3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class test { const BAR = 0 + self::FOO; const FOO = 0 + self::BAR; } var_dump(test::BAR);