3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dates = ['20-05-2015', '02-01-2015', '30-03-2015', '10-01-1990']; array_multisort(array_map('strtotime', $dates), $dates); printf( "Latest Date: %s\nEarliest Date: %s", $dates[array_key_last($dates)], $dates[0] );
Output for git.master, git.master_jit, rfc.property-hooks
Latest Date: 20-05-2015 Earliest Date: 10-01-1990

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:
115.49 ms | 405 KiB | 5 Q