3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = DateTime::createFromFormat('D M m Y H:i:s T +', '2014-05-16T10:03:37+02:00'); $errors = date_get_last_errors(); var_dump($date, $errors);
Output for git.master, git.master_jit, rfc.property-hooks
bool(false) array(4) { ["warning_count"]=> int(0) ["warnings"]=> array(0) { } ["error_count"]=> int(6) ["errors"]=> array(5) { [0]=> string(32) "A textual day could not be found" [4]=> string(22) "Unexpected data found." [7]=> string(22) "Unexpected data found." [10]=> string(22) "Unexpected data found." [25]=> string(43) "Not enough data available to satisfy format" } }

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.49 ms | 402 KiB | 8 Q