3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = new \DateTime('2015-01-26 14:55:30'); var_dump(\DateTime::createFromFormat('c', $date->format('c')), DateTime::getLastErrors());
Output for git.master, git.master_jit, rfc.property-hooks
bool(false) array(4) { ["warning_count"]=> int(0) ["warnings"]=> array(0) { } ["error_count"]=> int(2) ["errors"]=> array(2) { [0]=> string(35) "The format separator does not match" [1]=> string(13) "Trailing data" } }

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:
44.64 ms | 406 KiB | 5 Q