3v4l.org

run code in 300+ PHP versions simultaneously
<?php $numbers = array(0.49882,0.20510,0.50669,0.20337,0.45878,0.08703,0.43491,0.74491,0.26344,0.37994); array_walk($numbers, function (&$el) { $el = round($el, 2); }); var_dump($numbers);
Output for git.master, git.master_jit, rfc.property-hooks
array(10) { [0]=> float(0.5) [1]=> float(0.21) [2]=> float(0.51) [3]=> float(0.2) [4]=> float(0.46) [5]=> float(0.09) [6]=> float(0.43) [7]=> float(0.74) [8]=> float(0.26) [9]=> float(0.38) }

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:
78.03 ms | 406 KiB | 5 Q