3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo rand();
Output for 7.1.0
1678454555
Output for 7.0.14
707411814
Output for 7.0.13
1658066419
Output for 7.0.12
1155100401
Output for 7.0.11
242433397
Output for 7.0.10
1517634312
Output for 7.0.9
2143762320
Output for 7.0.8
1341186701
Output for 7.0.7
1129553819
Output for 7.0.6
1047618559
Output for 7.0.5
1709424658
Output for 7.0.4
559911374
Output for 7.0.3
997900558
Output for 7.0.2
1326928162
Output for 7.0.1
2083373795
Output for 7.0.0
426746480
Output for hhvm-3.13.2
963584785
Output for hhvm-3.12.0
1275315983
Output for hhvm-3.10.0
1521770853
Output for 5.6.28
628335007
Output for 5.6.27
1673856431
Output for 5.6.26
1033326232
Output for 5.6.25
1502088716
Output for 5.6.24
1058172126
Output for 5.6.23
65468472
Output for 5.6.22
172053473
Output for 5.6.21
1354566788
Output for 5.6.20
1639465848
Output for 5.6.19
109254464
Output for 5.6.18
905429433
Output for 5.6.17
1705262545
Output for 5.6.16
709600693
Output for 5.6.15
1637876086
Output for 5.6.14
1840733290
Output for 5.6.13
1142766792
Output for 5.6.12
635255050
Output for 5.6.11
737064055
Output for 5.6.10
303927452
Output for 5.6.9
730500201
Output for 5.6.8
92926149
Output for 5.6.7
1448618775
Output for 5.6.6
2129407785
Output for 5.6.5
1119446190
Output for 5.6.4
1157100891
Output for 5.6.3
1459623551
Output for 5.6.2
1533625536
Output for 5.6.1
1696832087
Output for 5.6.0
1462139395
Output for 5.5.38
806677667
Output for 5.5.37
465995530
Output for 5.5.36
1679281467
Output for 5.5.35
525296423
Output for 5.5.34
2020519415
Output for 5.5.33
913026347
Output for 5.5.32
844353736
Output for 5.5.31
1306986199
Output for 5.5.30
898352192
Output for 5.5.29
2087318297
Output for 5.5.28
552061539
Output for 5.5.27
1743626645
Output for 5.5.26
1418048086
Output for 5.5.25
247483469
Output for 5.5.24
95625979
Output for 5.5.23
1887284295
Output for 5.5.22
1511726047
Output for 5.5.21
1990480659
Output for 5.5.20
794460415
Output for 5.5.19
1302131420
Output for 5.5.18
1430618931
Output for 5.5.16
1223276484
Output for 5.5.15
1730123098
Output for 5.5.14
558424344
Output for 5.5.13
1421875135
Output for 5.5.12
1152534826
Output for 5.5.11
1089748496
Output for 5.5.10
1105222405
Output for 5.5.9
908684468
Output for 5.5.8
546460316
Output for 5.5.7
2129875466
Output for 5.5.6
114527852
Output for 5.5.5
1194609513
Output for 5.5.4
29524641
Output for 5.5.3
1575013732
Output for 5.5.2
2126879562
Output for 5.5.1
1807445058
Output for 5.5.0
626480591
Output for 5.4.45
292833518
Output for 5.4.44
903673329
Output for 5.4.43
2077693734
Output for 5.4.42
1580893197
Output for 5.4.41
1741732971
Output for 5.4.40
1445770084
Output for 5.4.39
128921317
Output for 5.4.38
1094009424
Output for 5.4.37
507249582
Output for 5.4.36
1243714317
Output for 5.4.35
1799931902
Output for 5.4.34
337851042
Output for 5.4.32
1087656457
Output for 5.4.31
1971749873
Output for 5.4.30
775058664
Output for 5.4.29
245579464
Output for 5.4.28
766934683
Output for 5.4.27
932453199
Output for 5.4.26
755036256
Output for 5.4.25
895194337
Output for 5.4.24
1048842015
Output for 5.4.23
835095000
Output for 5.4.22
978105139
Output for 5.4.21
1776940136
Output for 5.4.20
515858682
Output for 5.4.19
774470484
Output for 5.4.18
1817148002
Output for 5.4.17
1909182910
Output for 5.4.16
1277755227
Output for 5.4.15
907499253
Output for 5.4.14
2134442942
Output for 5.4.13
364409899
Output for 5.4.12
674180534
Output for 5.4.11
1455133447
Output for 5.4.10
2082347619
Output for 5.4.9
1739065115
Output for 5.4.8
679802934
Output for 5.4.7
901206541
Output for 5.4.6
405457336
Output for 5.4.5
1856442767
Output for 5.4.4
2041778099
Output for 5.4.3
421193357
Output for 5.4.2
2093851080
Output for 5.4.1
934124092
Output for 5.4.0
123373769
Output for 5.3.29
1738886025
Output for 5.3.28
929919561
Output for 5.3.27
1982544891
Output for 5.3.26
1341676386
Output for 5.3.25
953145593
Output for 5.3.24
1592311355
Output for 5.3.23
131155400
Output for 5.3.22
1791319947
Output for 5.3.21
343610638
Output for 5.3.20
139902987
Output for 5.3.19
1920698406
Output for 5.3.18
333148084
Output for 5.3.17
2115683043
Output for 5.3.16
105437837
Output for 5.3.15
234161315
Output for 5.3.14
2126662812
Output for 5.3.13
1278851611
Output for 5.3.12
90646213
Output for 5.3.11
141558805
Output for 5.3.10
339580560
Output for 5.3.9
2120435329
Output for 5.3.8
2069587393
Output for 5.3.7
114267725
Output for 5.3.6
1152954362
Output for 5.3.5
1289425100
Output for 5.3.4
1923156787
Output for 5.3.3
589394553
Output for 5.3.2
2084426682
Output for 5.3.1
389462399
Output for 5.3.0
1615622496
Output for 5.2.17
73604823
Output for 5.2.16
1482534703
Output for 5.2.15
1188064029
Output for 5.2.14
764277738
Output for 5.2.13
1353977984
Output for 5.2.12
352016143
Output for 5.2.11
1704477237
Output for 5.2.10
920359091
Output for 5.2.9
930452189
Output for 5.2.8
1471626211
Output for 5.2.7
1814711679
Output for 5.2.6
591757671
Output for 5.2.5
1571976968
Output for 5.2.4
2052945622
Output for 5.2.3
1420014499
Output for 5.2.2
2018768215
Output for 5.2.1
359299038
Output for 5.2.0
1462022982
Output for 5.1.6
1722684312
Output for 5.1.5
974592220
Output for 5.1.4
1586209737
Output for 5.1.3
38652342
Output for 5.1.2
688662458
Output for 5.1.1
547935808
Output for 5.1.0
1681602618
Output for 5.0.5
3216594
Output for 5.0.4
704912698
Output for 5.0.3
1652805958
Output for 5.0.2
1896619862
Output for 5.0.1
16001697
Output for 5.0.0
1057869571
Output for 4.4.9
667594602
Output for 4.4.8
760025096
Output for 4.4.7
1744656133
Output for 4.4.6
2109622278
Output for 4.4.5
1061131994
Output for 4.4.4
77902299
Output for 4.4.3
242327792
Output for 4.4.2
455232479
Output for 4.4.1
41431630
Output for 4.4.0
2030220386
Output for 4.3.11
519089459
Output for 4.3.10
176422823
Output for 4.3.9
208160822
Output for 4.3.8
636446124
Output for 4.3.7
1794606393
Output for 4.3.6
1410551301
Output for 4.3.5
614083959
Output for 4.3.4
765076523
Output for 4.3.3
481393428
Output for 4.3.2
602390431
Output for 4.3.1
538106648
Output for 4.3.0
1386161264