3v4l.org

run code in 300+ PHP versions simultaneously
<?php setlocale(LC_TIME, "C"); echo strftime("%A"); setlocale(LC_TIME, "fi_FI"); echo strftime(" in Finnish is %A,"); setlocale(LC_TIME, "fr_FR"); echo strftime(" in French %A and"); setlocale(LC_TIME, "de_DE"); echo strftime(" in German %A.\n"); ?>
Output for 8.4.1 - 8.4.2
Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in /in/eDI7q on line 3 Sunday Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in /in/eDI7q on line 5 in Finnish is sunnuntai, Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in /in/eDI7q on line 7 in French dimanche and Deprecated: Function strftime() is deprecated since 8.1, use IntlDateFormatter::format() instead in /in/eDI7q on line 9 in German Sonntag.
Output for 8.1.0 - 8.1.31, 8.2.0 - 8.2.26, 8.3.0 - 8.3.15
Deprecated: Function strftime() is deprecated in /in/eDI7q on line 3 Sunday Deprecated: Function strftime() is deprecated in /in/eDI7q on line 5 in Finnish is sunnuntai, Deprecated: Function strftime() is deprecated in /in/eDI7q on line 7 in French dimanche and Deprecated: Function strftime() is deprecated in /in/eDI7q on line 9 in German Sonntag.
Output for 5.3.0 - 5.3.29, 5.4.0 - 5.4.45, 5.5.0 - 5.5.38, 5.6.0 - 5.6.40, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30
Sunday in Finnish is sunnuntai, in French dimanche and in German Sonntag.

preferences:
98.83 ms | 411 KiB | 5 Q