3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo mt_rand(), ' ', mt_getrandmax();
Output for 7.2.0
1164512604 2147483647
Output for 7.1.7
114469849 2147483647
Output for 7.1.6
815725547 2147483647
Output for 7.1.5
538579720 2147483647
Output for 7.1.0
509905471 2147483647
Output for 7.0.20
1098121189 2147483647
Output for 7.0.14
594531115 2147483647
Output for 7.0.7
1435432181 2147483647
Output for 7.0.6
895514667 2147483647
Output for 7.0.5
2049723224 2147483647
Output for 7.0.4
1920686464 2147483647
Output for 7.0.3
307465601 2147483647
Output for 7.0.2
476865275 2147483647
Output for 7.0.1
1929458832 2147483647
Output for 7.0.0
906166265 2147483647
Output for 5.6.28
308626064 2147483647
Output for 5.6.21
530190256 2147483647
Output for 5.6.20
120969665 2147483647
Output for 5.6.19
586610329 2147483647
Output for 5.6.18
63555368 2147483647
Output for 5.6.17
32115438 2147483647
Output for 5.6.16
1299986672 2147483647
Output for 5.6.15
1831818123 2147483647
Output for 5.6.14
272119282 2147483647
Output for 5.6.13
1382221513 2147483647
Output for 5.6.12
1921448176 2147483647
Output for 5.6.11
1694245308 2147483647
Output for 5.6.10
1390278203 2147483647
Output for 5.6.9
134181512 2147483647
Output for 5.6.8
1399211627 2147483647
Output for 5.6.7
2068356206 2147483647
Output for 5.5.35
1666248791 2147483647
Output for 5.5.34
1972874728 2147483647
Output for 5.5.33
296708216 2147483647
Output for 5.5.32
1221844295 2147483647
Output for 5.5.31
187793751 2147483647
Output for 5.5.30
1623470063 2147483647
Output for 5.5.29
771386557 2147483647
Output for 5.5.28
1140507064 2147483647
Output for 5.5.27
1101407990 2147483647
Output for 5.5.26
160305329 2147483647
Output for 5.5.25
1474218254 2147483647
Output for 5.5.24
147362290 2147483647
Output for 5.4.45
481592014 2147483647
Output for 5.4.44
1335972042 2147483647
Output for 5.4.43
336980574 2147483647
Output for 5.4.42
508954684 2147483647
Output for 5.4.41
97794991 2147483647
Output for 5.4.40
713470079 2147483647
Output for 5.4.39
872582035 2147483647
Output for 5.4.38
701605708 2147483647
Output for 5.4.37
1558205597 2147483647
Output for 5.4.36
677885617 2147483647
Output for 5.4.35
1236470241 2147483647
Output for 5.4.34
997146193 2147483647
Output for 5.4.32
588940881 2147483647
Output for 5.4.31
409368055 2147483647
Output for 5.4.30
68933074 2147483647
Output for 5.4.29
291126786 2147483647
Output for 5.4.28
302925842 2147483647
Output for 5.4.27
1427631869 2147483647
Output for 5.4.26
79869975 2147483647
Output for 5.4.25
384661810 2147483647
Output for 5.4.24
225349667 2147483647
Output for 5.4.23
752520105 2147483647
Output for 5.4.22
1179528544 2147483647
Output for 5.4.21
1828023206 2147483647
Output for 5.4.20
668801019 2147483647
Output for 5.4.19
2015751433 2147483647
Output for 5.4.18
691140731 2147483647
Output for 5.4.17
166652070 2147483647
Output for 5.4.16
740261655 2147483647
Output for 5.4.15
533606755 2147483647
Output for 5.4.14
2114287589 2147483647
Output for 5.4.13
71926838 2147483647
Output for 5.4.12
909659714 2147483647
Output for 5.4.11
1029901798 2147483647
Output for 5.4.10
2011757617 2147483647
Output for 5.4.9
1857496790 2147483647
Output for 5.4.8
2122616555 2147483647
Output for 5.4.7
1870077564 2147483647
Output for 5.4.6
877043217 2147483647
Output for 5.4.5
51742566 2147483647
Output for 5.4.4
1953983804 2147483647
Output for 5.4.3
34903959 2147483647
Output for 5.4.2
562543674 2147483647
Output for 5.4.1
192283464 2147483647
Output for 5.4.0
1644945706 2147483647
Output for 5.3.29
1721191101 2147483647
Output for 5.3.28
1431628935 2147483647
Output for 5.3.27
50095334 2147483647
Output for 5.3.26
1102762418 2147483647
Output for 5.3.25
385747443 2147483647
Output for 5.3.24
265987157 2147483647
Output for 5.3.23
1088283457 2147483647
Output for 5.3.22
1499352671 2147483647
Output for 5.3.21
1380473249 2147483647
Output for 5.3.20
1109313075 2147483647
Output for 5.3.19
924607304 2147483647
Output for 5.3.18
1420091158 2147483647
Output for 5.3.17
1437226647 2147483647
Output for 5.3.16
1473434153 2147483647
Output for 5.3.15
1179105291 2147483647
Output for 5.3.14
301064387 2147483647
Output for 5.3.13
841733232 2147483647
Output for 5.3.12
1859860599 2147483647
Output for 5.3.11
1826040570 2147483647
Output for 5.3.10
483557178 2147483647
Output for 5.3.9
859559557 2147483647
Output for 5.3.8
126264512 2147483647
Output for 5.3.7
601284610 2147483647
Output for 5.3.6
1094984519 2147483647
Output for 5.3.5
1201281539 2147483647
Output for 5.3.4
711252129 2147483647
Output for 5.3.3
723769528 2147483647
Output for 5.3.2
1747710202 2147483647
Output for 5.3.1
663334215 2147483647
Output for 5.3.0
1205646152 2147483647
Output for 5.2.17
1124190761 2147483647
Output for 5.2.16
1295386711 2147483647
Output for 5.2.15
542756833 2147483647
Output for 5.2.14
643669296 2147483647
Output for 5.2.13
835864917 2147483647
Output for 5.2.12
30484916 2147483647
Output for 5.2.11
90118364 2147483647
Output for 5.2.10
1197774822 2147483647
Output for 5.2.9
2129218764 2147483647
Output for 5.2.8
1828943810 2147483647
Output for 5.2.7
1688956663 2147483647
Output for 5.2.6
1001948200 2147483647
Output for 5.2.5
1424034807 2147483647
Output for 5.2.4
1381660599 2147483647
Output for 5.2.3
1169191769 2147483647
Output for 5.2.2
606393197 2147483647
Output for 5.2.1
1767764921 2147483647
Output for 5.2.0
2067519007 2147483647
Output for 5.1.6
1458267964 2147483647
Output for 5.1.5
1879413385 2147483647
Output for 5.1.4
544956510 2147483647
Output for 5.1.3
1714787196 2147483647
Output for 5.1.2
1496387485 2147483647
Output for 5.1.1
377422802 2147483647
Output for 5.1.0
1142253170 2147483647
Output for 5.0.5
1032142327 2147483647
Output for 5.0.4
263352914 2147483647
Output for 5.0.3
1534409255 2147483647
Output for 5.0.2
821651873 2147483647
Output for 5.0.1
1536473286 2147483647
Output for 5.0.0
1064003049 2147483647
Output for 4.4.9
1186231698 2147483647
Output for 4.4.8
298782610 2147483647
Output for 4.4.7
256088815 2147483647
Output for 4.4.6
1363713478 2147483647
Output for 4.4.5
50590105 2147483647
Output for 4.4.4
818572423 2147483647
Output for 4.4.3
609310431 2147483647
Output for 4.4.2
1212639129 2147483647
Output for 4.4.1
1675215493 2147483647
Output for 4.4.0
929888155 2147483647
Output for 4.3.11
1149763584 2147483647
Output for 4.3.10
214820955 2147483647
Output for 4.3.9
571010895 2147483647
Output for 4.3.8
50994893 2147483647
Output for 4.3.7
1962738061 2147483647
Output for 4.3.6
372809939 2147483647
Output for 4.3.5
1735490343 2147483647
Output for 4.3.4
1906196903 2147483647
Output for 4.3.3
590690130 2147483647
Output for 4.3.2
694624933 2147483647
Output for 4.3.1
1692902829 2147483647
Output for 4.3.0
1587172834 2147483647