3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php phpinfo();exit; $array = array(1,2,3); //$default = []; $test = $array?:$default; var_dump($test); ?>
Output for 5.3.0 - 7.1.0
Warning: phpinfo() has been disabled for security reasons in /in/bFvF6 on line 2