3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = []; $b = []; // populate $a for ($i = 0;$i < 10000; $i++) { $a[$i] = null; } // populate $b for ($i = 10000; $i < 20000; $i++) { $b[$i] = null; } // intersection somewhere in the middle $intersect = rand(5000, 6000); $b[$intersect] = null; $timer = microtime(); if (!empty(array_intersect_key($a, $b))) { var_dump('Method 1: INTERSECTION FOUND! Timer: ', microtime() - $timer); } $timer = microtime(); foreach ($a as $key => $val) { if (array_key_exists($key, $b)) { var_dump('Method 2: INTERSECTION FOUND! Timer: ', microtime() - $timer); break; } }
Output for 7.3.1
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(5.7E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000254)
Output for 7.3.0
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(5.8E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000259)
Output for 7.2.13
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(7.3E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000271)
Output for 7.2.12
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(7.0E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000261)
Output for 7.2.11
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(9.0E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000453)
Output for 7.2.10
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000135) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000685)
Output for 7.2.9
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000105) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000386)
Output for 7.2.8
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.0001) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000328)
Output for 7.2.7
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(5.5E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000262)
Output for 7.2.6
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(6.5E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000315)
Output for 7.2.5
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(7.8E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000369)
Output for 7.2.4
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.0001) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00028)
Output for 7.2.3
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(9.7E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000301)
Output for 7.2.2
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(6.1E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000273)
Output for 7.2.1
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000115) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000552)
Output for 7.2.0
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(9.7E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000491)
Output for 7.1.25
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(5.1E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000446)
Output for 7.1.7
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(5.4E-5) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000155)
Output for 7.1.6
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000126) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000438)
Output for 7.1.5
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000145) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00037)
Output for 7.1.0
Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 21 string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000102) Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 Notice: A non well formed numeric value encountered in /in/OFYZQ on line 27 string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000295)
Output for 7.0.20
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(6.9E-5) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000153)
Output for 7.0.7
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000135) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00025700000000006)
Output for 7.0.6
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00014400000000003) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00032700000000002)
Output for 7.0.5
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013600000000002) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000247)
Output for 7.0.4
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00014099999999995) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00028899999999998)
Output for 7.0.3
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00018000000000007) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00029599999999996)
Output for 7.0.2
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013299999999994) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00022)
Output for 7.0.1
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00016800000000006) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00022699999999998)
Output for 7.0.0
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00017900000000004) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00042700000000007)
Output for 5.6.28
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000113) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000988)
Output for 5.6.22
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00025500000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001629)
Output for 5.6.21
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00031400000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000944)
Output for 5.6.20
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000166) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00875)
Output for 5.6.19
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00021699999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00135)
Output for 5.6.18
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013699999999994) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001632)
Output for 5.6.17
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00021399999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00091999999999998)
Output for 5.6.16
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000121) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00088)
Output for 5.6.15
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00015700000000002) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001172)
Output for 5.6.14
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00018099999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000804)
Output for 5.6.13
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00012999999999996) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000832)
Output for 5.6.12
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00010600000000005) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001209)
Output for 5.6.11
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00012900000000005) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001215)
Output for 5.6.10
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000139) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001274)
Output for 5.6.9
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013599999999997) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001032)
Output for 5.6.8
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00012400000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00088300000000008)
Output for 5.6.7
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013399999999997) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00098100000000001)
Output for 5.6.6
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00012500000000004) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00091100000000011)
Output for 5.6.5
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00017800000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001289)
Output for 5.6.4
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00015399999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001062)
Output for 5.6.3
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000197) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001706)
Output for 5.6.2
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00014599999999998) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00089800000000007)
Output for 5.6.1
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00018999999999991) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00087699999999991)
Output for 5.6.0
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00016099999999997) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00085800000000003)
Output for 5.5.36
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000292) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00134)
Output for 5.5.35
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.001109) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.003563)
Output for 5.5.34
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000198) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001191)
Output for 5.5.33
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00010899999999997) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001203)
Output for 5.5.32
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000116) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001071)
Output for 5.5.31
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00014999999999998) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.002867)
Output for 5.5.30
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000157) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001173)
Output for 5.5.29
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00025500000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.0010779999999999)
Output for 5.5.28
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00011300000000003) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00096099999999999)
Output for 5.5.27
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00026000000000004) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001097)
Output for 5.5.26
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013800000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000939)
Output for 5.5.25
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00015199999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00084399999999996)
Output for 5.5.24
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000111) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001086)
Output for 5.5.23
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00017600000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000942)
Output for 5.5.22
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00024000000000002) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00092800000000004)
Output for 5.5.21
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000196) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001769)
Output for 5.5.20
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013000000000002) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001148)
Output for 5.5.19
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00014700000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001255)
Output for 5.5.18
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00019599999999997) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001105)
Output for 5.5.16
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00017699999999998) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000912)
Output for 5.5.15
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00018699999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00091199999999997)
Output for 5.5.14
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000162) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00090400000000002)
Output for 5.5.13
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00018499999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001116)
Output for 5.5.12
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00013099999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001128)
Output for 5.5.11
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000249) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00087100000000001)
Output for 5.5.10
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00017200000000001) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00097400000000003)
Output for 5.5.9
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00026899999999996) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001174)
Output for 5.5.8
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00030700000000006) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.0016959999999999)
Output for 5.5.7
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00016800000000006) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.0013289999999999)
Output for 5.5.6
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00023099999999998) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00095200000000001)
Output for 5.5.5
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.000143) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001045)
Output for 5.5.4
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00011400000000006) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.0011289999999999)
Output for 5.5.3
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00019900000000006) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.00098299999999996)
Output for 5.5.2
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00018099999999999) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001094)
Output for 5.5.1
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00018200000000002) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.000857)
Output for 5.5.0
string(37) "Method 1: INTERSECTION FOUND! Timer: " float(0.00019400000000003) string(37) "Method 2: INTERSECTION FOUND! Timer: " float(0.001382)

preferences:
72.78 ms | 401 KiB | 95 Q