3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = array( false, 'sdfasas', '0000-00-00', '0000-00-00 00:00:00', '1231231', '2013-03-02 02:03:03', '2014-04-21', ); foreach($time as $s) { $iStartTime = ((strtotime($s) >= 0) ? strtotime($s) : 0); var_dump($iStartTime); }
Output for git.master, git.master_jit, rfc.property-hooks
bool(false) bool(false) int(0) int(0) int(0) int(1362186183) int(1398031200)

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