3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 1000000; $i++){ $r = rand(); } echo $r;
Output for 7.1.0
1381264944
Output for 7.0.14
1816268948
Output for 7.0.10
409096727
Output for 7.0.9
65248736
Output for 7.0.8
2034947631
Output for 7.0.7
303519854
Output for 7.0.6
2039559740
Output for 7.0.5
628962114
Output for 7.0.4
553064576
Output for 7.0.3
127558732
Output for 7.0.2
206268558
Output for 7.0.1
1513165453
Output for 7.0.0
276804919
Output for hhvm-3.12.0
613954350
Output for hhvm-3.10.0
1118297592
Output for 5.6.28
1952653971
Output for 5.6.25
630696160
Output for 5.6.24
606525692
Output for 5.6.23
252823403
Output for 5.6.22
134150305
Output for 5.6.21
804427073
Output for 5.6.20
1460522170
Output for 5.6.19
2054518599
Output for 5.6.18
1953820017
Output for 5.6.17
1003863363
Output for 5.6.16
1827247466
Output for 5.6.15
2136236238
Output for 5.6.14
1276050465
Output for 5.6.13
1418562686
Output for 5.6.12
2052575054
Output for 5.6.11
1019256397
Output for 5.6.10
2104254755
Output for 5.6.9
194114736
Output for 5.6.8
7167571
Output for 5.6.7
1278416226
Output for 5.6.6
1676343799
Output for 5.6.5
1716612534
Output for 5.6.4
1602149743
Output for 5.6.3
681680939
Output for 5.6.2
2008245352
Output for 5.6.1
1452463051
Output for 5.6.0
1165460206
Output for 5.5.38
443067727
Output for 5.5.37
2100372125
Output for 5.5.36
301941322
Output for 5.5.35
617363430
Output for 5.5.34
460633967
Output for 5.5.33
468846301
Output for 5.5.32
1898142193
Output for 5.5.31
1443181455
Output for 5.5.30
818429955
Output for 5.5.29
936933539
Output for 5.5.28
851164878
Output for 5.5.27
991945841
Output for 5.5.26
19058479
Output for 5.5.25
1631075209
Output for 5.5.24
1117694205
Output for 5.5.23
631106733
Output for 5.5.22
1656397287
Output for 5.5.21
560316703
Output for 5.5.20
336221801
Output for 5.5.19
1043630693
Output for 5.5.18
903569431
Output for 5.5.16
1052186085
Output for 5.5.15
15456666
Output for 5.5.14
896836363
Output for 5.5.13
1303210318
Output for 5.5.12
298885515
Output for 5.5.11
1929835798
Output for 5.5.10
468412943
Output for 5.5.9
1741219882
Output for 5.5.8
387427137
Output for 5.5.7
2087820487
Output for 5.5.6
1385383677
Output for 5.5.5
1336214141
Output for 5.5.4
1490675008
Output for 5.5.3
1703433323
Output for 5.5.2
1590601050
Output for 5.5.1
1917762738
Output for 5.5.0
882377638
Output for 5.4.45
831253529
Output for 5.4.44
447559908
Output for 5.4.43
960334974
Output for 5.4.42
1703621951
Output for 5.4.41
738962123
Output for 5.4.40
1593118179
Output for 5.4.39
790238205
Output for 5.4.38
1624275891
Output for 5.4.37
2129655496
Output for 5.4.36
186755417
Output for 5.4.35
470610607
Output for 5.4.34
1911395109
Output for 5.4.32
2109242970
Output for 5.4.31
507382190
Output for 5.4.30
1869956363
Output for 5.4.29
699737059
Output for 5.4.28
1743682147
Output for 5.4.27
724577915
Output for 5.4.26
731703544
Output for 5.4.25
1629569855
Output for 5.4.24
233878031
Output for 5.4.23
1871800699
Output for 5.4.22
395242805
Output for 5.4.21
66479567
Output for 5.4.20
2031873092
Output for 5.4.19
289809468
Output for 5.4.18
620329346
Output for 5.4.17
76525144
Output for 5.4.16
700673396
Output for 5.4.15
251329105
Output for 5.4.14
872489656
Output for 5.4.13
1736608711
Output for 5.4.12
834229735
Output for 5.4.11
812789738
Output for 5.4.10
462280345
Output for 5.4.9
1116081614
Output for 5.4.8
762819490
Output for 5.4.7
1419335713
Output for 5.4.6
493858865
Output for 5.4.5
1704437139
Output for 5.4.4
1828664737
Output for 5.4.3
1358697733
Output for 5.4.2
1987938359
Output for 5.4.1
579084650
Output for 5.4.0
339554653
Output for 5.3.29
2031059689
Output for 5.3.28
706086727
Output for 5.3.27
1236353916
Output for 5.3.26
421959332
Output for 5.3.25
1206042885
Output for 5.3.24
2122448454
Output for 5.3.23
906641174
Output for 5.3.22
1243624194
Output for 5.3.21
1618172753
Output for 5.3.20
344450856
Output for 5.3.19
1470320542
Output for 5.3.18
355087991
Output for 5.3.17
400891069
Output for 5.3.16
991365404
Output for 5.3.15
1395710474
Output for 5.3.14
810661559
Output for 5.3.13
2109764778
Output for 5.3.12
638941966
Output for 5.3.11
124082253
Output for 5.3.10
1029653100
Output for 5.3.9
417300313
Output for 5.3.8
781040994
Output for 5.3.7
1797085191
Output for 5.3.6
1258584241
Output for 5.3.5
1731602526
Output for 5.3.4
1787963885
Output for 5.3.3
1933471567
Output for 5.3.2
947833060
Output for 5.3.1
72774881
Output for 5.3.0
1309996651
Output for 5.2.17
1492342034
Output for 5.2.16
1475155543
Output for 5.2.15
332925208
Output for 5.2.14
459227445
Output for 5.2.13
551391902
Output for 5.2.12
939996716
Output for 5.2.11
1752912338
Output for 5.2.10
1138882744
Output for 5.2.9
1383176350
Output for 5.2.8
1384981846
Output for 5.2.7
1295715871
Output for 5.2.6
1452907308
Output for 5.2.5
1228337673
Output for 5.2.4
1474806083
Output for 5.2.3
1201989663
Output for 5.2.2
1102055232
Output for 5.2.1
414319514
Output for 5.2.0
1453449091
Output for 5.1.6
1985204109
Output for 5.1.5
938025126
Output for 5.1.4
926994910
Output for 5.1.3
28823005
Output for 5.1.2
903333932
Output for 5.1.1
364897707
Output for 5.1.0
559194792
Output for 5.0.5
532120908
Output for 5.0.4
1868396447
Output for 5.0.3
1773428263
Output for 5.0.2
928320717
Output for 5.0.1
158556697
Output for 5.0.0
1057962274
Output for 4.4.9
139333537
Output for 4.4.8
1553715561
Output for 4.4.7
165852020
Output for 4.4.6
384590963
Output for 4.4.5
5544737
Output for 4.4.4
1926007604
Output for 4.4.3
68356392
Output for 4.4.2
701393992
Output for 4.4.1
1352769946
Output for 4.4.0
732609438
Output for 4.3.11
978028995
Output for 4.3.10
733992765
Output for 4.3.9
1571894771
Output for 4.3.8
534204102
Output for 4.3.7
1972339717
Output for 4.3.6
1586381135
Output for 4.3.5
1848623332
Output for 4.3.4
947220847
Output for 4.3.3
335150804
Output for 4.3.2
1811944591
Output for 4.3.1
1154743823
Output for 4.3.0
1159132956