3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = DateTime::createFromFormat('+Y_M_D_H_i_s', 'lhma_2014_02_01_12_22_30'); $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(5) ["errors"]=> array(4) { [0]=> string(22) "Unexpected data found." [10]=> string(35) "The format separator does not match" [11]=> string(32) "A textual day could not be found" [24]=> 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:
44.3 ms | 402 KiB | 8 Q