3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?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 5.5.24, 5.6.10, 5.6.15, 5.6.18 - 5.6.19, 5.6.21 - 5.6.28, 7.0.12 - 7.1.0
Monday in Finnish is Monday, in French Monday and in German Monday.
Output for 5.5.26, 5.5.33, 5.6.12, 7.0.2, 7.0.6
Tuesday in Finnish is Tuesday, in French Tuesday and in German Tuesday.
Output for 5.5.29, 5.6.11, 5.6.17, 5.6.20, 7.0.0, 7.0.5
Saturday in Finnish is Saturday, in French Saturday and in German Saturday.
Output for 4.3.0 - 5.4.45, 5.5.25, 5.5.27, 5.5.30, 7.0.4
Thursday in Finnish is Thursday, in French Thursday and in German Thursday.
Output for 5.6.8, 5.6.13 - 5.6.14, 7.0.3
Friday in Finnish is Friday, in French Friday and in German Friday.
Output for 5.5.28, 5.5.32, 5.6.7, 5.6.9, 7.0.1
Wednesday in Finnish is Wednesday, in French Wednesday and in German Wednesday.
Output for 5.5.31, 5.5.34 - 5.5.35, 5.6.16
Sunday in Finnish is Sunday, in French Sunday and in German Sunday.