3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand() >> rand();
Output for 4.3.0, 4.3.2, 4.3.4, 4.3.6, 4.3.8, 4.4.0, 4.4.4 - 4.4.7, 5.0.3 - 5.0.5, 5.1.3 - 5.2.1, 5.2.3, 5.2.5, 5.2.7, 5.2.10 - 5.2.13, 5.2.16 - 5.3.7, 5.3.10 - 5.3.11, 5.3.13, 5.3.19 - 5.3.20, 5.3.23, 5.3.25 - 5.3.28, 5.4.0, 5.4.2 - 5.4.4, 5.4.6, 5.4.13, 5.4.15, 5.4.17, 5.4.21, 5.4.25 - 5.4.28, 5.4.31, 5.4.34, 5.4.36, 5.4.40, 5.4.42 - 5.4.43, 5.5.0 - 5.5.1, 5.5.4 - 5.5.8, 5.5.10 - 5.5.12, 5.5.16, 5.5.19, 5.5.21, 5.5.23 - 5.5.28, 5.5.32 - 5.5.35, 5.6.3 - 5.6.4, 5.6.6 - 5.6.7, 5.6.9 - 5.6.10, 5.6.13, 5.6.20, hhvm-3.10.0, 7.0.0 - 7.1.0
0
Output for hhvm-3.12.0
290568
Output for 5.6.28
1873
Output for 5.6.22
819863
Output for 5.6.21
102
Output for 5.6.19
196781772
Output for 5.6.18
61291
Output for 5.6.17
401334378
Output for 5.6.16
27425421
Output for 5.6.15
475
Output for 5.6.14
190870358
Output for 5.6.12
252
Output for 5.6.11
501645364
Output for 5.6.8
24255
Output for 5.6.5
108217
Output for 5.6.2
32522
Output for 5.6.1
698
Output for 5.6.0
159
Output for 5.5.36
25068932
Output for 5.5.31
17350
Output for 5.5.30
193365321
Output for 5.5.29
58962357
Output for 5.5.22
182718
Output for 5.5.20
21
Output for 5.5.18
119
Output for 5.5.15
156976
Output for 5.5.14
894
Output for 5.5.13
43
Output for 5.5.9
43708
Output for 5.5.3
9160368
Output for 5.5.2
3633500
Output for 5.4.45
62005
Output for 5.4.44
10870
Output for 5.4.41
5350
Output for 5.4.39
22695
Output for 5.4.38
20
Output for 5.4.37
5364684
Output for 5.4.35
221597
Output for 5.4.32
265434
Output for 5.4.30
55583883
Output for 5.4.29
108
Output for 5.4.24
1208
Output for 5.4.23
1780896
Output for 5.4.22
6445
Output for 5.4.20
628687
Output for 5.4.19
25425
Output for 5.4.18
19908
Output for 5.4.16
5286
Output for 5.4.14
46087
Output for 5.4.12
48984427
Output for 5.4.11
14020
Output for 5.4.10
1003211
Output for 5.4.9
14115608
Output for 5.4.8
2983076
Output for 5.4.7
136446551
Output for 5.4.5
10090819
Output for 5.4.1
897339934
Output for 5.0.0, 5.2.14 - 5.2.15, 5.3.18, 5.3.29
1
Output for 5.3.24
225568354
Output for 5.3.22
188461240
Output for 5.3.21
837
Output for 5.3.17
143201710
Output for 5.3.16
29195839
Output for 5.3.15
926
Output for 5.3.14
3774
Output for 5.3.12
30631
Output for 5.3.9
7
Output for 5.3.8
7467
Output for 5.2.9
71142
Output for 5.2.8
365246101
Output for 5.2.6
1124
Output for 5.2.4
2012173
Output for 5.2.2
31467
Output for 5.1.2
100
Output for 5.1.1
11
Output for 5.1.0
9213802
Output for 5.0.2
357314
Output for 5.0.1
863
Output for 4.4.9
176
Output for 4.4.8
4
Output for 4.4.3
14059138
Output for 4.4.2
69975
Output for 4.4.1
1380
Output for 4.3.11
2229
Output for 4.3.10
9059
Output for 4.3.9
604
Output for 4.3.7
61309128
Output for 4.3.5
948420607
Output for 4.3.3
31
Output for 4.3.1
9720