3v4l.org

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