3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(rand(1, 1000000));
based on Bp0Np
Output for 7.1.0
int(434366)
Output for 7.0.14
int(941668)
Output for 7.0.6
int(478195)
Output for 7.0.5
int(619384)
Output for 7.0.4
int(304369)
Output for 7.0.3
int(996378)
Output for 7.0.2
int(133968)
Output for 7.0.1
int(491262)
Output for 7.0.0
int(587717)
Output for 5.6.28
int(336762)
Output for 5.6.21
int(342207)
Output for 5.6.20
int(834531)
Output for 5.6.19
int(495855)
Output for 5.6.18
int(696525)
Output for 5.6.17
int(40882)
Output for 5.6.16
int(764725)
Output for 5.6.15
int(587528)
Output for 5.6.14
int(899945)
Output for 5.6.13
int(550270)
Output for 5.6.12
int(388637)
Output for 5.6.11
int(355066)
Output for 5.6.10
int(989934)
Output for 5.6.9
int(88278)
Output for 5.6.8
int(538016)
Output for 5.5.35
int(146354)
Output for 5.5.34
int(437356)
Output for 5.5.33
int(748029)
Output for 5.5.32
int(694043)
Output for 5.5.31
int(85630)
Output for 5.5.30
int(1641)
Output for 5.5.29
int(100905)
Output for 5.5.28
int(843360)
Output for 5.5.27
int(785983)
Output for 5.5.26
int(122227)
Output for 5.5.25
int(717035)
Output for 5.5.24
int(44940)
Output for 5.4.45
int(241533)
Output for 5.4.44
int(535087)
Output for 5.4.43
int(371410)
Output for 5.4.42
int(724762)
Output for 5.4.41
int(9240)
Output for 5.4.40
int(320494)
Output for 5.4.39
int(192975)
Output for 5.4.38
int(632529)
Output for 5.4.37
int(932777)
Output for 5.4.36
int(74465)
Output for 5.4.35
int(184568)
Output for 5.4.34
int(658220)
Output for 5.4.32
int(860040)
Output for 5.4.31
int(442886)
Output for 5.4.30
int(265404)
Output for 5.4.29
int(493520)
Output for 5.4.28
int(485245)
Output for 5.4.27
int(323101)
Output for 5.4.26
int(457329)
Output for 5.4.25
int(971731)
Output for 5.4.24
int(401855)
Output for 5.4.23
int(748563)
Output for 5.4.22
int(50480)
Output for 5.4.21
int(20878)
Output for 5.4.20
int(906263)
Output for 5.4.19
int(615096)
Output for 5.4.18
int(16264)
Output for 5.4.17
int(690294)
Output for 5.4.16
int(710941)
Output for 5.4.15
int(480460)
Output for 5.4.14
int(598997)
Output for 5.4.13
int(333749)
Output for 5.4.12
int(257051)
Output for 5.4.11
int(770474)
Output for 5.4.10
int(786084)
Output for 5.4.9
int(446158)
Output for 5.4.8
int(845136)
Output for 5.4.7
int(489328)
Output for 5.4.6
int(53046)
Output for 5.4.5
int(620125)
Output for 5.4.4
int(195576)
Output for 5.4.3
int(41866)
Output for 5.4.2
int(178777)
Output for 5.4.1
int(528959)
Output for 5.4.0
int(648889)
Output for 5.3.29
int(573114)
Output for 5.3.28
int(742169)
Output for 5.3.27
int(488042)
Output for 5.3.26
int(408515)
Output for 5.3.25
int(657272)
Output for 5.3.24
int(495186)
Output for 5.3.23
int(600869)
Output for 5.3.22
int(843592)
Output for 5.3.21
int(390265)
Output for 5.3.20
int(351079)
Output for 5.3.19
int(793357)
Output for 5.3.18
int(220806)
Output for 5.3.17
int(421023)
Output for 5.3.16
int(764017)
Output for 5.3.15
int(287103)
Output for 5.3.14
int(668693)
Output for 5.3.13
int(22202)
Output for 5.3.12
int(445942)
Output for 5.3.11
int(474114)
Output for 5.3.10
int(87026)
Output for 5.3.9
int(576194)
Output for 5.3.8
int(830370)
Output for 5.3.7
int(328207)
Output for 5.3.6
int(768565)
Output for 5.3.5
int(847479)
Output for 5.3.4
int(592223)
Output for 5.3.3
int(229334)
Output for 5.3.2
int(242057)
Output for 5.3.1
int(157450)
Output for 5.3.0
int(612732)
Output for 5.2.17
int(515908)
Output for 5.2.16
int(204982)
Output for 5.2.15
int(83191)
Output for 5.2.14
int(783538)
Output for 5.2.13
int(236274)
Output for 5.2.12
int(44041)
Output for 5.2.11
int(239563)
Output for 5.2.10
int(103789)
Output for 5.2.9
int(362773)
Output for 5.2.8
int(928871)
Output for 5.2.7
int(631988)
Output for 5.2.6
int(671180)
Output for 5.2.5
int(396504)
Output for 5.2.4
int(667010)
Output for 5.2.3
int(852137)
Output for 5.2.2
int(477464)
Output for 5.2.1
int(8789)
Output for 5.2.0
int(500133)
Output for 5.1.6
int(875276)
Output for 5.1.5
int(352367)
Output for 5.1.4
int(268524)
Output for 5.1.3
int(312297)
Output for 5.1.2
int(851680)
Output for 5.1.1
int(414498)
Output for 5.1.0
int(864309)
Output for 5.0.5
int(630764)
Output for 5.0.4
int(597896)
Output for 5.0.3
int(673217)
Output for 5.0.2
int(158207)
Output for 5.0.1
int(473403)
Output for 5.0.0
int(930108)
Output for 4.4.9
int(21503)
Output for 4.4.8
int(7533)
Output for 4.4.7
int(563784)
Output for 4.4.6
int(591193)
Output for 4.4.5
int(346031)
Output for 4.4.4
int(888382)
Output for 4.4.3
int(367583)
Output for 4.4.2
int(918397)
Output for 4.4.1
int(885083)
Output for 4.4.0
int(431771)
Output for 4.3.11
int(39502)
Output for 4.3.10
int(929760)
Output for 4.3.9
int(765884)
Output for 4.3.8
int(147483)
Output for 4.3.7
int(752136)
Output for 4.3.6
int(171901)
Output for 4.3.5
int(513135)
Output for 4.3.4
int(859310)
Output for 4.3.3
int(163790)
Output for 4.3.2
int(727657)
Output for 4.3.1
int(331929)
Output for 4.3.0
int(795185)