3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?phpconst C1 = 1[0];const C2 = __FILE__[0];const C3 = <<<'A'BA[0];var_dump(C1, C2, C3);
Output for 5.3.0 - 5.4.32
<?phpconst C1 = 1[0];const C2 = __FILE__[0];const C3 = <<<'A'BA[0];var_dump(C1, C2, C3);