3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $time = microtime(); for($i=0; $i < 1000; $i++) { rand(1,9999999); } echo $time = (microtime()-$time)/1000; $time = microtime(); for($i=0; $i < 1000; $i++) { mt_rand(1,9999999); } echo $time = (microtime()-$time)/1000;
based on U84O8
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/CbAlM on line 7 Notice: A non well formed numeric value encountered in /in/CbAlM on line 7 1.28E-7 Notice: A non well formed numeric value encountered in /in/CbAlM on line 13 Notice: A non well formed numeric value encountered in /in/CbAlM on line 13 1.34E-7
Output for 7.0.14
1.09E-71.06E-7
Output for 7.0.6
1.0299999999999E-78.7000000000004E-8
Output for 7.0.5
8.7000000000004E-88.7000000000004E-8
Output for 7.0.4
1.0100000000002E-78.4000000000001E-8
Output for 7.0.3
6.8000000000012E-86.4000000000009E-8
Output for 7.0.2
9.7000000000014E-88.9000000000006E-8
Output for 7.0.1
7.9999999999969E-86.3999999999953E-8
Output for 7.0.0
7.0000000000014E-85.5999999999945E-8
Output for 5.6.28
2.72E-72.53E-7
Output for 5.6.21
2.3999999999991E-71.3699999999994E-7
Output for 5.6.20
1.97E-71.7899999999998E-7
Output for 5.6.19
1.2299999999998E-71.0999999999994E-7
Output for 5.6.18
1.6000000000005E-71.4100000000006E-7
Output for 5.6.17
1.2899999999993E-71.1499999999998E-7
Output for 5.6.16
1.6099999999997E-71.6000000000005E-7
Output for 5.6.15
1.7899999999993E-71.5999999999994E-7
Output for 5.6.14
1.1700000000003E-71.0999999999994E-7
Output for 5.6.13
1.2400000000001E-71.1300000000003E-7
Output for 5.6.12
1.2400000000001E-71.13E-7
Output for 5.6.11
1.9999999999998E-71.7600000000006E-7
Output for 5.6.10
2.0100000000001E-72.0700000000001E-7
Output for 5.6.9
1.2199999999996E-71.0700000000002E-7
Output for 5.6.8
1.3999999999992E-71.08E-7
Output for 5.5.35
1.8299999999999E-71.6699999999997E-7
Output for 5.5.34
1.7800000000001E-71.4599999999998E-7
Output for 5.5.33
1.3000000000007E-71.2999999999996E-7
Output for 5.5.32
1.9000000000002E-71.6499999999997E-7
Output for 5.5.31
1.3000000000002E-71.2200000000001E-7
Output for 5.5.30
2.0100000000001E-71.7800000000001E-7
Output for 5.5.29
2.0799999999999E-72.0299999999995E-7
Output for 5.5.28
1.2699999999999E-71.14E-7
Output for 5.5.27
1.9200000000008E-71.7400000000001E-7
Output for 5.5.26
2.0299999999999E-71.76E-7
Output for 5.5.25
1.62E-71.5100000000001E-7
Output for 5.5.24
1.8599999999991E-72.0199999999992E-7
Output for 5.4.45
1.0699999999997E-78.8000000000032E-8
Output for 5.4.44
2.2599999999995E-72.2800000000001E-7
Output for 5.4.43
2.1300000000002E-71.8400000000007E-7
Output for 5.4.42
2.0899999999999E-72.7199999999999E-7
Output for 5.4.41
2.8300000000001E-72.3000000000001E-7
Output for 5.4.40
2.5900000000001E-73.1599999999998E-7
Output for 5.4.39
2.88E-71.81E-7
Output for 5.4.38
3.9200000000006E-73.9E-7
Output for 5.4.37
2.34E-72.67E-7
Output for 5.4.36
3.4899999999993E-74.2699999999996E-7
Output for 5.4.35
2.2800000000001E-72.4099999999999E-7
Output for 5.4.34
2.089999999999E-72.47E-7
Output for 5.4.32
1.68E-71.5799999999999E-7
Output for 5.4.31
1.7100000000003E-71.4099999999995E-7
Output for 5.4.30
1.6899999999997E-71.4999999999998E-7
Output for 5.4.29
1.7400000000001E-72.0000000000009E-7
Output for 5.4.28
1.5100000000001E-71.39E-7
Output for 5.4.27
1.8000000000007E-71.3599999999991E-7
Output for 5.4.26
1.5699999999996E-71.9799999999992E-7
Output for 5.4.25
1.8200000000002E-72.2800000000001E-7
Output for 5.4.24
1.5600000000004E-71.39E-7
Output for 5.4.23
1.5100000000001E-71.7900000000004E-7
Output for 5.4.22
1.6899999999997E-71.35E-7
Output for 5.4.21
1.66E-71.82E-7
Output for 5.4.20
1.69E-71.66E-7
Output for 5.4.19
1.79E-71.3299999999999E-7
Output for 5.4.18
1.5699999999999E-71.38E-7
Output for 5.4.17
1.5599999999999E-71.63E-7
Output for 5.4.16
1.5599999999999E-71.5599999999999E-7
Output for 5.4.15
2.9000000000001E-72.9399999999996E-7
Output for 5.4.14
1.5999999999999E-71.6500000000003E-7
Output for 5.4.13
1.7400000000001E-71.5799999999999E-7
Output for 5.4.12
3.1799999999998E-71.5300000000001E-7
Output for 5.4.11
1.6899999999997E-71.9800000000003E-7
Output for 5.4.10
1.8999999999991E-71.7600000000006E-7
Output for 5.4.9
1.8699999999994E-71.4599999999998E-7
Output for 5.4.8
1.5999999999994E-71.66E-7
Output for 5.4.7
1.9099999999994E-71.8700000000005E-7
Output for 5.4.6
1.7800000000001E-72.2199999999994E-7
Output for 5.4.5
1.5699999999996E-71.4899999999995E-7
Output for 5.4.4
2.78E-72.8600000000001E-7
Output for 5.4.3
1.580000000001E-71.8600000000002E-7
Output for 5.4.2
1.66E-71.5600000000004E-7
Output for 5.4.1
1.5799999999999E-71.8099999999999E-7
Output for 5.4.0
1.6400000000005E-71.4100000000006E-7
Output for 5.3.29
1.72E-71.67E-7
Output for 5.3.28
1.8599999999999E-71.5799999999999E-7
Output for 5.3.27
1.8599999999999E-71.55E-7
Output for 5.3.26
1.8399999999999E-71.5399999999999E-7
Output for 5.3.25
1.7300000000001E-71.5100000000001E-7
Output for 5.3.24
1.7699999999998E-71.6300000000002E-7
Output for 5.3.23
1.7600000000001E-71.5900000000002E-7
Output for 5.3.22
1.8499999999999E-72.4299999999999E-7
Output for 5.3.21
1.91E-71.8800000000002E-7
Output for 5.3.20
1.95E-72.0300000000001E-7
Output for 5.3.19
1.97E-71.6100000000002E-7
Output for 5.3.18
1.8899999999999E-71.6099999999997E-7
Output for 5.3.17
1.9899999999995E-71.6300000000002E-7
Output for 5.3.16
1.8300000000004E-71.66E-7
Output for 5.3.15
1.8200000000002E-72.1500000000008E-7
Output for 5.3.14
1.97E-72.4499999999994E-7
Output for 5.3.13
1.8799999999997E-71.7299999999998E-7
Output for 5.3.12
3.0799999999997E-73.5399999999997E-7
Output for 5.3.11
1.9399999999992E-71.7E-7
Output for 5.3.10
2.0500000000001E-71.6099999999997E-7
Output for 5.3.9
3.0600000000003E-72.8699999999993E-7
Output for 5.3.8
1.88E-71.95E-7
Output for 5.3.7
2.07E-71.99E-7
Output for 5.3.6
1.8800000000001E-71.91E-7
Output for 5.3.5
2.0300000000001E-71.8100000000001E-7
Output for 5.3.4
2.1099999999999E-72.24E-7
Output for 5.3.3
2.0299999999995E-72.1399999999999E-7
Output for 5.3.2
2.0099999999995E-71.9599999999997E-7
Output for 5.3.1
2.18E-71.8100000000004E-7
Output for 5.3.0
1.7899999999998E-71.6900000000003E-7
Output for 5.2.17
2.1100000000002E-72.1500000000002E-7
Output for 5.2.16
1.8699999999999E-72.0900000000001E-7
Output for 5.2.15
2.0999999999993E-71.8699999999994E-7
Output for 5.2.14
1.9800000000003E-71.7099999999992E-7
Output for 5.2.13
1.97E-72.0500000000001E-7
Output for 5.2.12
1.9999999999998E-71.8600000000002E-7
Output for 5.2.11
2.2199999999994E-71.7100000000003E-7
Output for 5.2.10
1.9900000000006E-71.7100000000003E-7
Output for 5.2.9
1.8299999999993E-72.7600000000005E-7
Output for 5.2.8
2.9699999999999E-72.9499999999993E-7
Output for 5.2.7
1.9400000000003E-71.8600000000002E-7
Output for 5.2.6
2.1499999999997E-71.7E-7
Output for 5.2.5
1.8899999999999E-71.8600000000002E-7
Output for 5.2.4
2.0500000000001E-71.8799999999997E-7
Output for 5.2.3
2.0699999999996E-71.97E-7
Output for 5.2.2
2.15E-72.11E-7
Output for 5.2.1
2.23E-072.18E-07
Output for 5.2.0
1.8E-072.66E-07
Output for 5.1.6
3.1E-073.05E-07
Output for 5.1.5
3.1200000000001E-072.9899999999999E-07
Output for 5.1.4
1.94E-071.63E-07
Output for 5.1.3
3.4500000000004E-073.2300000000002E-07
Output for 5.1.2
3.32E-073.36E-07
Output for 5.1.1
3.34E-073.4700000000004E-07
Output for 5.1.0
3.1600000000004E-073.05E-07
Output for 5.0.5
3.1199999999998E-072.8899999999998E-07
Output for 5.0.4
2.6600000000004E-073.07E-07
Output for 5.0.3
2.8499999999998E-073.36E-07
Output for 5.0.2
4.7900000000001E-074.3699999999991E-07
Output for 5.0.1
2.8099999999998E-072.6399999999993E-07
Output for 5.0.0
3.1300000000001E-072.8600000000001E-07
Output for 4.4.9
2.8299999999992E-072.7999999999995E-07
Output for 4.4.8
4.8100000000006E-075.0000000000006E-07
Output for 4.4.7
2.9000000000001E-072.5799999999998E-07
Output for 4.4.6
2.7499999999991E-072.9200000000007E-07
Output for 4.4.5
2.47E-072.7699999999997E-07
Output for 4.4.4
4.6299999999999E-074.5700000000004E-07
Output for 4.4.3
3.1600000000009E-072.8299999999992E-07
Output for 4.4.2
2.6500000000007E-072.9599999999996E-07
Output for 4.4.1
2.6899999999996E-072.9099999999993E-07
Output for 4.4.0
2.78E-072.4000000000002E-07
Output for 4.3.11
2.6099999999996E-072.6399999999993E-07
Output for 4.3.10
2.8799999999995E-072.7600000000005E-07
Output for 4.3.9
2.9900000000005E-072.5500000000001E-07
Output for 4.3.8
2.8300000000003E-072.78E-07
Output for 4.3.7
2.7600000000005E-072.7699999999997E-07
Output for 4.3.6
2.8899999999998E-072.6999999999999E-07
Output for 4.3.5
2.9199999999996E-072.7500000000003E-07
Output for 4.3.4
2.55E-072.45E-07
Output for 4.3.3
3.17E-073.39E-07
Output for 4.3.2
1.478E-061.897E-06
Output for 4.3.1
1.506E-061.809E-06
Output for 4.3.0
1.335E-061.671E-06