3v4l.org

run code in 300+ PHP versions simultaneously
<?php $date = mktime(0, 0, 0, 1, 1, 2000); // MMMM is the month name when used in date strings $mmmm = new IntlDateFormatter("ru_RU.UTF-8", IntlDateFormatter::FULL, IntlDateFormatter::FULL, null, null, "MMMM"); echo "MMMM = ", $mmmm->format($date), "\n"; // LLLL is the "stand alone" month name when used by itself $llll = new IntlDateFormatter("ru_RU.UTF-8", IntlDateFormatter::FULL, IntlDateFormatter::FULL, null, null, "LLLL"); echo "LLLL = ", $llll->format($date); // use mb_convert_case to uppercase the first letter echo " or ", mb_convert_case($llll->format($date), MB_CASE_TITLE);
Output for git.master, git.master_jit, rfc.property-hooks
MMMM = января LLLL = январь or Январь

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:
30.07 ms | 405 KiB | 5 Q