3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = array(10, 20, 30, array("lorem", "ipsum", "dolor", array(42, 37), "sit"), 40, 50); array_unshift($data, -10); $data[] = 60; unset($data[3][1]); function p($v) { echo $v; } array_walk_recursive($data, 'p');
Output for 5.0.0 - 7.2.0
-10102030loremipsumdolor4237sit405060
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_walk_recursive() in /in/2tFZb on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_walk_recursive() in /in/2tFZb on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_walk_recursive() in /in/2tFZb on line 9