3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $c = array_combine(range(0, 1000), range(0, 1000)); $a = microtime(); isset($c[500]); $b = microtime(); echo $b - $a;
based on eKPWU
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/ILnJn on line 11 Notice: A non well formed numeric value encountered in /in/ILnJn on line 11 8.0000000000002E-6
Output for 7.0.14
7.0000000000001E-6
Output for 7.0.6
4.000000000004E-6
Output for 5.6.14, 5.6.19, 7.0.3, 7.0.5
6.000000000006E-6
Output for 7.0.4
5.0000000000328E-6
Output for 5.2.16, 5.3.3, 5.3.19, 5.3.21, 5.3.23, 5.4.13, 5.6.8, 5.6.16, 5.6.18, 5.6.21, 7.0.2
1.000000000001E-5
Output for 5.5.24, 5.5.33, 5.5.35, hhvm-3.10.0, 7.0.0 - 7.0.1
8.000000000008E-6
Output for 5.2.7, 5.2.11, 5.3.10, 5.3.15, 5.4.0, 5.4.6, 5.4.9, 5.4.17, 5.4.24, 5.4.30, 5.4.32, hhvm-3.12.0
1.2000000000012E-5
Output for 5.6.28
8.9999999999995E-6
Output for 5.6.7, 5.6.20
7.000000000007E-6
Output for 5.3.11, 5.5.26, 5.6.13, 5.6.17
8.9999999999257E-6
Output for 5.6.15
5.9999999999505E-6
Output for 5.5.25, 5.5.30 - 5.5.32, 5.6.12
9.0000000000368E-6
Output for 5.6.11
5.000000000005E-6
Output for 5.6.10
8.9999999999812E-6
Output for 5.5.29, 5.5.34, 5.6.9
6.9999999999792E-6
Output for 5.5.28
7.9999999999802E-6
Output for 5.5.27
5.9999999999991E-6
Output for 5.2.6, 5.2.8, 5.2.12, 5.3.0, 5.3.2, 5.3.13, 5.3.20, 5.3.22, 5.3.25, 5.3.29, 5.4.11, 5.4.22, 5.4.26 - 5.4.27, 5.4.29, 5.4.45
1.0999999999983E-5
Output for 5.4.44
1.3999999999986E-5
Output for 5.4.43
1.5999999999905E-5
Output for 5.4.42
1.3000000000013E-5
Output for 5.4.41
1.5000000000001E-5
Output for 5.3.28, 5.4.40
2.6999999999999E-5
Output for 5.4.39
1.4999999999987E-5
Output for 5.4.38
2.2999999999995E-5
Output for 5.4.37
3.0999999999892E-5
Output for 5.4.36
3.2000000000032E-5
Output for 5.4.34 - 5.4.35
2.3999999999913E-5
Output for 5.2.3, 5.4.31
1.3999999999958E-5
Output for 5.4.4, 5.4.8, 5.4.28
1.1999999999901E-5
Output for 5.4.25
2.599999999997E-5
Output for 5.3.18, 5.4.7, 5.4.23
1.0000000000066E-5
Output for 5.4.21
2.1E-5
Output for 5.3.6, 5.3.27, 5.4.20
1.0999999999997E-5
Output for 5.4.19
9.9999999999961E-6
Output for 5.4.18
1.1000000000011E-5
Output for 5.3.4 - 5.3.5, 5.3.26, 5.4.16
1.1999999999984E-5
Output for 5.4.15
1.4000000000014E-5
Output for 5.2.17, 5.3.1, 5.4.14
1.1000000000039E-5
Output for 5.4.12
1.1999999999956E-5
Output for 5.2.4 - 5.2.5, 5.2.10, 5.2.13, 5.2.15, 5.3.12, 5.3.14, 5.3.17, 5.4.10
9.9999999999545E-6
Output for 5.3.16, 5.4.2, 5.4.5
1.1000000000094E-5
Output for 5.4.3
1.3000000000041E-5
Output for 5.2.2, 5.2.14, 5.4.1
1.299999999993E-5
Output for 5.3.24
9.000000000009E-6
Output for 5.3.9
1.6000000000016E-5
Output for 5.3.8
1.1E-5
Output for 5.3.7
1.2000000000005E-5
Output for 5.2.9
2.5000000000053E-5
Output for 5.2.1
1.2000000000002E-05
Output for 5.0.4, 5.2.0
1.000000000001E-05
Output for 5.1.6
8.9999999999951E-06
Output for 5.1.5
1.1000000000011E-05
Output for 5.1.3 - 5.1.4
9.9999999999822E-06
Output for 5.1.2
9.000000000009E-06
Output for 5.1.0 - 5.1.1
8.000000000008E-06
Output for 5.0.5
1.2000000000012E-05
Output for 5.0.3
1.2999999999985E-05
Output for 5.0.1 - 5.0.2
1.4999999999987E-05
Output for 5.0.0
1.5999999999905E-05
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: array_combine() in /in/ILnJn on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: array_combine() in /in/ILnJn on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: array_combine() in /in/ILnJn on line 3