3v4l.org

run code in 300+ PHP versions simultaneously
<?php date_default_timezone_set("Asia/Irkutsk"); setlocale(LC_TIME, "ru_RU.UTF-8", "ru_RU", "ru"); $time = mktime(12, 34, 56, 12, 31, 2014); $formatter = new IntlDateFormatter("ru", IntlDateFormatter::FULL, IntlDateFormatter::FULL, null, null, "dd MMMM YYYY, HH:mm:ss"); echo INTL_ICU_VERSION, "\n"; echo "ICU: ", $formatter->format($time), "\n"; echo "PHP: ", date("j F Y, H:i:s", $time), "\n"; echo "str: ", strftime("%d %B %Y, %T",$time), "\n";
Output for git.master, git.master_jit, rfc.property-hooks
57.1 ICU: 31 декабря 2015, 12:34:56 PHP: 31 December 2014, 12:34:56 str: Deprecated: Function strftime() is deprecated in /in/pMi52 on line 10 31 декабря 2014, 12:34:56

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:
61.98 ms | 401 KiB | 8 Q