3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mt_rand());
Output for 7.1.0
int(1527776649)
Output for 7.0.14
int(2109388684)
Output for 7.0.13
int(773020434)
Output for 7.0.12
int(681978180)
Output for 7.0.11
int(2114125289)
Output for 7.0.10
int(1210879447)
Output for 7.0.9
int(1286988733)
Output for 7.0.8
int(1072410171)
Output for 7.0.7
int(1134923481)
Output for 7.0.6
int(677031471)
Output for 7.0.5
int(1671585103)
Output for 7.0.4
int(1070595459)
Output for 7.0.3
int(514493903)
Output for 7.0.2
int(980284338)
Output for 7.0.1
int(1223482231)
Output for 7.0.0
int(1705373110)
Output for hhvm-3.13.2
int(1823762526)
Output for hhvm-3.12.0
int(277253987)
Output for hhvm-3.10.0
int(1906442138)
Output for 5.6.28
int(1952229460)
Output for 5.6.27
int(815739943)
Output for 5.6.26
int(347376625)
Output for 5.6.25
int(1116887074)
Output for 5.6.24
int(1203924641)
Output for 5.6.23
int(773424440)
Output for 5.6.22
int(1141292229)
Output for 5.6.21
int(41247699)
Output for 5.6.20
int(1356387526)
Output for 5.6.19
int(2663488)
Output for 5.6.18
int(2010192984)
Output for 5.6.17
int(1255895982)
Output for 5.6.16
int(1359910701)
Output for 5.6.15
int(767652539)
Output for 5.6.14
int(1065911307)
Output for 5.6.13
int(1028485533)
Output for 5.6.12
int(1914113135)
Output for 5.6.11
int(1221806683)
Output for 5.6.10
int(1014273339)
Output for 5.6.9
int(1846134102)
Output for 5.6.8
int(1622020980)
Output for 5.6.7
int(834898842)
Output for 5.6.6
int(1556986924)
Output for 5.6.5
int(1954036287)
Output for 5.6.4
int(899783449)
Output for 5.6.3
int(1933110434)
Output for 5.6.2
int(460067791)
Output for 5.6.1
int(1382056170)
Output for 5.6.0
int(2004919196)
Output for 5.5.38
int(2042795512)
Output for 5.5.37
int(1456182485)
Output for 5.5.36
int(1049269075)
Output for 5.5.35
int(774439512)
Output for 5.5.34
int(944949499)
Output for 5.5.33
int(370500200)
Output for 5.5.32
int(1593986825)
Output for 5.5.31
int(2112358486)
Output for 5.5.30
int(1413347178)
Output for 5.5.29
int(1050269184)
Output for 5.5.28
int(11730731)
Output for 5.5.27
int(144391517)
Output for 5.5.26
int(195212666)
Output for 5.5.25
int(1247942242)
Output for 5.5.24
int(1326468413)
Output for 5.5.23
int(570317725)
Output for 5.5.22
int(765439575)
Output for 5.5.21
int(453663912)
Output for 5.5.20
int(922461264)
Output for 5.5.19
int(754060762)
Output for 5.5.18
int(867893356)
Output for 5.5.16
int(1435899950)
Output for 5.5.15
int(1626332)
Output for 5.5.14
int(736705980)
Output for 5.5.13
int(315507750)
Output for 5.5.12
int(1623518424)
Output for 5.5.11
int(126086632)
Output for 5.5.10
int(383529893)
Output for 5.5.9
int(1972497672)
Output for 5.5.8
int(2055284324)
Output for 5.5.7
int(1879500657)
Output for 5.5.6
int(1541114032)
Output for 5.5.5
int(1203045100)
Output for 5.5.4
int(1315907082)
Output for 5.5.3
int(336758176)
Output for 5.5.2
int(384006429)
Output for 5.5.1
int(1086630411)
Output for 5.5.0
int(822997285)
Output for 5.4.45
int(452000734)
Output for 5.4.44
int(2015410189)
Output for 5.4.43
int(307945087)
Output for 5.4.42
int(1000835389)
Output for 5.4.41
int(1760027940)
Output for 5.4.40
int(25986294)
Output for 5.4.39
int(269790621)
Output for 5.4.38
int(1206277995)
Output for 5.4.37
int(128304817)
Output for 5.4.36
int(1556425882)
Output for 5.4.35
int(1548127648)
Output for 5.4.34
int(879091797)
Output for 5.4.32
int(726804159)
Output for 5.4.31
int(55116089)
Output for 5.4.30
int(584911038)
Output for 5.4.29
int(1740082843)
Output for 5.4.28
int(1323341584)
Output for 5.4.27
int(637823156)
Output for 5.4.26
int(1232064537)
Output for 5.4.25
int(1887486581)
Output for 5.4.24
int(920385821)
Output for 5.4.23
int(525778334)
Output for 5.4.22
int(1535133917)
Output for 5.4.21
int(259834352)
Output for 5.4.20
int(573682735)
Output for 5.4.19
int(425042130)
Output for 5.4.18
int(594956119)
Output for 5.4.17
int(1564936722)
Output for 5.4.16
int(1834004086)
Output for 5.4.15
int(1546816949)
Output for 5.4.14
int(1066400846)
Output for 5.4.13
int(1545246795)
Output for 5.4.12
int(955409007)
Output for 5.4.11
int(2117076334)
Output for 5.4.10
int(78356090)
Output for 5.4.9
int(1361580238)
Output for 5.4.8
int(132991500)
Output for 5.4.7
int(154927103)
Output for 5.4.6
int(298498970)
Output for 5.4.5
int(495744334)
Output for 5.4.4
int(934469579)
Output for 5.4.3
int(1535240620)
Output for 5.4.2
int(708640539)
Output for 5.4.1
int(933039092)
Output for 5.4.0
int(606864820)
Output for 5.3.29
int(1832164582)
Output for 5.3.28
int(1205496943)
Output for 5.3.27
int(1590947093)
Output for 5.3.26
int(1081690252)
Output for 5.3.25
int(601143796)
Output for 5.3.24
int(1701765031)
Output for 5.3.23
int(2032466860)
Output for 5.3.22
int(1505838346)
Output for 5.3.21
int(1551186006)
Output for 5.3.20
int(1805767418)
Output for 5.3.19
int(80800737)
Output for 5.3.18
int(1599739281)
Output for 5.3.17
int(1415754784)
Output for 5.3.16
int(932918245)
Output for 5.3.15
int(1780411603)
Output for 5.3.14
int(877527322)
Output for 5.3.13
int(82863740)
Output for 5.3.12
int(1601308155)
Output for 5.3.11
int(585922897)
Output for 5.3.10
int(969196278)
Output for 5.3.9
int(1515383443)
Output for 5.3.8
int(878185232)
Output for 5.3.7
int(433487541)
Output for 5.3.6
int(1675206237)
Output for 5.3.5
int(237687323)
Output for 5.3.4
int(649605816)
Output for 5.3.3
int(192872925)
Output for 5.3.2
int(2083864431)
Output for 5.3.1
int(1218980823)
Output for 5.3.0
int(1928297419)
Output for 5.2.17
int(1940492561)
Output for 5.2.16
int(930600417)
Output for 5.2.15
int(250385138)
Output for 5.2.14
int(1997586094)
Output for 5.2.13
int(284734875)
Output for 5.2.12
int(2141562016)
Output for 5.2.11
int(679776931)
Output for 5.2.10
int(1722407547)
Output for 5.2.9
int(269708900)
Output for 5.2.8
int(1466973851)
Output for 5.2.7
int(567268193)
Output for 5.2.6
int(156053184)
Output for 5.2.5
int(352965157)
Output for 5.2.4
int(236024447)
Output for 5.2.3
int(1797958859)
Output for 5.2.2
int(685056034)
Output for 5.2.1
int(25654965)
Output for 5.2.0
int(1180938737)
Output for 5.1.6
int(416709420)
Output for 5.1.5
int(491611510)
Output for 5.1.4
int(188300576)
Output for 5.1.3
int(1101543556)
Output for 5.1.2
int(198796236)
Output for 5.1.1
int(1647684921)
Output for 5.1.0
int(283501952)
Output for 5.0.5
int(494410593)
Output for 5.0.4
int(1867856686)
Output for 5.0.3
int(1543118397)
Output for 5.0.2
int(992665290)
Output for 5.0.1
int(429677999)
Output for 5.0.0
int(1694799447)
Output for 4.4.9
int(589509459)
Output for 4.4.8
int(400970306)
Output for 4.4.7
int(1299119864)
Output for 4.4.6
int(1708829698)
Output for 4.4.5
int(1121240394)
Output for 4.4.4
int(1078161286)
Output for 4.4.3
int(1442985584)
Output for 4.4.2
int(1632173843)
Output for 4.4.1
int(1684065107)
Output for 4.4.0
int(56395577)
Output for 4.3.11
int(65721654)
Output for 4.3.10
int(1131751281)
Output for 4.3.9
int(503133085)
Output for 4.3.8
int(269556604)
Output for 4.3.7
int(1990369025)
Output for 4.3.6
int(1134315387)
Output for 4.3.5
int(1120172680)
Output for 4.3.4
int(541792618)
Output for 4.3.3
int(643919215)
Output for 4.3.2
int(1455380701)
Output for 4.3.1
int(2072217791)
Output for 4.3.0
int(1910341638)