3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand(); ?>
Output for 7.1.0
1333455041
Output for 7.0.14
283051551
Output for 7.0.10
582559442
Output for 7.0.9
1094542206
Output for 7.0.8
143140716
Output for 7.0.7
2079508517
Output for 7.0.6
1480410645
Output for 7.0.5
2061982693
Output for 7.0.4
2101600143
Output for 7.0.3
1591298093
Output for 7.0.2
1996407258
Output for 7.0.1
1944867103
Output for 7.0.0
2109227111
Output for 5.6.28
500761568
Output for 5.6.25
1673938920
Output for 5.6.24
874641746
Output for 5.6.23
1920425260
Output for 5.6.22
1483386876
Output for 5.6.21
2066164905
Output for 5.6.20
2122286471
Output for 5.6.19
856045014
Output for 5.6.18
162804745
Output for 5.6.17
28885694
Output for 5.6.16
1641993367
Output for 5.6.15
1233809034
Output for 5.6.14
1050668527
Output for 5.6.13
30603720
Output for 5.6.12
874986554
Output for 5.6.11
1144511731
Output for 5.6.10
2040001376
Output for 5.6.9
1057042416
Output for 5.6.8
1278456394
Output for 5.6.7
959288661
Output for 5.6.6
1966906322
Output for 5.6.5
1896504204
Output for 5.6.4
1232740123
Output for 5.6.3
1494013234
Output for 5.6.2
1088492596
Output for 5.6.1
1295186800
Output for 5.6.0
1598634543
Output for 5.5.38
1416650836
Output for 5.5.37
971712196
Output for 5.5.36
546974398
Output for 5.5.35
1325431332
Output for 5.5.34
1884879710
Output for 5.5.33
567151053
Output for 5.5.32
919113094
Output for 5.5.31
1586555209
Output for 5.5.30
1558383311
Output for 5.5.29
1676001954
Output for 5.5.28
1783942303
Output for 5.5.27
1827949006
Output for 5.5.26
1101618632
Output for 5.5.25
298558986
Output for 5.5.24
2139627242
Output for 5.5.23
231130072
Output for 5.5.22
772432614
Output for 5.5.21
387423646
Output for 5.5.20
665719105
Output for 5.5.19
556977212
Output for 5.5.18
382969861
Output for 5.5.16
261292536
Output for 5.5.15
1756790303
Output for 5.5.14
1855240644
Output for 5.5.13
1534606516
Output for 5.5.12
1692929027
Output for 5.5.11
1557430339
Output for 5.5.10
177495468
Output for 5.5.9
1152906473
Output for 5.5.8
352539349
Output for 5.5.7
507539287
Output for 5.5.6
1154785300
Output for 5.5.5
783830024
Output for 5.5.4
674321195
Output for 5.5.3
1515595975
Output for 5.5.2
1534783992
Output for 5.5.1
584636649
Output for 5.5.0
7630181
Output for 5.4.45
1513591497
Output for 5.4.44
794834194
Output for 5.4.43
245766667
Output for 5.4.42
1139142037
Output for 5.4.41
999936265
Output for 5.4.40
1002182971
Output for 5.4.39
1505600705
Output for 5.4.38
1733133192
Output for 5.4.37
695034062
Output for 5.4.36
1350536789
Output for 5.4.35
176764673
Output for 5.4.34
787794894
Output for 5.4.32
627376498
Output for 5.4.31
1382233592
Output for 5.4.30
1721092718
Output for 5.4.29
649779293
Output for 5.4.28
1624772690
Output for 5.4.27
431869793
Output for 5.4.26
1108045099
Output for 5.4.25
902817270
Output for 5.4.24
1187337312
Output for 5.4.23
605681068
Output for 5.4.22
1261467810
Output for 5.4.21
568192551
Output for 5.4.20
965103587
Output for 5.4.19
953845454
Output for 5.4.18
209489749
Output for 5.4.17
377075448
Output for 5.4.16
459476200
Output for 5.4.15
2049197672
Output for 5.4.14
1365819710
Output for 5.4.13
664519756
Output for 5.4.12
45748136
Output for 5.4.11
1776969716
Output for 5.4.10
733148765
Output for 5.4.9
2053192405
Output for 5.4.8
46559797
Output for 5.4.7
1297021461
Output for 5.4.6
2079108546
Output for 5.4.5
1096941834
Output for 5.4.4
961745865
Output for 5.4.3
1108444410
Output for 5.4.2
2134562521
Output for 5.4.1
1452801245
Output for 5.4.0
1778753251
Output for 5.3.29
776047922
Output for 5.3.28
180895035
Output for 5.3.27
1007837348
Output for 5.3.26
117807229
Output for 5.3.25
1299661244
Output for 5.3.24
1423346694
Output for 5.3.23
1436501872
Output for 5.3.22
583389257
Output for 5.3.21
1093205671
Output for 5.3.20
1330232396
Output for 5.3.19
1079330148
Output for 5.3.18
1741335336
Output for 5.3.17
1635231392
Output for 5.3.16
33384309
Output for 5.3.15
2035088064
Output for 5.3.14
1273366965
Output for 5.3.13
429140614
Output for 5.3.12
196496785
Output for 5.3.11
1109538514
Output for 5.3.10
1066531486
Output for 5.3.9
1436572883
Output for 5.3.8
349550897
Output for 5.3.7
170522647
Output for 5.3.6
991346059
Output for 5.3.5
550510804
Output for 5.3.4
289058937
Output for 5.3.3
1155053473
Output for 5.3.2
1542227337
Output for 5.3.1
81125577
Output for 5.3.0
856305639
Output for 5.2.17
144530033
Output for 5.2.16
897712444
Output for 5.2.15
913954522
Output for 5.2.14
171001761
Output for 5.2.13
994376502
Output for 5.2.12
2137480926
Output for 5.2.11
777882570
Output for 5.2.10
1697910112
Output for 5.2.9
864687592
Output for 5.2.8
489870559
Output for 5.2.7
1671909881
Output for 5.2.6
1092474675
Output for 5.2.5
1299863881
Output for 5.2.4
95565297
Output for 5.2.3
2103258389
Output for 5.2.2
1541003674
Output for 5.2.1
2079876498
Output for 5.2.0
53192012
Output for 5.1.6
1725762288
Output for 5.1.5
938497470
Output for 5.1.4
1286855446
Output for 5.1.3
1962424922
Output for 5.1.2
1692695802
Output for 5.1.1
716074490
Output for 5.1.0
1897055496
Output for 5.0.5
1099590370
Output for 5.0.4
1220348052
Output for 5.0.3
1737714554
Output for 5.0.2
135470956
Output for 5.0.1
41248998
Output for 5.0.0
1473523054
Output for 4.4.9
175715321
Output for 4.4.8
1376148138
Output for 4.4.7
1089517875
Output for 4.4.6
498467518
Output for 4.4.5
1703702365
Output for 4.4.4
693902973
Output for 4.4.3
1138156205
Output for 4.4.2
2091109081
Output for 4.4.1
1824897066
Output for 4.4.0
1880708714
Output for 4.3.11
297039214
Output for 4.3.10
619761696
Output for 4.3.9
348160910
Output for 4.3.8
773374763
Output for 4.3.7
2102858615
Output for 4.3.6
926934801
Output for 4.3.5
902504208
Output for 4.3.4
507425419
Output for 4.3.3
19271785
Output for 4.3.2
1463552944
Output for 4.3.1
604125936
Output for 4.3.0
109478713