3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $digits = 5; echo rand(pow(10, $digits-1), pow(10, $digits)-1);
Output for 7.1.0
27410
Output for 7.0.14
17636
Output for 7.0.6
23936
Output for 7.0.5
91644
Output for 7.0.4
30676
Output for 7.0.3
45788
Output for 7.0.2
81060
Output for 7.0.1
68970
Output for 7.0.0
55478
Output for hhvm-3.12.0
65126
Output for hhvm-3.10.0
10179
Output for 5.6.28
86047
Output for 5.6.21
81769
Output for 5.6.20
89985
Output for 5.6.19
12095
Output for 5.6.18
76608
Output for 5.6.17
70382
Output for 5.6.16
94364
Output for 5.6.15
19757
Output for 5.6.14
25042
Output for 5.6.13
80918
Output for 5.6.12
30143
Output for 5.6.11
23230
Output for 5.6.10
87562
Output for 5.6.9
92864
Output for 5.6.8
94984
Output for 5.6.7
85732
Output for 5.5.35
15269
Output for 5.5.34
35890
Output for 5.5.33
37289
Output for 5.5.32
22532
Output for 5.4.26, 5.5.31
92137
Output for 5.5.30
57253
Output for 5.5.29
88527
Output for 5.5.28
30490
Output for 5.5.27
11308
Output for 5.5.26
34808
Output for 5.5.25
13681
Output for 5.5.24
36117
Output for 5.4.45
69727
Output for 5.4.44
39995
Output for 5.4.43
88876
Output for 5.4.42
93601
Output for 5.4.41
81863
Output for 5.4.40
20201
Output for 5.4.39
69507
Output for 5.4.38
20686
Output for 5.4.37
69637
Output for 5.4.36
16493
Output for 5.4.35
75546
Output for 5.4.34
11662
Output for 5.4.24, 5.4.32
29797
Output for 5.4.31
92189
Output for 5.4.30
52626
Output for 5.4.29
42768
Output for 5.4.28
57422
Output for 5.4.27
84478
Output for 5.4.25
47818
Output for 5.4.23
42685
Output for 5.4.22
70863
Output for 5.4.21
63356
Output for 5.4.20
33354
Output for 5.4.19
20698
Output for 5.4.18
45688
Output for 5.4.17
81397
Output for 5.4.16
70545
Output for 5.4.15
12248
Output for 5.4.14
90628
Output for 5.4.13
57532
Output for 5.4.12
77637
Output for 5.4.11
78352
Output for 5.4.10
29452
Output for 5.4.9
70552
Output for 5.4.8
66328
Output for 5.4.7
64131
Output for 5.4.6
59533
Output for 5.4.5
60106
Output for 5.4.4
63714
Output for 5.4.3
56335
Output for 5.4.2
33027
Output for 5.4.1
57603
Output for 5.4.0
63618
Output for 5.3.29
50631
Output for 5.3.28
35401
Output for 5.3.27
41953
Output for 5.3.26
76543
Output for 5.3.25
33941
Output for 5.3.24
74684
Output for 5.3.23
18784
Output for 5.3.22
42234
Output for 5.3.21
20803
Output for 5.3.20
65119
Output for 5.3.19
20379
Output for 5.3.18
43650
Output for 5.3.17
14306
Output for 5.3.16
48004
Output for 5.3.15
49598
Output for 5.3.14
10058
Output for 5.3.13
47408
Output for 5.3.12
19277
Output for 5.3.11
67532
Output for 5.3.10
60056
Output for 5.3.9
44010
Output for 5.3.8
58962
Output for 5.3.7
19128
Output for 5.3.6
69846
Output for 5.3.5
43404
Output for 5.3.4
65445
Output for 5.3.3
59279
Output for 5.3.2
98032
Output for 5.3.1
10467
Output for 5.3.0
61058
Output for 5.2.17
88011
Output for 5.2.16
98234
Output for 5.2.15
61674
Output for 5.2.14
68941
Output for 5.2.13
79475
Output for 5.2.12
18822
Output for 5.2.11
21027
Output for 5.2.10
11840
Output for 5.2.9
73834
Output for 5.2.8
68336
Output for 5.2.7
75357
Output for 5.2.6
90272
Output for 5.2.5
71061
Output for 5.2.4
44608
Output for 5.2.3
60206
Output for 5.2.2
88638
Output for 5.2.1
46534
Output for 5.2.0
55806
Output for 5.1.6
19051
Output for 5.1.5
29126
Output for 5.1.4
80911
Output for 5.1.3
61500
Output for 5.1.2
78310
Output for 5.1.1
17933
Output for 5.1.0
26882
Output for 5.0.5
13366
Output for 5.0.4
95940
Output for 5.0.3
13363
Output for 5.0.2
86162
Output for 5.0.1
72536
Output for 5.0.0
18117
Output for 4.4.9
70165
Output for 4.4.8
40716
Output for 4.4.7
38037
Output for 4.4.6
68306
Output for 4.4.5
24729
Output for 4.4.4
55217
Output for 4.4.3
63720
Output for 4.4.2
28605
Output for 4.4.1
76318
Output for 4.4.0
39277
Output for 4.3.11
18407
Output for 4.3.10
78215
Output for 4.3.9
46801
Output for 4.3.8
19330
Output for 4.3.7
65288
Output for 4.3.6
24044
Output for 4.3.5
88199
Output for 4.3.4
91311
Output for 4.3.3
27229
Output for 4.3.2
82932
Output for 4.3.1
56355
Output for 4.3.0
36394