3v4l.org

run code in 300+ PHP versions simultaneously
<?php $paymentdate = "Sat May 16 2015 07:55:49 GMT+0400 (GMT Daylight Time)"; $start = stripos($paymentdate, "gmt"); echo $start . "\n"; $paystr = substr($paymentdate, 0, $start); echo $paystr . "\n"; $paystr1 = substr($paymentdate, $start); echo $paystr1 . "\n"; $paytime = strtotime($paystr); echo $paytime . "\n"; $mdate = date('Y-m-d h:i:s', $paytime); echo $mdate . "\n";
Output for git.master, git.master_jit, rfc.property-hooks
25 Sat May 16 2015 07:55:49 GMT+0400 (GMT Daylight Time) 1431755749 2015-05-16 07:55:49

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