3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = '20150915110643.0Z'; $dt = DateTime::createFromFormat('Ymdgia*', $date); var_dump(DateTime::getLastErrors()); //echo $dt->format(DateTime::RFC822);
Output for git.master, git.master_jit, rfc.property-hooks
array(4) { ["warning_count"]=> int(0) ["warnings"]=> array(0) { } ["error_count"]=> int(2) ["errors"]=> array(2) { [12]=> string(29) "A meridian could not be found" [17]=> 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:
53.23 ms | 401 KiB | 8 Q