3v4l.org

run code in 300+ PHP versions simultaneously
<?php $multidim_array = [['101' => "found: %s\n", ['bubblegum' => "found: %s\n", [['123-45-6789' => "found: %s\n"]]]]]; $func = 'printf'; if (function_exists($func)) { array_walk_recursive($multidim_array, $func); } else { echo "um... I'm not calling $func"; }
Output for git.master_jit, git.master, rfc.property-hooks
found: 101 found: bubblegum found: 123-45-6789

This tab shows result from various feature-branches currently under review by the php developers. Contact me to have additional branches featured.

Active branches

Archived branches

Once feature-branches are merged or declined, they are no longer available. Their functionality (when merged) can be viewed from the main output page


preferences:
176.67 ms | 405 KiB | 5 Q