3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(\DateTime::createFromFormat('d/m/Y', null)); var_dump(strtotime('2018-12-31 +3 month')); $date = new DateTime('@1537622532'); echo $date->format('Y-m-d H:i:sP') . "\n";
Output for git.master, git.master_jit, rfc.property-hooks
Deprecated: DateTime::createFromFormat(): Passing null to parameter #2 ($datetime) of type string is deprecated in /in/n5fnA on line 3 bool(false) int(1553986800) 2018-09-22 13:22:12+00:00

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