3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function up($text) { echo strtoupper($text); } $array = array("hi", "bye", "how", "bY", array("test", "trial", array("hover"))); array_walk_recursive($array, 'up'); ?>
based on 7UnsY
Output for 5.0.0 - 7.2.0
HIBYEHOWBYTESTTRIALHOVER
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_walk_recursive() in /in/vE1sQ on line 6
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_walk_recursive() in /in/vE1sQ on line 6
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_walk_recursive() in /in/vE1sQ on line 6