3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dob = DateTimeImmutable::createFromFormat(DateTimeImmutable::ATOM, '1971-07-08T00:00:00+02:00'); echo $dob->format(DateTimeImmutable::ATOM); echo PHP_EOL; echo $dob->format('d.m.Y.'); var_dump(DateTimeImmutable::createFromFormat(DateTimeImmutable::ATOM, null));
Output for git.master, git.master_jit, rfc.property-hooks
1971-07-08T00:00:00+02:00 08.07.1971. Deprecated: DateTimeImmutable::createFromFormat(): Passing null to parameter #2 ($datetime) of type string is deprecated in /in/sfDDW on line 10 bool(false)

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