3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php class x { const t = 'abc'; } $x = new x(); echo $x::t;
based on KI5KS
Output for 5.5.0 - 7.2.8
abc