3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo mt_rand(), ' ', mt_getrandmax();
Output for 7.1.0
509905471 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
689156873 2147483647
Output for 5.4.25
1007616744 2147483647
Output for 5.4.24
1761501881 2147483647
Output for 5.4.23
2126790621 2147483647
Output for 5.4.22
2036941854 2147483647
Output for 5.4.21
338242288 2147483647
Output for 5.4.20
2136337766 2147483647
Output for 5.4.19
352909701 2147483647
Output for 5.4.18
241511769 2147483647
Output for 5.4.17
742406489 2147483647
Output for 5.4.16
1587377545 2147483647
Output for 5.4.15
1422384736 2147483647
Output for 5.4.14
241301159 2147483647
Output for 5.4.13
692718203 2147483647
Output for 5.4.12
1336986436 2147483647
Output for 5.4.11
781678501 2147483647
Output for 5.4.10
1544827336 2147483647
Output for 5.4.9
1305134637 2147483647
Output for 5.4.8
1232820917 2147483647
Output for 5.4.7
748335068 2147483647
Output for 5.4.6
829115784 2147483647
Output for 5.4.5
548065725 2147483647
Output for 5.4.4
1712887452 2147483647
Output for 5.4.3
1287968377 2147483647
Output for 5.4.2
2126901135 2147483647
Output for 5.4.1
1472133742 2147483647
Output for 5.4.0
271852358 2147483647
Output for 5.3.29
1721191101 2147483647
Output for 5.3.28
639938499 2147483647
Output for 5.3.27
1327895218 2147483647
Output for 5.3.26
699384641 2147483647
Output for 5.3.25
992439230 2147483647
Output for 5.3.24
1204026441 2147483647
Output for 5.3.23
1944857970 2147483647
Output for 5.3.22
972988147 2147483647
Output for 5.3.21
1190001578 2147483647
Output for 5.3.20
782725631 2147483647
Output for 5.3.19
1133791395 2147483647
Output for 5.3.18
516292134 2147483647
Output for 5.3.17
1968191090 2147483647
Output for 5.3.16
1914851365 2147483647
Output for 5.3.15
1710577249 2147483647
Output for 5.3.14
430161434 2147483647
Output for 5.3.13
777282462 2147483647
Output for 5.3.12
1122802047 2147483647
Output for 5.3.11
2061050069 2147483647
Output for 5.3.10
140429756 2147483647
Output for 5.3.9
843502318 2147483647
Output for 5.3.8
2014215098 2147483647
Output for 5.3.7
1508394051 2147483647
Output for 5.3.6
787049172 2147483647
Output for 5.3.5
2032969102 2147483647
Output for 5.3.4
72468655 2147483647
Output for 5.3.3
1955425081 2147483647
Output for 5.3.2
457994682 2147483647
Output for 5.3.1
1929612145 2147483647
Output for 5.3.0
342824423 2147483647
Output for 5.2.17
782945354 2147483647
Output for 5.2.16
375376690 2147483647
Output for 5.2.15
1536574258 2147483647
Output for 5.2.14
1859977897 2147483647
Output for 5.2.13
430183558 2147483647
Output for 5.2.12
419203896 2147483647
Output for 5.2.11
1308870982 2147483647
Output for 5.2.10
1861091415 2147483647
Output for 5.2.9
1615376094 2147483647
Output for 5.2.8
343007032 2147483647
Output for 5.2.7
1281748559 2147483647
Output for 5.2.6
468061929 2147483647
Output for 5.2.5
1781070810 2147483647
Output for 5.2.4
1719844980 2147483647
Output for 5.2.3
855936629 2147483647
Output for 5.2.2
25372584 2147483647
Output for 5.2.1
477703718 2147483647
Output for 5.2.0
838293002 2147483647
Output for 5.1.6
1996039978 2147483647
Output for 5.1.5
1894103301 2147483647
Output for 5.1.4
1626215537 2147483647
Output for 5.1.3
1254082092 2147483647
Output for 5.1.2
1382647729 2147483647
Output for 5.1.1
106595339 2147483647
Output for 5.1.0
1450079831 2147483647
Output for 5.0.5
1644784633 2147483647
Output for 5.0.4
2107453324 2147483647
Output for 5.0.3
1355273057 2147483647
Output for 5.0.2
814115050 2147483647
Output for 5.0.1
167782272 2147483647
Output for 5.0.0
597486152 2147483647
Output for 4.4.9
959765222 2147483647
Output for 4.4.8
609370261 2147483647
Output for 4.4.7
1781019117 2147483647
Output for 4.4.6
749290165 2147483647
Output for 4.4.5
746810406 2147483647
Output for 4.4.4
837338145 2147483647
Output for 4.4.3
313032947 2147483647
Output for 4.4.2
1438308323 2147483647
Output for 4.4.1
105782679 2147483647
Output for 4.4.0
563635319 2147483647
Output for 4.3.11
1868188142 2147483647
Output for 4.3.10
2087727253 2147483647
Output for 4.3.9
933533217 2147483647
Output for 4.3.8
1994889783 2147483647
Output for 4.3.7
2063656173 2147483647
Output for 4.3.6
754558552 2147483647
Output for 4.3.5
1002355137 2147483647
Output for 4.3.4
459099730 2147483647
Output for 4.3.3
1150698074 2147483647
Output for 4.3.2
2117279006 2147483647
Output for 4.3.1
1378654024 2147483647
Output for 4.3.0
1587172834 2147483647