3v4l.org

run code in 300+ PHP versions simultaneously
<?php function up(&$text) { $text = strtoupper($text); } $array = array("hi", "bye", "how", "bY", array("test", "trial", array("hover"))); array_walk_recursive($array, 'up'); print_r($array); ?>
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => HI [1] => BYE [2] => HOW [3] => BY [4] => Array ( [0] => TEST [1] => TRIAL [2] => Array ( [0] => HOVER ) ) )

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:
50.81 ms | 401 KiB | 8 Q