3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = microtime(); if(file_exists('foo.php')) {} $b = microtime(); echo $b - $a;
Output for 7.4.0
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.00011
Output for 7.3.12
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000109
Output for 7.3.11
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000116
Output for 7.3.10
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 8.0E-5
Output for 7.3.9
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000104
Output for 7.3.8
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000157
Output for 7.2.23, 7.3.7
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 8.1E-5
Output for 7.2.20, 7.3.6
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 9.6E-5
Output for 7.3.5
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 9.5E-5
Output for 7.3.4
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.0001
Output for 7.3.3
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 7.7E-5
Output for 7.3.2
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 7.3E-5
Output for 7.1.26, 7.3.1
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 6.6E-5
Output for 7.1.29, 7.3.0
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 8.5E-5
Output for 7.2.25
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000102
Output for 7.2.24
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000107
Output for 7.2.22
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 8.4E-5
Output for 7.2.21
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 8.2E-5
Output for 7.2.19
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 7.9E-5
Output for 7.2.18
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 7.0E-5
Output for 7.2.17
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 9.1E-5
Output for 7.2.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 2.9E-5
Output for 7.1.33
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 9.7E-5
Output for 7.1.32
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 8.7E-5
Output for 7.1.31
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000124
Output for 7.1.30
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 7.2E-5
Output for 7.1.28
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 6.4E-5
Output for 7.1.27
Warning: file_exists(): open_basedir restriction in effect. File(foo.php) is not within the allowed path(s): (/tmp:/in:/etc) in /in/mUEtQ on line 5 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 0.000119
Output for 7.1.7
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.6E-5
Output for 7.1.6
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 4.5000000000002E-5
Output for 7.1.5
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 3.6E-5
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.20
1.9E-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.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.2.7, 5.3.5, 5.3.16, 5.4.5, 5.4.23 - 5.4.24, 5.4.30
2.2999999999995E-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

preferences:
149.49 ms | 401 KiB | 205 Q