3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo(strtotime('-12 months').'\n'); echo(strtotime('now -12 months').'\n'); echo(strtotime('now').'\n'); echo(strtotime(null).'\n');
Output for git.master, git.master_jit, rfc.property-hooks
1369228793\n1369228793\n1400764793\n Deprecated: strtotime(): Passing null to parameter #1 ($datetime) of type string is deprecated in /in/44T9s on line 5 \n

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.47 ms | 401 KiB | 8 Q