3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = date_parse_from_format('Y-m-d G:i', '2017-02-30 00:00'); var_dump($dt);
Output for git.master, git.master_jit, rfc.property-hooks
array(12) { ["year"]=> int(2017) ["month"]=> int(2) ["day"]=> int(30) ["hour"]=> int(0) ["minute"]=> int(0) ["second"]=> int(0) ["fraction"]=> float(0) ["warning_count"]=> int(1) ["warnings"]=> array(1) { [16]=> string(27) "The parsed date was invalid" } ["error_count"]=> int(0) ["errors"]=> array(0) { } ["is_localtime"]=> bool(false) }

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