3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = ['array' => 1]; var_dump(array_walk($a, 'is_array'));
Output for 5.6.30, hhvm-3.15.4 - 3.21.3, 7.0.0 - 7.3.0rc3
Warning: is_array() expects exactly 1 parameter, 2 given in /in/2JthJ on line 5 bool(true)
Output for hhvm-3.22.0
Warning: is_array() expects exactly 1 parameter, 2 given in /in/2JthJ on line -1 bool(true)