3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo srand((double) microtime() * 1000000); echo rand();
Output for 7.1.0
822521050
Output for 7.0.14
192758253
Output for 7.0.6
1160603276
Output for 7.0.5
1618868344
Output for 7.0.4
2147353375
Output for 7.0.3
973442781
Output for 7.0.2
874822501
Output for 7.0.1
820332916
Output for 7.0.0
870757
Output for hhvm-3.12.0
2137008776
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
857447459
Output for 5.6.21
506223811
Output for 5.6.20
688199588
Output for 5.6.19
498346067
Output for 5.6.18
1573070739
Output for 5.6.17
369556184
Output for 5.6.16
1626078650
Output for 5.6.15
1280449710
Output for 5.6.14
470478114
Output for 5.6.13
1325279512
Output for 5.6.12
1160091920
Output for 5.6.11
2072564155
Output for 5.6.10
1158960807
Output for 5.6.9
1878691457
Output for 5.6.8
1785659498
Output for 5.6.7
2110003856
Output for 5.5.35
738875962
Output for 5.5.34
588422459
Output for 5.5.33
509902880
Output for 5.5.32
718078379
Output for 5.5.31
735925861
Output for 5.5.30
705779927
Output for 5.5.29
842573229
Output for 5.5.28
301308357
Output for 5.5.27
1333873927
Output for 5.5.26
380551107
Output for 5.5.25
1908702088
Output for 5.5.24
604037024
Output for 5.4.45
1836432807
Output for 5.4.44
1704875830
Output for 5.4.43
1086480774
Output for 5.4.42
631302867
Output for 5.4.41
1994859621
Output for 5.4.40
558406011
Output for 5.4.39
451910869
Output for 5.4.38
2066927052
Output for 5.4.37
1868068542
Output for 5.4.36
131313763
Output for 5.4.35
1545675005
Output for 5.4.34
965266311
Output for 5.4.32
49899961
Output for 5.4.31
16419142
Output for 5.4.30
324254601
Output for 5.4.29
938755960
Output for 5.4.28
1234662871
Output for 5.4.27
1326855503
Output for 5.4.26
1197104803
Output for 5.4.25
1305273502
Output for 5.4.24
1185825345
Output for 5.4.23
377243335
Output for 5.4.22
240460978
Output for 5.4.21
591416071
Output for 5.4.20
1399677943
Output for 5.4.19
206768826
Output for 5.4.18
253429225
Output for 5.4.17
1634622836
Output for 5.4.16
92051347
Output for 5.4.15
921259540
Output for 5.4.14
109511973
Output for 5.4.13
38093200
Output for 5.4.12
1343723793
Output for 5.4.11
526457083
Output for 5.4.10
156915658
Output for 5.4.9
1803627825
Output for 5.4.8
1842406156
Output for 5.4.7
1067758380
Output for 5.4.6
1718262104
Output for 5.4.5
1967264511
Output for 5.4.4
1360878460
Output for 5.4.3
969076087
Output for 5.4.2
255799266
Output for 5.4.1
1301091935
Output for 5.4.0
277329263
Output for 5.3.29
1707607098
Output for 5.3.28
771913953
Output for 5.3.27
1643681089
Output for 5.3.26
1626732006
Output for 5.3.25
888009600
Output for 5.3.24
890283514
Output for 5.3.23
1663520756
Output for 5.3.22
420364248
Output for 5.3.21
907320982
Output for 5.3.20
1165637604
Output for 5.3.19
1369106477
Output for 5.3.18
1318098135
Output for 5.3.17
1945491995
Output for 5.3.16
53878499
Output for 5.3.15
18148093
Output for 5.3.14
2127629736
Output for 5.3.13
1079476764
Output for 5.3.12
35582930
Output for 5.3.11
1402664362
Output for 5.3.10
1225578296
Output for 5.3.9
800885947
Output for 5.3.8
797834112
Output for 5.3.7
1223820266
Output for 5.3.6
1419108792
Output for 5.3.5
514747937
Output for 5.3.4
1046712823
Output for 5.3.3
1160277962
Output for 5.3.2
1858226686
Output for 5.3.1
607614388
Output for 5.3.0
1416453666
Output for 5.2.17
895955085
Output for 5.2.16
2061691220
Output for 5.2.15
320857662
Output for 5.2.14
1805866957
Output for 5.2.13
401716375
Output for 5.2.12
1361905620
Output for 5.2.11
1213228537
Output for 5.2.10
860686311
Output for 5.2.9
1643980957
Output for 5.2.8
1835751703
Output for 5.2.7
1907890437
Output for 5.2.6
1012038240
Output for 5.2.5
69861548
Output for 5.2.4
1034694862
Output for 5.2.3
548771228
Output for 5.2.2
65617743
Output for 5.2.1
627010747
Output for 5.2.0
1484925283
Output for 5.1.6
165266996
Output for 5.1.5
148296253
Output for 5.1.4
503785921
Output for 5.1.3
459795525
Output for 5.1.2
1991038000
Output for 5.1.1
1472387504
Output for 5.1.0
813398438
Output for 5.0.5
1903837027
Output for 5.0.4
1831633937
Output for 5.0.3
2067427364
Output for 5.0.2
537746999
Output for 5.0.1
837288501
Output for 5.0.0
1800716073
Output for 4.4.9
941152360
Output for 4.4.8
35672756
Output for 4.4.7
1389265246
Output for 4.4.6
2136247209
Output for 4.4.5
67073478
Output for 4.4.4
64427043
Output for 4.4.3
1023480092
Output for 4.4.2
13743687
Output for 4.4.1
238781540
Output for 4.4.0
1544526848
Output for 4.3.11
2118821630
Output for 4.3.10
1245400181
Output for 4.3.9
835750200
Output for 4.3.8
1092915415
Output for 4.3.7
1342982563
Output for 4.3.6
453724321
Output for 4.3.5
1529358941
Output for 4.3.4
41255817
Output for 4.3.3
1180828636
Output for 4.3.2
1149331597
Output for 4.3.1
1994141838
Output for 4.3.0
1912525649