3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php if($a = array()){ var_dump($a); }
based on soWdk
Output for 4.3.0 - 5.4.37, 5.4.39 - 7.1.0
Output for 5.4.38

Process exited with code 137.