3v4l.org

run code in 300+ PHP versions simultaneously
<?php $tests = array( '2012-12-04', '12/04/2012', '12/13/2012', '13/12/2012', '04/12/2012' ); foreach($tests as $test){ $ts = strtotime($test); echo "$test : $ts : ".date('Y-m-d', $ts)." \n"; }
Output for git.master, git.master_jit, rfc.property-hooks
2012-12-04 : 1354575600 : 2012-12-04 12/04/2012 : 1354575600 : 2012-12-04 12/13/2012 : 1355353200 : 2012-12-13 13/12/2012 : : 1970-01-01 04/12/2012 : 1334181600 : 2012-04-12

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:
37.51 ms | 401 KiB | 8 Q