3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = microtime(); if(file_exists('foo.php')) {} $b = microtime(); echo $b - $a;
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/mUEtQ on line 9 Notice: A non well formed numeric value encountered in /in/mUEtQ on line 9 1.2E-5
Output for 7.0.14
1.2E-5
Output for 7.0.6
2.0999999999938E-5
Output for 7.0.5
1.0000000000003E-5
Output for 7.0.4
9.000000000009E-6
Output for 5.3.0, 5.3.12, 5.4.0, 5.4.9, 5.4.18, 5.4.25, 5.5.32, 7.0.3
1.7000000000045E-5
Output for 5.5.29, 7.0.2
9.0000000000368E-6
Output for 7.0.0 - 7.0.1
1.0999999999983E-5
Output for 5.2.7, 5.3.5, 5.3.16, 5.4.5, 5.4.23 - 5.4.24, 5.4.30, hhvm-3.12.0
2.2999999999995E-5
Output for hhvm-3.10.0
2.1000000000049E-5
Output for 5.6.16, 5.6.28
1.4E-5
Output for 5.6.14, 5.6.21
1.0000000000066E-5
Output for 5.2.6, 5.2.8, 5.4.32, 5.4.42, 5.5.30, 5.6.20
2.4000000000024E-5
Output for 5.6.19
3.3999999999978E-5
Output for 5.2.2, 5.6.8, 5.6.18
2.6999999999999E-5
Output for 5.6.17
1.3999999999958E-5
Output for 5.6.15
1.000000000001E-5
Output for 5.6.13
1.2999999999999E-5
Output for 5.6.12
2.1000000000021E-5
Output for 5.2.10, 5.4.41, 5.6.11
2.1999999999966E-5
Output for 5.4.28, 5.6.10
1.6999999999989E-5
Output for 5.6.9
9.9999999999545E-6
Output for 5.4.26, 5.5.35
2.0999999999993E-5
Output for 5.5.34
1.3000000000041E-5
Output for 5.5.33
2.4999999999997E-5
Output for 5.5.31
2.3000000000051E-5
Output for 5.2.11, 5.3.14, 5.4.3, 5.4.7, 5.5.28
1.7999999999962E-5
Output for 5.2.12, 5.2.14 - 5.2.15, 5.4.21, 5.5.27
1.4999999999987E-5
Output for 5.2.5, 5.2.16, 5.3.8, 5.3.10, 5.3.22, 5.4.11, 5.4.20, 5.4.27, 5.4.45, 5.5.26
1.8999999999991E-5
Output for 5.4.40, 5.5.25
1.299999999993E-5
Output for 5.5.24
1.2000000000012E-5
Output for 5.3.1 - 5.3.2, 5.3.18, 5.3.27, 5.4.2, 5.4.13, 5.4.19, 5.4.44
1.6000000000016E-5
Output for 5.3.17, 5.3.20 - 5.3.21, 5.4.8, 5.4.43
1.8000000000018E-5
Output for 5.4.39
3.7000000000009E-5
Output for 5.4.38
3.7999999999982E-5
Output for 5.4.37
3.9999999999998E-5
Output for 5.4.36
4.1999999999986E-5
Output for 5.4.35
4.0999999999985E-5
Output for 5.4.34
2.9999999999974E-5
Output for 5.4.31
2.2000000000008E-5
Output for 5.4.29
2.2000000000022E-5
Output for 5.2.9, 5.4.22
2.3999999999913E-5
Output for 5.3.9, 5.4.17
1.8000000000074E-5
Output for 5.2.4, 5.4.16
1.8000000000001E-5
Output for 5.4.15
1.6000000000002E-5
Output for 5.3.3, 5.4.12, 5.4.14
2.1999999999994E-5
Output for 5.4.10
1.599999999996E-5
Output for 5.4.6
2.5000000000053E-5
Output for 5.2.17, 5.4.4
2.000000000002E-5
Output for 5.3.11, 5.3.13, 5.4.1
1.6999999999934E-5
Output for 5.3.29
3.8000000000094E-5
Output for 5.3.28
3.1999999999921E-5
Output for 5.3.26
2.599999999997E-5
Output for 5.3.25
1.7999999999997E-5
Output for 5.3.24
1.5999999999988E-5
Output for 5.3.23
1.5000000000015E-5
Output for 5.3.19
1.9999999999964E-5
Output for 5.3.15
2.8000000000028E-5
Output for 5.3.7
2.1E-5
Output for 5.3.6
2.0000000000006E-5
Output for 5.3.4
2.3999999999996E-5
Output for 5.2.13
2.2000000000078E-5
Output for 5.2.3
1.8000000000004E-5
Output for 5.2.1
2.3999999999996E-05
Output for 5.2.0
0.00015000000000001
Output for 5.1.6
1.4000000000014E-05
Output for 5.1.5
1.599999999996E-05
Output for 5.0.5, 5.1.4
1.8000000000018E-05
Output for 5.1.3
1.5000000000043E-05
Output for 5.1.2
2.1000000000049E-05
Output for 4.3.3, 5.1.1
2.0999999999993E-05
Output for 5.1.0
1.8999999999991E-05
Output for 5.0.4
2.000000000002E-05
Output for 5.0.3
1.9000000000102E-05
Output for 5.0.2
2.4000000000024E-05
Output for 5.0.1
3.5999999999925E-05
Output for 5.0.0
2.9000000000057E-05
Output for 4.4.8 - 4.4.9
1.6000000000016E-05
Output for 4.4.7
1.6999999999934E-05
Output for 4.4.3, 4.4.6
2.2999999999995E-05
Output for 4.4.5
1.7999999999962E-05
Output for 4.4.4
1.7000000000045E-05
Output for 4.4.2
1.5E-05
Output for 4.3.11, 4.4.1
1.5000000000001E-05
Output for 4.4.0
1.6000000000002E-05
Output for 4.3.10
2.0000000000006E-05
Output for 4.3.9
3.2000000000004E-05
Output for 4.3.8
0.00037699999999999
Output for 4.3.7
3.3000000000005E-05
Output for 4.3.6
2.9000000000001E-05
Output for 4.3.5
3.299999999995E-05
Output for 4.3.4
3.7000000000009E-05
Output for 4.3.2
2.1999999999966E-05
Output for 4.3.1
2.6000000000026E-05
Output for 4.3.0
0.00578