3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand();
Output for 7.1.0
537327719
Output for 7.0.14
1324433901
Output for 7.0.13
378252885
Output for 7.0.12
1595618197
Output for 7.0.11
1087129169
Output for 7.0.10
377113530
Output for 7.0.9
316306671
Output for 7.0.8
272948324
Output for 7.0.7
1608358006
Output for 7.0.6
41876231
Output for 7.0.5
1875198682
Output for 7.0.4
1974583537
Output for 7.0.3
508404860
Output for 7.0.2
98253508
Output for 7.0.1
1343073297
Output for 7.0.0
515465949
Output for hhvm-3.13.2
123625563
Output for hhvm-3.12.0
951359997
Output for hhvm-3.10.0
489965772
Output for 5.6.29
327970962
Output for 5.6.28
1556687866
Output for 5.6.27
590377580
Output for 5.6.26
1165175816
Output for 5.6.25
1075611298
Output for 5.6.24
292069280
Output for 5.6.23
826753195
Output for 5.6.22
1196810865
Output for 5.6.21
40122291
Output for 5.6.20
637262717
Output for 5.6.19
293821708
Output for 5.6.18
1806367462
Output for 5.6.17
1670554360
Output for 5.6.16
212966253
Output for 5.6.15
1452234427
Output for 5.6.14
360642002
Output for 5.6.13
1707258275
Output for 5.6.12
48880220
Output for 5.6.11
992085684
Output for 5.6.10
1519677145
Output for 5.6.9
356773243
Output for 5.6.8
1002535406
Output for 5.6.7
1176884528
Output for 5.6.6
316646627
Output for 5.6.5
712829619
Output for 5.6.4
836002896
Output for 5.6.3
1131756906
Output for 5.6.2
376685496
Output for 5.6.1
906646740
Output for 5.6.0
235816527
Output for 5.5.38
514579458
Output for 5.5.37
1055910949
Output for 5.5.36
705931063
Output for 5.5.35
1568293429
Output for 5.5.34
960980569
Output for 5.5.33
670574648
Output for 5.5.32
139360822
Output for 5.5.31
1924279768
Output for 5.5.30
623581406
Output for 5.5.29
1911910139
Output for 5.5.28
2043607600
Output for 5.5.27
1082690077
Output for 5.5.26
862631181
Output for 5.5.25
1805643467
Output for 5.5.24
34888774
Output for 5.5.23
1153087623
Output for 5.5.22
427576245
Output for 5.5.21
1950241851
Output for 5.5.20
1667639583
Output for 5.5.19
277157846
Output for 5.5.18
779809281
Output for 5.5.16
1573420105
Output for 5.5.15
1321156265
Output for 5.5.14
178120427
Output for 5.5.13
1987854946
Output for 5.5.12
1595952699
Output for 5.5.11
1770333531
Output for 5.5.10
1231043466
Output for 5.5.9
1022794297
Output for 5.5.8
1767172039
Output for 5.5.7
397578130
Output for 5.5.6
1160359476
Output for 5.5.5
58768864
Output for 5.5.4
1352621347
Output for 5.5.3
971864348
Output for 5.5.2
10914799
Output for 5.5.1
1486271835
Output for 5.5.0
1291007120
Output for 5.4.45
1146625936
Output for 5.4.44
1104517184
Output for 5.4.43
1687656296
Output for 5.4.42
1296425557
Output for 5.4.41
408755501
Output for 5.4.40
730451117
Output for 5.4.39
1387881535
Output for 5.4.38
335130986
Output for 5.4.37
920677395
Output for 5.4.36
1042504797
Output for 5.4.35
776004363
Output for 5.4.34
225544275
Output for 5.4.32
1239522636
Output for 5.4.31
613354144
Output for 5.4.30
1932890097
Output for 5.4.29
1751913924
Output for 5.4.28
994523161
Output for 5.4.27
818541530
Output for 5.4.26
1977493410
Output for 5.4.25
2115182861
Output for 5.4.24
1896443468
Output for 5.4.23
808732261
Output for 5.4.22
1356392001
Output for 5.4.21
174616752
Output for 5.4.20
1001035102
Output for 5.4.19
950176830
Output for 5.4.18
1236706709
Output for 5.4.17
1323823377
Output for 5.4.16
565729941
Output for 5.4.15
288117175
Output for 5.4.14
462725167
Output for 5.4.13
925313855
Output for 5.4.12
287329460
Output for 5.4.11
556102770
Output for 5.4.10
1745028899
Output for 5.4.9
461705836
Output for 5.4.8
679955211
Output for 5.4.7
1866236254
Output for 5.4.6
949187861
Output for 5.4.5
627501690
Output for 5.4.4
1955627218
Output for 5.4.3
142478347
Output for 5.4.2
1527336425
Output for 5.4.1
2039209311
Output for 5.4.0
1918660961
Output for 5.3.29
1618662742
Output for 5.3.28
170677329
Output for 5.3.27
1995996016
Output for 5.3.26
521112424
Output for 5.3.25
1824157877
Output for 5.3.24
759411575
Output for 5.3.23
1754095354
Output for 5.3.22
2044682934
Output for 5.3.21
626193112
Output for 5.3.20
1858081047
Output for 5.3.19
306607855
Output for 5.3.18
125232546
Output for 5.3.17
1143201484
Output for 5.3.16
600782037
Output for 5.3.15
1741255
Output for 5.3.14
1512378798
Output for 5.3.13
544932465
Output for 5.3.12
1277953550
Output for 5.3.11
1954493945
Output for 5.3.10
142816580
Output for 5.3.9
1085675641
Output for 5.3.8
1181431284
Output for 5.3.7
1624827065
Output for 5.3.6
97475881
Output for 5.3.5
1598087753
Output for 5.3.4
1650735446
Output for 5.3.3
1553509221
Output for 5.3.2
199049597
Output for 5.3.1
955439113
Output for 5.3.0
1929367127
Output for 5.2.17
2375915
Output for 5.2.16
1717486550
Output for 5.2.15
759908645
Output for 5.2.14
1517718820
Output for 5.2.13
431866070
Output for 5.2.12
390486543
Output for 5.2.11
1950453669
Output for 5.2.10
734870243
Output for 5.2.9
1382155875
Output for 5.2.8
921742701
Output for 5.2.7
1104809101
Output for 5.2.6
369741984
Output for 5.2.5
1552451789
Output for 5.2.4
203524487
Output for 5.2.3
1597285505
Output for 5.2.2
839642911
Output for 5.2.1
232154541
Output for 5.2.0
1624702158
Output for 5.1.6
854486301
Output for 5.1.5
49115076
Output for 5.1.4
995192998
Output for 5.1.3
713233032
Output for 5.1.2
1695941536
Output for 5.1.1
1839551032
Output for 5.1.0
650895863
Output for 5.0.5
329326804
Output for 5.0.4
1332036965
Output for 5.0.3
1236952419
Output for 5.0.2
1599520520
Output for 5.0.1
1540225407
Output for 5.0.0
1075834706
Output for 4.4.9
1088793868
Output for 4.4.8
730081160
Output for 4.4.7
1241047766
Output for 4.4.6
23362610
Output for 4.4.5
1157490792
Output for 4.4.4
918874568
Output for 4.4.3
1195279708
Output for 4.4.2
336820624
Output for 4.4.1
514620751
Output for 4.4.0
1877245178
Output for 4.3.11
1518270010
Output for 4.3.10
986845912
Output for 4.3.9
751247100
Output for 4.3.8
1761982946
Output for 4.3.7
1774962368
Output for 4.3.6
846598418
Output for 4.3.5
874283964
Output for 4.3.4
1441516317
Output for 4.3.3
1856001626
Output for 4.3.2
1667839226
Output for 4.3.1
51459107
Output for 4.3.0
408358565