3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set('Europe/Amsterdam'); setlocale(LC_ALL, 'nl_NL'); echo strftime('%l:%M %P'); setlocale(LC_ALL, 'en_EN'); echo strftime('%l:%M %P');
based on Ysf7d
Output for 5.1.0 - 5.3.28, 5.4.0 - 5.4.31, 5.6.28, 7.0.14 - 7.1.0
3:27 pm 3:27 pm
Output for 7.0.6
7:25 am 7:25 am
Output for 7.0.5
8:24 pm 8:24 pm
Output for 7.0.4
6:36 am 6:36 am
Output for 7.0.3
7:06 am 7:06 am
Output for 7.0.2
12:38 pm12:38 pm
Output for 7.0.1
5:57 pm 5:57 pm
Output for 7.0.0
7:38 pm 7:38 pm
Output for hhvm-3.12.0
4:05 pm 4:05 pm
Output for hhvm-3.10.0
5:16 am 5:16 am
Output for 5.6.21
2:43 am 2:43 am
Output for 5.6.20
4:53 pm 4:53 pm
Output for 5.6.19
8:46 am 8:46 am
Output for 5.6.18
9:32 pm 9:32 pm
Output for 5.6.17
11:25 am11:25 am
Output for 5.6.16
9:23 pm 9:23 pm
Output for 5.6.15
10:17 pm10:17 pm
Output for 5.6.14
12:43 am12:43 am
Output for 5.6.13
4:47 am 4:47 am
Output for 5.6.12
6:21 pm 6:21 pm
Output for 5.6.11
1:19 am 1:19 am
Output for 5.6.10
3:11 am 3:11 am
Output for 5.6.9
8:09 am 8:09 am
Output for 5.6.8
4:06 pm 4:06 pm
Output for 5.6.7
9:04 am 9:04 am
Output for 5.5.35
6:20 am 6:20 am
Output for 5.5.34
9:39 pm 9:39 pm
Output for 5.5.33
5:31 pm 5:31 pm
Output for 5.5.32
11:39 pm11:39 pm
Output for 5.5.31
2:13 pm 2:13 pm
Output for 5.5.30
12:18 am12:18 am
Output for 5.5.29
6:52 pm 6:52 pm
Output for 5.5.28
9:26 pm 9:26 pm
Output for 5.5.27
11:51 pm11:51 pm
Output for 5.5.26
5:37 am 5:37 am
Output for 5.5.25
11:40 am11:40 am
Output for 5.5.24
6:36 pm 6:36 pm
Output for 5.4.39 - 5.4.45
12:06 pm12:06 pm
Output for 5.4.34 - 5.4.38
1:02 pm 1:02 pm
Output for 5.3.29, 5.4.32
11:56 am11:56 am
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/FBYPZ on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: date_default_timezone_set() in /in/FBYPZ on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: date_default_timezone_set() in /in/FBYPZ on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: date_default_timezone_set() in /in/FBYPZ on line 3