3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = rand(1000, 5000)/10; var_dump($a);
based on A5HHh
Output for 7.2.0
float(320.6)
Output for 5.6.11, 7.1.7
float(105.2)
Output for 7.1.6
float(366.2)
Output for 7.1.5
float(354.5)
Output for 7.1.0
float(435.2)
Output for 7.0.20
float(449.6)
Output for 7.0.14
int(245)
Output for 7.0.6
float(420.2)
Output for 7.0.5
float(287.4)
Output for 5.4.24, 7.0.4
float(236.4)
Output for 7.0.3
float(195.2)
Output for 5.3.25, 7.0.2
float(415.1)
Output for 7.0.1
float(394.6)
Output for 7.0.0
float(280.4)
Output for 5.6.28
float(201.8)
Output for 5.6.21
float(261.7)
Output for 5.6.20
float(129.2)
Output for 5.6.19
float(332.6)
Output for 5.6.18
float(382.4)
Output for 5.6.17
float(295.8)
Output for 5.6.16
float(420.9)
Output for 5.6.15
float(357.2)
Output for 5.4.6, 5.6.14
float(126.4)
Output for 5.6.13
int(178)
Output for 5.6.12
int(462)
Output for 5.6.10
float(327.6)
Output for 5.6.9
float(224.7)
Output for 5.6.8
float(462.1)
Output for 5.6.7
float(409.4)
Output for 5.5.35
float(282.3)
Output for 5.5.34
float(107.1)
Output for 5.5.33
float(115.4)
Output for 5.5.32
float(213.9)
Output for 5.5.31
float(314.4)
Output for 5.5.30
int(453)
Output for 5.5.29
float(297.6)
Output for 5.5.28
float(265.5)
Output for 5.5.27
float(204.2)
Output for 5.5.26
float(420.8)
Output for 5.5.25
int(301)
Output for 5.5.24
float(189.3)
Output for 5.4.45
float(162.7)
Output for 5.4.44
float(499.1)
Output for 5.4.43
float(499.3)
Output for 5.4.42
float(475.5)
Output for 5.4.41
float(192.8)
Output for 5.4.40
float(167.2)
Output for 5.4.39
float(288.1)
Output for 5.4.38
float(154.7)
Output for 5.4.37
float(307.2)
Output for 5.4.36
float(438.4)
Output for 5.4.35
float(129.9)
Output for 5.4.34
float(173.6)
Output for 5.4.32
float(493.3)
Output for 5.4.31
float(359.6)
Output for 5.4.30
float(200.2)
Output for 5.4.29
float(432.4)
Output for 5.4.28
float(272.2)
Output for 5.4.27
float(222.8)
Output for 5.4.26
float(306.5)
Output for 5.4.25
float(200.4)
Output for 5.4.23
float(282.5)
Output for 5.4.22
float(214.3)
Output for 5.4.21
float(389.9)
Output for 5.4.20
float(399.6)
Output for 5.4.19
int(479)
Output for 4.4.8, 5.4.18
int(362)
Output for 5.4.17
float(318.9)
Output for 5.4.16
float(497.3)
Output for 5.4.15
float(262.2)
Output for 5.4.14
float(451.1)
Output for 5.4.13
float(499.6)
Output for 5.4.12
float(127.8)
Output for 5.4.11
float(108.2)
Output for 5.4.10
int(392)
Output for 5.4.9
float(148.3)
Output for 5.4.8
float(179.3)
Output for 5.4.7
float(270.8)
Output for 5.4.5
float(352.7)
Output for 5.4.4
float(499.8)
Output for 5.4.3
float(359.9)
Output for 5.4.2
float(333.3)
Output for 5.4.1
float(429.1)
Output for 5.4.0
float(284.6)
Output for 5.3.29
int(173)
Output for 5.3.28
float(111.5)
Output for 5.3.27
float(391.2)
Output for 5.3.26
float(311.7)
Output for 5.3.24
float(249.4)
Output for 5.3.23
float(287.8)
Output for 5.3.22
float(284.8)
Output for 5.3.21
float(345.4)
Output for 5.3.20
int(400)
Output for 5.3.19
float(161.4)
Output for 5.3.18
float(103.7)
Output for 5.3.17
float(181.6)
Output for 5.3.16
float(395.3)
Output for 5.3.15
float(148.8)
Output for 5.3.14
float(123.6)
Output for 5.3.13
float(451.7)
Output for 5.3.12
int(213)
Output for 5.3.11
float(337.4)
Output for 5.3.10
int(194)
Output for 5.3.9
int(252)
Output for 5.3.8
float(255.5)
Output for 5.3.7
float(157.4)
Output for 5.3.6
float(390.9)
Output for 5.3.5
float(343.1)
Output for 5.3.4
float(137.1)
Output for 5.3.3
float(292.1)
Output for 5.3.2
float(394.7)
Output for 5.3.1
float(394.8)
Output for 5.3.0
float(108.5)
Output for 5.2.17
int(357)
Output for 5.2.16
float(400.8)
Output for 5.2.15
float(194.1)
Output for 5.2.14
float(205.8)
Output for 5.2.13
int(397)
Output for 5.2.12
float(188.2)
Output for 5.2.11
float(205.2)
Output for 5.2.10
float(303.2)
Output for 5.2.9
float(386.4)
Output for 5.2.8
float(291.8)
Output for 5.2.7
float(360.5)
Output for 5.2.6
float(465.8)
Output for 5.2.5
float(493.6)
Output for 5.2.4
float(446.6)
Output for 5.2.3
float(484.3)
Output for 5.2.2
float(248.3)
Output for 5.2.1
float(373.1)
Output for 5.2.0
float(199.6)
Output for 5.1.6
float(153.8)
Output for 5.1.5
float(279.5)
Output for 5.1.4
float(339.9)
Output for 5.1.3
float(434.7)
Output for 5.1.2
float(399.8)
Output for 5.1.1
float(112.1)
Output for 5.1.0
float(375.8)
Output for 5.0.5
float(284.4)
Output for 5.0.4
float(209.5)
Output for 5.0.3
float(279.4)
Output for 5.0.2
float(236.3)
Output for 5.0.1
float(190.7)
Output for 5.0.0
float(362.4)
Output for 4.4.9
float(351.7)
Output for 4.4.7
float(195.4)
Output for 4.4.6
float(243.9)
Output for 4.4.5
float(286.3)
Output for 4.4.4
float(218.8)
Output for 4.4.3
float(446.9)
Output for 4.4.2
float(392.4)
Output for 4.4.1
float(158.2)
Output for 4.4.0
float(452.6)
Output for 4.3.11
float(390.7)
Output for 4.3.10
float(135.8)
Output for 4.3.9
float(391.7)
Output for 4.3.8
float(344.6)
Output for 4.3.7
float(132.1)
Output for 4.3.6
float(201.2)
Output for 4.3.5
float(240.1)
Output for 4.3.4
float(428.3)
Output for 4.3.3
int(467)
Output for 4.3.2
float(271.6)
Output for 4.3.1
float(481.4)
Output for 4.3.0
float(346.2)