3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php for($i = 0; $i < 10000; $i++){ $r = rand(); } echo $r;
Output for 7.1.0
1058709175
Output for 7.0.14
138471447
Output for 7.0.8
1716148258
Output for 7.0.7
910650093
Output for 7.0.6
291013001
Output for 7.0.5
464260629
Output for 7.0.4
1769737931
Output for 7.0.3
869098112
Output for 7.0.2
1617293361
Output for 7.0.1
1642085800
Output for 7.0.0
502761402
Output for hhvm-3.12.0
1730318959
Output for hhvm-3.10.0
1053481778
Output for 5.6.28
984239879
Output for 5.6.23
588351010
Output for 5.6.22
356757658
Output for 5.6.21
1952001363
Output for 5.6.20
1229865337
Output for 5.6.19
1843647034
Output for 5.6.18
147542100
Output for 5.6.17
2092841707
Output for 5.6.16
1247697878
Output for 5.6.15
413477054
Output for 5.6.14
110687962
Output for 5.6.13
1180843519
Output for 5.6.12
937992088
Output for 5.6.11
1484540481
Output for 5.6.10
814039934
Output for 5.6.9
1593221300
Output for 5.6.8
52136510
Output for 5.6.7
130458907
Output for 5.6.6
109763159
Output for 5.6.5
1931831853
Output for 5.6.4
802707832
Output for 5.6.3
1688464749
Output for 5.6.2
959491239
Output for 5.6.1
1248784308
Output for 5.6.0
1552305208
Output for 5.5.37
1536562378
Output for 5.5.36
152002761
Output for 5.5.35
1304724134
Output for 5.5.34
1120235356
Output for 5.5.33
1067537306
Output for 5.5.32
490914868
Output for 5.5.31
2112154627
Output for 5.5.30
1391677674
Output for 5.5.29
1083260455
Output for 5.5.28
635682641
Output for 5.5.27
937786413
Output for 5.5.26
1968950966
Output for 5.5.25
888725827
Output for 5.5.24
1833730771
Output for 5.5.23
241737508
Output for 5.5.22
1771205833
Output for 5.5.21
1076515689
Output for 5.5.20
1131309244
Output for 5.5.19
1452207571
Output for 5.5.18
200490409
Output for 5.5.16
1523169285
Output for 5.5.15
1146322013
Output for 5.5.14
1286744979
Output for 5.5.13
1874469066
Output for 5.5.12
557524904
Output for 5.5.11
1399710250
Output for 5.5.10
114902604
Output for 5.5.9
1574498878
Output for 5.5.8
334236111
Output for 5.5.7
532407703
Output for 5.5.6
1941476007
Output for 5.5.5
253664588
Output for 5.5.4
1280712812
Output for 5.5.3
1260706527
Output for 5.5.2
197773711
Output for 5.5.1
2109969602
Output for 5.5.0
1787539593
Output for 5.4.45
2101862950
Output for 5.4.44
980960704
Output for 5.4.43
1275522013
Output for 5.4.42
1894667221
Output for 5.4.41
118544640
Output for 5.4.40
2068338319
Output for 5.4.39
1307635436
Output for 5.4.38
1999809760
Output for 5.4.37
1404743725
Output for 5.4.36
1431641203
Output for 5.4.35
558155649
Output for 5.4.34
324215767
Output for 5.4.32
668847552
Output for 5.4.31
2024546972
Output for 5.4.30
1828416683
Output for 5.4.29
1999182799
Output for 5.4.28
2117453180
Output for 5.4.27
1412102743
Output for 5.4.26
759562861
Output for 5.4.25
1225117040
Output for 5.4.24
970543102
Output for 5.4.23
1693024516
Output for 5.4.22
1447131724
Output for 5.4.21
1497438862
Output for 5.4.20
1415456956
Output for 5.4.19
7587413
Output for 5.4.18
1337933847
Output for 5.4.17
644086404
Output for 5.4.16
2025450792
Output for 5.4.15
102904850
Output for 5.4.14
1900349136
Output for 5.4.13
2047389638
Output for 5.4.12
2024186273
Output for 5.4.11
1528043131
Output for 5.4.10
181964915
Output for 5.4.9
1640812017
Output for 5.4.8
1599301748
Output for 5.4.7
1687522029
Output for 5.4.6
2001767925
Output for 5.4.5
1549135118
Output for 5.4.4
698986455
Output for 5.4.3
739286270
Output for 5.4.2
1940238964
Output for 5.4.1
1073527108
Output for 5.4.0
419673312
Output for 5.3.29
247546907
Output for 5.3.28
1837186226
Output for 5.3.27
1950628873
Output for 5.3.26
1843991042
Output for 5.3.25
1008225491
Output for 5.3.24
954170164
Output for 5.3.23
1101940249
Output for 5.3.22
1053281386
Output for 5.3.21
303074296
Output for 5.3.20
2000731840
Output for 5.3.19
1984701922
Output for 5.3.18
2067731844
Output for 5.3.17
1078411422
Output for 5.3.16
850201246
Output for 5.3.15
156790583
Output for 5.3.14
2004742518
Output for 5.3.13
1763664145
Output for 5.3.12
1472448699
Output for 5.3.11
1849422048
Output for 5.3.10
584433412
Output for 5.3.9
1944627780
Output for 5.3.8
1620360503
Output for 5.3.7
1076824501
Output for 5.3.6
1181058857
Output for 5.3.5
716966909
Output for 5.3.4
124871591
Output for 5.3.3
1482050977
Output for 5.3.2
164144186
Output for 5.3.1
1438114660
Output for 5.3.0
644493019
Output for 5.2.17
905279750
Output for 5.2.16
2071196044
Output for 5.2.15
955103757
Output for 5.2.14
213782651
Output for 5.2.13
550605397
Output for 5.2.12
313779152
Output for 5.2.11
1519737961
Output for 5.2.10
324178361
Output for 5.2.9
781203599
Output for 5.2.8
1764321526
Output for 5.2.7
1974204750
Output for 5.2.6
1193289040
Output for 5.2.5
2021916764
Output for 5.2.4
1154297265
Output for 5.2.3
1976820301
Output for 5.2.2
1772179918
Output for 5.2.1
1869412365
Output for 5.2.0
646548935
Output for 5.1.6
2054114757
Output for 5.1.5
80935195
Output for 5.1.4
730912119
Output for 5.1.3
806867430
Output for 5.1.2
802433981
Output for 5.1.1
2058998444
Output for 5.1.0
2071813509
Output for 5.0.5
492572536
Output for 5.0.4
40689833
Output for 5.0.3
1534125333
Output for 5.0.2
890840160
Output for 5.0.1
1318586335
Output for 5.0.0
1208197494
Output for 4.4.9
531357314
Output for 4.4.8
1416877945
Output for 4.4.7
2063766421
Output for 4.4.6
1906957817
Output for 4.4.5
868490682
Output for 4.4.4
992226004
Output for 4.4.3
1044849590
Output for 4.4.2
1577634328
Output for 4.4.1
1677516162
Output for 4.4.0
2036618327
Output for 4.3.11
1828244809
Output for 4.3.10
40744140
Output for 4.3.9
1181168110
Output for 4.3.8
1717419026
Output for 4.3.7
870039169
Output for 4.3.6
1422791495
Output for 4.3.5
1996454634
Output for 4.3.4
1306767410
Output for 4.3.3
1657792232
Output for 4.3.2
371481327
Output for 4.3.1
1998253062
Output for 4.3.0
1384953045