3v4l.org

run code in 300+ PHP versions simultaneously
<?php $dt = "Feb 21 2013, 03:40 PM"; $parsed=date_parse_from_format("M j Y, h:i A",$dt); var_dump($parsed);
Output for git.master, git.master_jit, rfc.property-hooks
array(12) { ["year"]=> int(2013) ["month"]=> int(2) ["day"]=> int(21) ["hour"]=> int(15) ["minute"]=> int(40) ["second"]=> int(0) ["fraction"]=> float(0) ["warning_count"]=> int(0) ["warnings"]=> array(0) { } ["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:
78.14 ms | 401 KiB | 8 Q