3v4l.org

run code in 300+ PHP versions simultaneously
<?php $fmt = new IntlDateFormatter( "en_US" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN ); echo "First Formatted output is ".$fmt->format(0); $fmt = new IntlDateFormatter( "de-DE" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN ); echo "Second Formatted output is ".$fmt->format(0); $fmt = new IntlDateFormatter( "en_US" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN ,"MM/dd/yyyy"); echo "First Formatted output with pattern is ".$fmt->format(0); $fmt = new IntlDateFormatter( "de-DE" ,IntlDateFormatter::FULL, IntlDateFormatter::FULL, 'America/Los_Angeles',IntlDateFormatter::GREGORIAN , "MM/dd/yyyy"); echo "Second Formatted output with pattern is ".$fmt->format(0);
Output for git.master, git.master_jit, rfc.property-hooks
First Formatted output is Wednesday, December 31, 1969 at 4:00:00 PM Pacific Standard TimeSecond Formatted output is Mittwoch, 31. Dezember 1969 um 16:00:00 Nordamerikanische Westküsten-NormalzeitFirst Formatted output with pattern is 12/31/1969Second Formatted output with pattern is 12/31/1969

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