3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = rand(100, 500); var_dump($a);
based on tUNJ4
Output for 7.1.0
int(463)
Output for 7.0.14
int(426)
Output for 7.0.6
int(292)
Output for 5.5.25, 7.0.5
int(313)
Output for 7.0.4
int(362)
Output for 5.4.8, 7.0.3
int(156)
Output for 7.0.2
int(314)
Output for 4.3.6, 5.2.14, 7.0.1
int(125)
Output for 5.2.16, 7.0.0
int(294)
Output for 5.2.2, hhvm-3.12.0
int(298)
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
int(311)
Output for 5.4.28, 5.6.21
int(279)
Output for 5.5.31, 5.6.20
int(120)
Output for 5.6.19
int(382)
Output for 5.6.18
int(447)
Output for 4.4.6, 5.3.9, 5.6.17
int(300)
Output for 5.6.16
int(168)
Output for 5.6.15
int(143)
Output for 5.0.4, 5.6.14
int(115)
Output for 5.1.1, 5.3.22, 5.6.13
int(108)
Output for 5.3.10, 5.6.12
int(438)
Output for 5.6.11
int(157)
Output for 5.3.4, 5.6.10
int(212)
Output for 5.6.9
int(151)
Output for 5.2.13, 5.6.8
int(499)
Output for 5.6.7
int(229)
Output for 5.5.35
int(464)
Output for 5.4.31, 5.5.34
int(427)
Output for 5.5.33
int(237)
Output for 5.4.18, 5.5.32
int(182)
Output for 5.3.23, 5.4.7, 5.5.30
int(365)
Output for 5.5.29
int(448)
Output for 5.5.28
int(105)
Output for 5.5.27
int(275)
Output for 5.5.26
int(403)
Output for 5.3.27, 5.5.24
int(496)
Output for 5.4.45
int(373)
Output for 5.4.44
int(408)
Output for 5.4.32, 5.4.43
int(322)
Output for 5.4.11, 5.4.42
int(225)
Output for 5.4.41
int(118)
Output for 5.4.40
int(259)
Output for 5.4.39
int(243)
Output for 5.4.38
int(328)
Output for 5.4.37
int(122)
Output for 5.4.36
int(184)
Output for 5.4.35
int(405)
Output for 4.3.3, 5.4.34
int(441)
Output for 5.4.30
int(233)
Output for 5.4.25, 5.4.29
int(256)
Output for 5.4.21, 5.4.27
int(158)
Output for 5.4.26
int(307)
Output for 5.4.1, 5.4.24
int(378)
Output for 5.4.23
int(248)
Output for 4.4.0, 5.4.22
int(399)
Output for 5.4.20
int(489)
Output for 4.3.0, 5.4.19
int(477)
Output for 5.4.17
int(394)
Output for 5.4.16
int(354)
Output for 5.4.15
int(423)
Output for 5.4.14
int(258)
Output for 5.4.13
int(372)
Output for 5.4.12
int(355)
Output for 5.4.10
int(130)
Output for 5.4.9
int(149)
Output for 5.4.6
int(190)
Output for 5.4.5
int(231)
Output for 5.4.4
int(456)
Output for 5.4.3
int(442)
Output for 5.4.2
int(459)
Output for 5.4.0
int(172)
Output for 5.3.29
int(458)
Output for 4.3.11, 5.3.28
int(475)
Output for 5.3.26
int(413)
Output for 5.3.25
int(100)
Output for 5.3.24
int(277)
Output for 5.3.21
int(306)
Output for 5.3.20
int(331)
Output for 5.3.19
int(235)
Output for 5.3.18
int(205)
Output for 5.3.17
int(107)
Output for 5.3.16
int(175)
Output for 5.3.15
int(497)
Output for 5.3.14
int(334)
Output for 5.3.13
int(348)
Output for 5.3.12
int(228)
Output for 5.3.11
int(179)
Output for 5.0.1, 5.3.8
int(230)
Output for 5.3.7
int(171)
Output for 5.3.6
int(417)
Output for 5.3.5
int(217)
Output for 5.3.3
int(329)
Output for 5.3.2
int(308)
Output for 5.3.1
int(451)
Output for 5.3.0
int(268)
Output for 5.2.17
int(222)
Output for 5.2.15
int(147)
Output for 5.2.12
int(342)
Output for 5.2.11
int(457)
Output for 5.2.10
int(380)
Output for 5.2.9
int(419)
Output for 5.2.8
int(140)
Output for 5.2.7
int(202)
Output for 4.3.4, 5.2.6
int(367)
Output for 5.2.5
int(162)
Output for 5.2.4
int(436)
Output for 5.2.3
int(283)
Output for 5.2.1
int(485)
Output for 5.2.0
int(174)
Output for 5.1.6
int(276)
Output for 5.1.5
int(344)
Output for 4.3.10, 5.1.4
int(351)
Output for 5.1.3
int(103)
Output for 5.1.2
int(482)
Output for 5.1.0
int(271)
Output for 5.0.5
int(317)
Output for 5.0.3
int(480)
Output for 5.0.2
int(325)
Output for 5.0.0
int(145)
Output for 4.4.9
int(352)
Output for 4.4.8
int(402)
Output for 4.4.7
int(267)
Output for 4.4.5
int(138)
Output for 4.4.4
int(169)
Output for 4.4.3
int(260)
Output for 4.4.2
int(135)
Output for 4.4.1
int(425)
Output for 4.3.9
int(301)
Output for 4.3.8
int(146)
Output for 4.3.7
int(274)
Output for 4.3.5
int(288)
Output for 4.3.2
int(324)
Output for 4.3.1
int(359)