3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(array_walk($undefined, 'var_dump'));
Output for 5.3.0 - 5.6.30, 7.0.0 - 7.3.0rc3
Warning: array_walk() expects parameter 1 to be array, null given in /in/eDFnn on line 2 NULL
Output for hhvm-3.10.1 - 3.17.3
Warning: Invalid operand type was used: array_walk expects array(s) in /in/eDFnn on line 2 bool(false)
Output for 4.3.2 - 5.2.17
Warning: array_walk(): The argument should be an array in /in/eDFnn on line 2 bool(false)
Output for 4.3.0 - 4.3.1
Warning: array_walk() [http://www.php.net/function.array-walk]: The argument should be an array in /in/eDFnn on line 2 bool(false)