3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php define('BAR', 'Hello World'); class Foo { function __construct() { echo BAR; } }
Output for 4.3.0 - 7.1.7