3v4l.org

run code in 300+ PHP versions simultaneously
<?php $datas = array( '10:00:00 - 11:00:00', '11:00:00 - 12:00:00', '12:00:00 - 13:00:00', '13:00:00 - 14:00:00', '8:00:00 - 9:00:00', '9:00:00 - 10:00:00', ); var_dump($datas); natsort($datas); var_dump($datas);
Output for git.master, git.master_jit, rfc.property-hooks
array(6) { [0]=> string(19) "10:00:00 - 11:00:00" [1]=> string(19) "11:00:00 - 12:00:00" [2]=> string(19) "12:00:00 - 13:00:00" [3]=> string(19) "13:00:00 - 14:00:00" [4]=> string(17) "8:00:00 - 9:00:00" [5]=> string(18) "9:00:00 - 10:00:00" } array(6) { [4]=> string(17) "8:00:00 - 9:00:00" [5]=> string(18) "9:00:00 - 10:00:00" [0]=> string(19) "10:00:00 - 11:00:00" [1]=> string(19) "11:00:00 - 12:00:00" [2]=> string(19) "12:00:00 - 13:00:00" [3]=> string(19) "13:00:00 - 14:00:00" }

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