3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php date_default_timezone_set("Asia/Calcutta"); echo $userid=rand(1, 150000);
Output for 7.1.0
82355
Output for 7.0.14
49639
Output for 7.0.6
131716
Output for 7.0.5
37507
Output for 7.0.4
37672
Output for 7.0.3
61397
Output for 7.0.2
111772
Output for 7.0.1
34026
Output for 7.0.0
99457
Output for hhvm-3.12.0
3938
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.21
7315
Output for 5.6.20
14926
Output for 5.6.19
67586
Output for 5.6.18
38187
Output for 5.6.17
106157
Output for 5.6.16
114757
Output for 5.6.15
139146
Output for 5.6.14
52034
Output for 5.6.13
120081
Output for 5.6.12
40471
Output for 5.6.11
74704
Output for 5.6.10
41870
Output for 5.6.9
131410
Output for 5.6.8
126225
Output for 5.6.7
75726
Output for 5.5.35
51171
Output for 5.5.34
55670
Output for 5.5.33
78939
Output for 5.5.32
101086
Output for 5.5.31
44145
Output for 5.5.30
38075
Output for 5.5.29
124529
Output for 5.5.28
22382
Output for 5.5.27
39025
Output for 5.5.26
65182
Output for 5.5.25
86478
Output for 5.5.24
92670
Output for 5.4.45
99208
Output for 5.4.44
136515
Output for 5.4.43
128370
Output for 5.4.42
128643
Output for 5.4.41
136945
Output for 5.4.40
129332
Output for 5.4.39
16605
Output for 5.4.38
91279
Output for 5.4.37
9202
Output for 5.4.36
142158
Output for 5.4.35
56387
Output for 5.4.34
104884
Output for 5.4.32
51928
Output for 5.4.31
8145
Output for 5.4.30
99038
Output for 5.4.29
131217
Output for 5.4.28
107969
Output for 5.4.27
32037
Output for 5.4.26
81683
Output for 5.4.25
107251
Output for 5.4.24
139238
Output for 5.4.23
94581
Output for 5.4.22
88842
Output for 5.4.21
80126
Output for 5.4.20
60286
Output for 5.4.19
66084
Output for 5.4.18
128377
Output for 5.4.17
81863
Output for 5.4.16
5663
Output for 5.4.15
57021
Output for 5.4.14
8102
Output for 5.4.13
22986
Output for 5.4.12
35534
Output for 5.4.11
9929
Output for 5.4.10
113541
Output for 5.4.9
34673
Output for 5.4.8
83990
Output for 5.4.7
144042
Output for 5.4.6
2052
Output for 5.4.5
145102
Output for 5.4.4
96123
Output for 5.4.3
86542
Output for 5.4.2
8897
Output for 5.4.1
130776
Output for 5.4.0
18508
Output for 5.3.29
29152
Output for 5.3.28
123358
Output for 5.3.27
29490
Output for 5.3.26
10771
Output for 5.3.25
76654
Output for 5.3.24
30062
Output for 5.3.23
111465
Output for 5.3.22
47169
Output for 5.3.21
23018
Output for 5.3.20
121252
Output for 5.3.19
47658
Output for 5.3.18
14236
Output for 5.3.17
125600
Output for 5.3.16
119026
Output for 5.3.15
83000
Output for 5.3.14
140744
Output for 5.3.13
53777
Output for 5.3.12
45219
Output for 5.3.11
140846
Output for 5.3.10
100939
Output for 5.3.9
33367
Output for 5.3.8
86789
Output for 5.3.7
79805
Output for 5.3.6
44839
Output for 5.3.5
66024
Output for 5.3.4
95265
Output for 5.3.3
98577
Output for 5.3.2
108545
Output for 5.3.1
48713
Output for 5.3.0
133885
Output for 5.2.17
148687
Output for 5.2.16
17078
Output for 5.2.15
37077
Output for 5.2.14
31457
Output for 5.2.13
69277
Output for 5.2.12
27680
Output for 5.2.11
47904
Output for 5.2.10
108296
Output for 5.2.9
11031
Output for 5.2.8
102023
Output for 5.2.7
140772
Output for 5.2.6
90665
Output for 5.2.5
83879
Output for 5.2.4
61634
Output for 5.2.3
116994
Output for 5.2.2
24292
Output for 5.2.1
54977
Output for 5.2.0
97638
Output for 5.1.6
44727
Output for 5.1.5
3089
Output for 5.1.4
11530
Output for 5.1.3
52714
Output for 5.1.2
59064
Output for 5.1.1
34523
Output for 5.1.0
121915
Output for 5.0.0 - 5.0.5
Fatal error: Call to undefined function date_default_timezone_set() in /in/srW9K on line 2
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/srW9K on line 2
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/srW9K on line 2
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/srW9K on line 2