3v4l.org

run code in 300+ PHP versions simultaneously
<?php $ar = [ new DateTime('2013-02-27T19:35:32Z'), new DateTime('2013-02-25T19:35:32Z'), ]; sort($ar); var_dump($ar);
Output for git.master, git.master_jit, rfc.property-hooks
array(2) { [0]=> object(DateTime)#2 (3) { ["date"]=> string(26) "2013-02-25 19:35:32.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(1) "Z" } [1]=> object(DateTime)#1 (3) { ["date"]=> string(26) "2013-02-27 19:35:32.000000" ["timezone_type"]=> int(2) ["timezone"]=> string(1) "Z" } }

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:
49.06 ms | 402 KiB | 8 Q