3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = DateTime::createFromFormat('Y_M_D_H_i_s', '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(4) ["errors"]=> array(3) { [5]=> string(35) "The format separator does not match" [6]=> string(32) "A textual day could not be found" [19]=> 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:
46.07 ms | 402 KiB | 8 Q