3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php define("TROLOLO", 1337); function foo($x = array(TROLOLO,0)) { var_dump($x); } foo();
based on 8BZHC
Output for 4.3.0 - 7.1.0
array(2) { [0]=> int(1337) [1]=> int(0) }