3v4l.org

run code in 300+ PHP versions simultaneously
<?php $data = [ [ 1638849672000, 0.0025 ], [ 1638849732000, 0.0008 ], [ 1638849792000, 0 ], [ 1638849852000, 0 ] ]; $data = array_map(function($x) { return (object)[ "time" => $x[0], "value" => $x[1] ]; }, $data); print_r($data);
Output for git.master, git.master_jit, rfc.property-hooks
Array ( [0] => stdClass Object ( [time] => 1638849672000 [value] => 0.0025 ) [1] => stdClass Object ( [time] => 1638849732000 [value] => 0.0008 ) [2] => stdClass Object ( [time] => 1638849792000 [value] => 0 ) [3] => stdClass Object ( [time] => 1638849852000 [value] => 0 ) )

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