3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $x = array( 1, 2, true, null, //will be removed '', //will be removed false, //will be removed 0, //will be removed array(), //will be removed 'finish' ); function xxx($a) { var_dump('hola'); return array_filter($a); } foreach(xxx($x) as $b) { }
based on 7sRFG
Output for 4.3.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
string(4) "hola"