3v4l.org

run code in 300+ PHP versions simultaneously
<?php $cal = IntlCalendar::fromDateTime("2013-06-06 17:05:06 Europe/Dublin"); echo "default:\n\t", IntlDateFormatter::formatObject($cal), "\n"; echo "long \$format (full):\n\t", IntlDateFormatter::formatObject($cal, IntlDateFormatter::FULL), "\n"; echo "array \$format (none, full):\n\t", IntlDateFormatter::formatObject($cal, array( IntlDateFormatter::NONE, IntlDateFormatter::FULL)), "\n"; echo "string \$format (d 'of' MMMM y):\n\t", IntlDateFormatter::formatObject($cal, "d 'of' MMMM y", 'en_US'), "\n"; echo "with DateTime:\n\t", IntlDateFormatter::formatObject( new DateTime("2013-09-09 09:09:09 Europe/Madrid"), IntlDateFormatter::FULL, 'es_ES'), "\n";
Output for git.master, git.master_jit, rfc.property-hooks
default: Jun 6, 2013, 5:05:06 PM long $format (full): Thursday, June 6, 2013 at 5:05:06 PM Irish Standard Time array $format (none, full): 5:05:06 PM Irish Standard Time string $format (d 'of' MMMM y): 6 of June 2013 with DateTime: lunes, 9 de septiembre de 2013, 9:09:09 (hora de verano de Europa central)

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:
43.02 ms | 402 KiB | 8 Q