3v4l.org

run code in 300+ PHP versions simultaneously
<?php $time = "(utc+01:00) belgrad, bratislava, budapest, ljubljana, prag 20130114T170000"; $parse_date = date_parse($time); echo var_dump($parse_date) ."<br>"; ?>
Output for git.master, git.master_jit, rfc.property-hooks
array(16) { ["year"]=> int(2013) ["month"]=> int(1) ["day"]=> int(14) ["hour"]=> int(17) ["minute"]=> int(0) ["second"]=> int(0) ["fraction"]=> float(0) ["warning_count"]=> int(1) ["warnings"]=> array(1) { [4]=> string(29) "Double timezone specification" } ["error_count"]=> int(10) ["errors"]=> array(10) { [10]=> string(20) "Unexpected character" [12]=> string(29) "Double timezone specification" [18]=> string(29) "Double timezone specification" [21]=> string(29) "Double timezone specification" [27]=> string(29) "Double timezone specification" [33]=> string(29) "Double timezone specification" [39]=> string(29) "Double timezone specification" [43]=> string(29) "Double timezone specification" [49]=> string(29) "Double timezone specification" [54]=> string(29) "Double timezone specification" } ["is_localtime"]=> bool(true) ["zone_type"]=> int(2) ["zone"]=> int(0) ["is_dst"]=> bool(false) ["tz_abbr"]=> string(3) "UTC" } <br>

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:
40.62 ms | 403 KiB | 8 Q