3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dates = array('0'=>'20-05-2015','1'=>'02-01-2015','2'=>'30-03-2015','3'=>'10-01-1990'); echo "Latest Date: ". max($dates)."\n"; // should be 20th of May 2015, but it isn't. echo "Earliest Date: ". min($dates)."\n"; // should be 10th of Jan 1990, but it isn't.
Output for git.master, git.master_jit, rfc.property-hooks
Latest Date: 30-03-2015 Earliest Date: 02-01-2015

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