3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function one($s, $p) { return array_intersect_key($s, array_flip($p)); } function two($s, $p) { foreach($s as $key => $value) { if(!array_key_exists($key, $p)) { unset($s[$key]); } } return $s; } function benchmark(callable $function, $args=null, $count=1) { $time = microtime(1); for($i=0; $i<$count; $i++) { $result = is_array($args)? call_user_func_array($function, $args): call_user_func_array($function); } return [ 'total_time' => microtime(1) - $time, 'average_time' => (microtime(1) - $time)/$count, 'count' => $count ]; } $searchParameters = array( 'parameter1' => 'value1', 'parameter2' => 'value2', 'parameter3' => 'value3', ); $allowedParamters = array('parameter1','parameter2'); //set_time_limit(0); echo('array_intersect'.PHP_EOL); var_dump(benchmark('one', [$searchParameters, $allowedParamters], 1E6)); echo('foreach'.PHP_EOL); var_dump(benchmark('two', [$searchParameters, $allowedParamters], 1E6));
Output for 7.1.0
array_intersect array(3) { ["total_time"]=> float(0.2743079662323) ["average_time"]=> float(2.7430891990662E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.29377889633179) ["average_time"]=> float(2.937798500061E-7) ["count"]=> float(1000000) }
Output for 7.0.14
array_intersect array(3) { ["total_time"]=> float(0.025568962097168) ["average_time"]=> float(2.5568008422852E-8) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(-0.42851495742798) ["average_time"]=> float(-4.2851495742798E-7) ["count"]=> float(1000000) }
Output for 7.0.10
array_intersect array(3) { ["total_time"]=> float(0.26008200645447) ["average_time"]=> float(2.6008200645447E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.34231805801392) ["average_time"]=> float(3.4231901168823E-7) ["count"]=> float(1000000) }
Output for 7.0.9
array_intersect array(3) { ["total_time"]=> float(0.29642987251282) ["average_time"]=> float(2.9642987251282E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.34993195533752) ["average_time"]=> float(3.4993314743042E-7) ["count"]=> float(1000000) }
Output for 7.0.8
array_intersect array(3) { ["total_time"]=> float(0.27145195007324) ["average_time"]=> float(2.7145314216614E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.37022089958191) ["average_time"]=> float(3.702220916748E-7) ["count"]=> float(1000000) }
Output for 7.0.7
array_intersect array(3) { ["total_time"]=> float(0.26439380645752) ["average_time"]=> float(2.6439380645752E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.34748291969299) ["average_time"]=> float(3.4748291969299E-7) ["count"]=> float(1000000) }
Output for 7.0.6
array_intersect array(3) { ["total_time"]=> float(0.29514312744141) ["average_time"]=> float(2.9514408111572E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.35823011398315) ["average_time"]=> float(3.5823106765747E-7) ["count"]=> float(1000000) }
Output for 7.0.5
array_intersect array(3) { ["total_time"]=> float(0.26989603042603) ["average_time"]=> float(2.6989603042603E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.35006093978882) ["average_time"]=> float(3.5006213188171E-7) ["count"]=> float(1000000) }
Output for 7.0.4
array_intersect array(3) { ["total_time"]=> float(0.2661759853363) ["average_time"]=> float(2.6617693901062E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.35396504402161) ["average_time"]=> float(3.5396504402161E-7) ["count"]=> float(1000000) }
Output for 7.0.3
array_intersect array(3) { ["total_time"]=> float(0.38932299613953) ["average_time"]=> float(3.8932394981384E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.30379700660706) ["average_time"]=> float(3.0379796028137E-7) ["count"]=> float(1000000) }
Output for 7.0.2
array_intersect array(3) { ["total_time"]=> float(0.28367304801941) ["average_time"]=> float(2.8367400169373E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.35035300254822) ["average_time"]=> float(3.5035395622253E-7) ["count"]=> float(1000000) }
Output for 7.0.1
array_intersect array(3) { ["total_time"]=> float(0.22937703132629) ["average_time"]=> float(2.2937798500061E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.29049491882324) ["average_time"]=> float(2.9049587249756E-7) ["count"]=> float(1000000) }
Output for 7.0.0
array_intersect array(3) { ["total_time"]=> float(0.23035979270935) ["average_time"]=> float(2.3036098480225E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.2963559627533) ["average_time"]=> float(2.9635691642761E-7) ["count"]=> float(1000000) }
Output for 5.6.28
array_intersect array(3) { ["total_time"]=> float(-0.80332708358765) ["average_time"]=> float(-8.0332803726196E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(2.7688810825348) ["average_time"]=> float(2.7688801288605E-6) ["count"]=> float(1000000) }
Output for 5.6.25
array_intersect array(3) { ["total_time"]=> float(0.85492897033691) ["average_time"]=> float(8.5492992401123E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1540489196777) ["average_time"]=> float(1.1540510654449E-6) ["count"]=> float(1000000) }
Output for 5.6.24
array_intersect array(3) { ["total_time"]=> float(1.1427030563354) ["average_time"]=> float(1.1427040100098E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.6.23
array_intersect array(3) { ["total_time"]=> float(0.92377591133118) ["average_time"]=> float(9.2377686500549E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1749641895294) ["average_time"]=> float(1.1749651432037E-6) ["count"]=> float(1000000) }
Output for 5.6.22
array_intersect array(3) { ["total_time"]=> float(1.0034198760986) ["average_time"]=> float(1.0034208297729E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1760540008545) ["average_time"]=> float(1.1760540008545E-6) ["count"]=> float(1000000) }
Output for 5.6.21
array_intersect array(3) { ["total_time"]=> float(0.9500470161438) ["average_time"]=> float(9.5004796981812E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1637659072876) ["average_time"]=> float(1.1637668609619E-6) ["count"]=> float(1000000) }
Output for 5.6.20
array_intersect array(3) { ["total_time"]=> float(0.88107109069824) ["average_time"]=> float(8.8107204437256E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1656460762024) ["average_time"]=> float(1.1656470298767E-6) ["count"]=> float(1000000) }
Output for 5.6.19
array_intersect array(3) { ["total_time"]=> float(0.96597599983215) ["average_time"]=> float(9.6597719192505E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1801860332489) ["average_time"]=> float(1.1801869869232E-6) ["count"]=> float(1000000) }
Output for 5.6.18
array_intersect array(3) { ["total_time"]=> float(0.96951293945312) ["average_time"]=> float(9.6951389312744E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.214527130127) ["average_time"]=> float(1.2145280838013E-6) ["count"]=> float(1000000) }
Output for 5.6.17
array_intersect array(3) { ["total_time"]=> float(0.8036630153656) ["average_time"]=> float(8.0366396903992E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1592140197754) ["average_time"]=> float(1.1592140197754E-6) ["count"]=> float(1000000) }
Output for 5.6.16
array_intersect array(3) { ["total_time"]=> float(0.84535884857178) ["average_time"]=> float(8.4535980224609E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1749930381775) ["average_time"]=> float(1.1749939918518E-6) ["count"]=> float(1000000) }
Output for 5.6.15
array_intersect array(3) { ["total_time"]=> float(0.89471697807312) ["average_time"]=> float(8.9471793174744E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1623349189758) ["average_time"]=> float(1.1623361110687E-6) ["count"]=> float(1000000) }
Output for 5.6.14
array_intersect array(3) { ["total_time"]=> float(1.0429298877716) ["average_time"]=> float(1.0429298877716E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.6.13
array_intersect array(3) { ["total_time"]=> float(1.0068559646606) ["average_time"]=> float(1.006856918335E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4388308525085) ["average_time"]=> float(1.4388318061829E-6) ["count"]=> float(1000000) }
Output for 5.6.12
array_intersect array(3) { ["total_time"]=> float(0.8375289440155) ["average_time"]=> float(8.3752989768982E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1891641616821) ["average_time"]=> float(1.1891651153564E-6) ["count"]=> float(1000000) }
Output for 5.6.11
array_intersect array(3) { ["total_time"]=> float(0.91171097755432) ["average_time"]=> float(9.1171193122864E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1518931388855) ["average_time"]=> float(1.1518940925598E-6) ["count"]=> float(1000000) }
Output for 5.6.10
array_intersect array(3) { ["total_time"]=> float(0.94213008880615) ["average_time"]=> float(9.4213104248047E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.159285068512) ["average_time"]=> float(1.1592860221863E-6) ["count"]=> float(1000000) }
Output for 5.6.9
array_intersect array(3) { ["total_time"]=> float(0.8654248714447) ["average_time"]=> float(8.6542582511902E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1485271453857) ["average_time"]=> float(1.1485280990601E-6) ["count"]=> float(1000000) }
Output for 5.6.8
array_intersect array(3) { ["total_time"]=> float(0.89292979240417) ["average_time"]=> float(8.9292979240417E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3149180412292) ["average_time"]=> float(1.3149189949036E-6) ["count"]=> float(1000000) }
Output for 5.6.7
array_intersect array(3) { ["total_time"]=> float(1.0024909973145) ["average_time"]=> float(1.0024919509888E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1648921966553) ["average_time"]=> float(1.1648931503296E-6) ["count"]=> float(1000000) }
Output for 5.6.6
array_intersect array(3) { ["total_time"]=> float(0.81133508682251) ["average_time"]=> float(8.1133604049683E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1759469509125) ["average_time"]=> float(1.1759479045868E-6) ["count"]=> float(1000000) }
Output for 5.6.5
array_intersect array(3) { ["total_time"]=> float(0.97831606864929) ["average_time"]=> float(9.7831702232361E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1672940254211) ["average_time"]=> float(1.1672949790955E-6) ["count"]=> float(1000000) }
Output for 5.6.4
array_intersect array(3) { ["total_time"]=> float(0.95025300979614) ["average_time"]=> float(9.5025396347046E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1476612091064) ["average_time"]=> float(1.1476621627808E-6) ["count"]=> float(1000000) }
Output for 5.6.3
array_intersect array(3) { ["total_time"]=> float(0.97007989883423) ["average_time"]=> float(9.7007989883423E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1744780540466) ["average_time"]=> float(1.1744790077209E-6) ["count"]=> float(1000000) }
Output for 5.6.2
array_intersect array(3) { ["total_time"]=> float(0.9700779914856) ["average_time"]=> float(9.7007894515991E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4545199871063) ["average_time"]=> float(1.4545209407806E-6) ["count"]=> float(1000000) }
Output for 5.6.1
array_intersect array(3) { ["total_time"]=> float(0.91844797134399) ["average_time"]=> float(9.1844892501831E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1662659645081) ["average_time"]=> float(1.1662669181824E-6) ["count"]=> float(1000000) }
Output for 5.6.0
array_intersect array(3) { ["total_time"]=> float(0.94683694839478) ["average_time"]=> float(9.4683790206909E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1579079627991) ["average_time"]=> float(1.1579089164734E-6) ["count"]=> float(1000000) }
Output for 5.5.38
array_intersect array(3) { ["total_time"]=> float(1.0111110210419) ["average_time"]=> float(1.0111119747162E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2616100311279) ["average_time"]=> float(1.2616100311279E-6) ["count"]=> float(1000000) }
Output for 5.5.37
array_intersect array(3) { ["total_time"]=> float(1.0235860347748) ["average_time"]=> float(1.0235869884491E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2535779476166) ["average_time"]=> float(1.2535789012909E-6) ["count"]=> float(1000000) }
Output for 5.5.36
array_intersect array(3) { ["total_time"]=> float(0.98944687843323) ["average_time"]=> float(9.8944783210754E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2708349227905) ["average_time"]=> float(1.2708349227905E-6) ["count"]=> float(1000000) }
Output for 5.5.35
array_intersect array(3) { ["total_time"]=> float(1.6006510257721) ["average_time"]=> float(1.600652217865E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.34
array_intersect array(3) { ["total_time"]=> float(1.0160460472107) ["average_time"]=> float(1.0160551071167E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2806520462036) ["average_time"]=> float(1.2806529998779E-6) ["count"]=> float(1000000) }
Output for 5.5.33
array_intersect array(3) { ["total_time"]=> float(1.076730966568) ["average_time"]=> float(1.076730966568E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2811119556427) ["average_time"]=> float(1.281112909317E-6) ["count"]=> float(1000000) }
Output for 5.5.32
array_intersect array(3) { ["total_time"]=> float(1.0088300704956) ["average_time"]=> float(1.0088310241699E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2794258594513) ["average_time"]=> float(1.2794270515442E-6) ["count"]=> float(1000000) }
Output for 5.5.31
array_intersect array(3) { ["total_time"]=> float(1.0022010803223) ["average_time"]=> float(1.0022020339966E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2772941589355) ["average_time"]=> float(1.2772941589355E-6) ["count"]=> float(1000000) }
Output for 5.5.30
array_intersect array(3) { ["total_time"]=> float(0.95798897743225) ["average_time"]=> float(9.5798897743225E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2766230106354) ["average_time"]=> float(1.2766230106354E-6) ["count"]=> float(1000000) }
Output for 5.5.29
array_intersect array(3) { ["total_time"]=> float(0.93454909324646) ["average_time"]=> float(9.3455004692078E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2708389759064) ["average_time"]=> float(1.2708399295807E-6) ["count"]=> float(1000000) }
Output for 5.5.28
array_intersect array(3) { ["total_time"]=> float(1.0421760082245) ["average_time"]=> float(1.0421769618988E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.340029001236) ["average_time"]=> float(1.3400299549103E-6) ["count"]=> float(1000000) }
Output for 5.5.27
array_intersect array(3) { ["total_time"]=> float(1.4847331047058) ["average_time"]=> float(1.4847350120544E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.26
array_intersect array(3) { ["total_time"]=> float(0.99266600608826) ["average_time"]=> float(9.9266719818115E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3167629241943) ["average_time"]=> float(1.3167638778687E-6) ["count"]=> float(1000000) }
Output for 5.5.25
array_intersect array(3) { ["total_time"]=> float(1.022115945816) ["average_time"]=> float(1.0221168994904E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2877960205078) ["average_time"]=> float(1.2877960205078E-6) ["count"]=> float(1000000) }
Output for 5.5.24
array_intersect array(3) { ["total_time"]=> float(1.0265290737152) ["average_time"]=> float(1.0265290737152E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2687721252441) ["average_time"]=> float(1.2687721252441E-6) ["count"]=> float(1000000) }
Output for 5.5.23
array_intersect array(3) { ["total_time"]=> float(0.85912895202637) ["average_time"]=> float(8.5912990570068E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2817749977112) ["average_time"]=> float(1.2817759513855E-6) ["count"]=> float(1000000) }
Output for 5.5.22
array_intersect array(3) { ["total_time"]=> float(1.002445936203) ["average_time"]=> float(1.0024471282959E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2674999237061) ["average_time"]=> float(1.2675008773804E-6) ["count"]=> float(1000000) }
Output for 5.5.21
array_intersect array(3) { ["total_time"]=> float(0.90268397331238) ["average_time"]=> float(9.0268492698669E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2706699371338) ["average_time"]=> float(1.2706708908081E-6) ["count"]=> float(1000000) }
Output for 5.5.20
array_intersect array(3) { ["total_time"]=> float(0.93015885353088) ["average_time"]=> float(9.3016004562378E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2690379619598) ["average_time"]=> float(1.2690389156342E-6) ["count"]=> float(1000000) }
Output for 5.5.19
array_intersect array(3) { ["total_time"]=> float(1.0051939487457) ["average_time"]=> float(1.0051951408386E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2817640304565) ["average_time"]=> float(1.2817649841309E-6) ["count"]=> float(1000000) }
Output for 5.5.18
array_intersect array(3) { ["total_time"]=> float(1.0085427761078) ["average_time"]=> float(1.0085439682007E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2988178730011) ["average_time"]=> float(1.2988188266754E-6) ["count"]=> float(1000000) }
Output for 5.5.16
array_intersect array(3) { ["total_time"]=> float(1.0238211154938) ["average_time"]=> float(1.0238220691681E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.15
array_intersect array(3) { ["total_time"]=> float(1.0367851257324) ["average_time"]=> float(1.0367860794067E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2535400390625) ["average_time"]=> float(1.2535409927368E-6) ["count"]=> float(1000000) }
Output for 5.5.14
array_intersect array(3) { ["total_time"]=> float(1.0426099300385) ["average_time"]=> float(1.0426108837128E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3078060150146) ["average_time"]=> float(1.3078060150146E-6) ["count"]=> float(1000000) }
Output for 5.5.13
array_intersect array(3) { ["total_time"]=> float(0.90080404281616) ["average_time"]=> float(9.0080499649048E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2806508541107) ["average_time"]=> float(1.2806520462036E-6) ["count"]=> float(1000000) }
Output for 5.5.12
array_intersect array(3) { ["total_time"]=> float(1.0276319980621) ["average_time"]=> float(1.0276329517365E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2549228668213) ["average_time"]=> float(1.2549238204956E-6) ["count"]=> float(1000000) }
Output for 5.5.11
array_intersect array(3) { ["total_time"]=> float(1.0465152263641) ["average_time"]=> float(1.0465161800385E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2780470848083) ["average_time"]=> float(1.2780470848083E-6) ["count"]=> float(1000000) }
Output for 5.5.10
array_intersect array(3) { ["total_time"]=> float(1.0012619495392) ["average_time"]=> float(1.0012629032135E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2609729766846) ["average_time"]=> float(1.2609741687775E-6) ["count"]=> float(1000000) }
Output for 5.5.9
array_intersect array(3) { ["total_time"]=> float(1.0459921360016) ["average_time"]=> float(1.0459930896759E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3280999660492) ["average_time"]=> float(1.3281011581421E-6) ["count"]=> float(1000000) }
Output for 5.5.8
array_intersect array(3) { ["total_time"]=> float(0.95579695701599) ["average_time"]=> float(9.5579791069031E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2734968662262) ["average_time"]=> float(1.2734968662262E-6) ["count"]=> float(1000000) }
Output for 5.5.7
array_intersect array(3) { ["total_time"]=> float(1.0499050617218) ["average_time"]=> float(1.0499050617218E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2938089370728) ["average_time"]=> float(1.2938089370728E-6) ["count"]=> float(1000000) }
Output for 5.5.6
array_intersect array(3) { ["total_time"]=> float(0.92078399658203) ["average_time"]=> float(9.2078399658203E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2614510059357) ["average_time"]=> float(1.26145195961E-6) ["count"]=> float(1000000) }
Output for 5.5.5
array_intersect array(3) { ["total_time"]=> float(1.047993183136) ["average_time"]=> float(1.0479941368103E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.4
array_intersect array(3) { ["total_time"]=> float(1.0130980014801) ["average_time"]=> float(1.0130980014801E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2511842250824) ["average_time"]=> float(1.2511851787567E-6) ["count"]=> float(1000000) }
Output for 5.5.3
array_intersect array(3) { ["total_time"]=> float(1.0048160552979) ["average_time"]=> float(1.0048160552979E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2706158161163) ["average_time"]=> float(1.2706170082092E-6) ["count"]=> float(1000000) }
Output for 5.5.2
array_intersect array(3) { ["total_time"]=> float(0.91069912910461) ["average_time"]=> float(9.1070008277893E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3093638420105) ["average_time"]=> float(1.3093650341034E-6) ["count"]=> float(1000000) }
Output for 5.5.1
array_intersect array(3) { ["total_time"]=> float(1.0347621440887) ["average_time"]=> float(1.0347630977631E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2833299636841) ["average_time"]=> float(1.283331155777E-6) ["count"]=> float(1000000) }
Output for 5.5.0
array_intersect array(3) { ["total_time"]=> float(1.0389959812164) ["average_time"]=> float(1.0389969348907E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2692070007324) ["average_time"]=> float(1.2692079544067E-6) ["count"]=> float(1000000) }
Output for 5.4.45
array_intersect array(3) { ["total_time"]=> float(1.0327668190002) ["average_time"]=> float(1.0327680110931E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2441430091858) ["average_time"]=> float(1.2441439628601E-6) ["count"]=> float(1000000) }
Output for 5.4.44
array_intersect array(3) { ["total_time"]=> float(1.0139927864075) ["average_time"]=> float(1.0139939785004E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2487480640411) ["average_time"]=> float(1.2487490177155E-6) ["count"]=> float(1000000) }
Output for 5.4.43
array_intersect array(3) { ["total_time"]=> float(1.0926270484924) ["average_time"]=> float(1.0926280021667E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.42
array_intersect array(3) { ["total_time"]=> float(1.0419471263885) ["average_time"]=> float(1.0419480800629E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3551189899445) ["average_time"]=> float(1.3551199436188E-6) ["count"]=> float(1000000) }
Output for 5.4.41
array_intersect array(3) { ["total_time"]=> float(1.0102090835571) ["average_time"]=> float(1.0102100372314E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.292916059494) ["average_time"]=> float(1.2929170131683E-6) ["count"]=> float(1000000) }
Output for 5.4.40
array_intersect array(3) { ["total_time"]=> float(1.0435178279877) ["average_time"]=> float(1.043518781662E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2607450485229) ["average_time"]=> float(1.2607460021973E-6) ["count"]=> float(1000000) }
Output for 5.4.39
array_intersect array(3) { ["total_time"]=> float(0.85607886314392) ["average_time"]=> float(8.5607981681824E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2716472148895) ["average_time"]=> float(1.2716481685638E-6) ["count"]=> float(1000000) }
Output for 5.4.38
array_intersect array(3) { ["total_time"]=> float(0.91293406486511) ["average_time"]=> float(9.1293501853943E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2765810489655) ["average_time"]=> float(1.2765820026398E-6) ["count"]=> float(1000000) }
Output for 5.4.37
array_intersect array(3) { ["total_time"]=> float(0.99665784835815) ["average_time"]=> float(9.9665904045105E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2785890102386) ["average_time"]=> float(1.278589963913E-6) ["count"]=> float(1000000) }
Output for 5.4.36
array_intersect array(3) { ["total_time"]=> float(1.0510361194611) ["average_time"]=> float(1.0510370731354E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2563529014587) ["average_time"]=> float(1.2563540935516E-6) ["count"]=> float(1000000) }
Output for 5.4.35
array_intersect array(3) { ["total_time"]=> float(1.0535900592804) ["average_time"]=> float(1.0535910129547E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2892620563507) ["average_time"]=> float(1.289263010025E-6) ["count"]=> float(1000000) }
Output for 5.4.34
array_intersect array(3) { ["total_time"]=> float(1.0131919384003) ["average_time"]=> float(1.0131940841675E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2643370628357) ["average_time"]=> float(1.26433801651E-6) ["count"]=> float(1000000) }
Output for 5.4.32
array_intersect array(3) { ["total_time"]=> float(0.93065619468689) ["average_time"]=> float(9.3065619468689E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2480990886688) ["average_time"]=> float(1.2481000423431E-6) ["count"]=> float(1000000) }
Output for 5.4.31
array_intersect array(3) { ["total_time"]=> float(1.6010699272156) ["average_time"]=> float(1.6010720729828E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.30
array_intersect array(3) { ["total_time"]=> float(1.0290489196777) ["average_time"]=> float(1.0290498733521E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2432971000671) ["average_time"]=> float(1.2432980537415E-6) ["count"]=> float(1000000) }
Output for 5.4.29
array_intersect array(3) { ["total_time"]=> float(0.8963520526886) ["average_time"]=> float(8.963520526886E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2653241157532) ["average_time"]=> float(1.2653260231018E-6) ["count"]=> float(1000000) }
Output for 5.4.28
array_intersect array(3) { ["total_time"]=> float(1.0262320041656) ["average_time"]=> float(1.02623295784E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2598559856415) ["average_time"]=> float(1.2598569393158E-6) ["count"]=> float(1000000) }
Output for 5.4.27
array_intersect array(3) { ["total_time"]=> float(1.0564258098602) ["average_time"]=> float(1.0564270019531E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2652981281281) ["average_time"]=> float(1.2652981281281E-6) ["count"]=> float(1000000) }
Output for 5.4.26
array_intersect array(3) { ["total_time"]=> float(1.0352010726929) ["average_time"]=> float(1.0352020263672E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2333359718323) ["average_time"]=> float(1.2333371639252E-6) ["count"]=> float(1000000) }
Output for 5.4.25
array_intersect array(3) { ["total_time"]=> float(1.5959870815277) ["average_time"]=> float(1.595988035202E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.24
array_intersect array(3) { ["total_time"]=> float(1.1870169639587) ["average_time"]=> float(1.1870188713074E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.23
array_intersect array(3) { ["total_time"]=> float(1.0026998519897) ["average_time"]=> float(1.0027010440826E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2837660312653) ["average_time"]=> float(1.2837669849396E-6) ["count"]=> float(1000000) }
Output for 5.4.22
array_intersect array(3) { ["total_time"]=> float(0.90588879585266) ["average_time"]=> float(9.0588879585266E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2584190368652) ["average_time"]=> float(1.2584199905396E-6) ["count"]=> float(1000000) }
Output for 5.4.21
array_intersect array(3) { ["total_time"]=> float(0.98544788360596) ["average_time"]=> float(9.8544907569885E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2789149284363) ["average_time"]=> float(1.2789158821106E-6) ["count"]=> float(1000000) }
Output for 5.4.20
array_intersect array(3) { ["total_time"]=> float(1.0357849597931) ["average_time"]=> float(1.035786151886E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2519609928131) ["average_time"]=> float(1.2519619464874E-6) ["count"]=> float(1000000) }
Output for 5.4.19
array_intersect array(3) { ["total_time"]=> float(1.0229520797729) ["average_time"]=> float(1.0229530334473E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.18
array_intersect array(3) { ["total_time"]=> float(1.0011219978333) ["average_time"]=> float(1.0011229515076E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2862639427185) ["average_time"]=> float(1.2862648963928E-6) ["count"]=> float(1000000) }
Output for 5.4.17
array_intersect array(3) { ["total_time"]=> float(0.86940598487854) ["average_time"]=> float(8.6940693855286E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4154059886932) ["average_time"]=> float(1.4154069423676E-6) ["count"]=> float(1000000) }
Output for 5.4.16
array_intersect array(3) { ["total_time"]=> float(1.0565409660339) ["average_time"]=> float(1.0565419197083E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2676181793213) ["average_time"]=> float(1.2676191329956E-6) ["count"]=> float(1000000) }
Output for 5.4.15
array_intersect array(3) { ["total_time"]=> float(1.0039489269257) ["average_time"]=> float(1.0039501190186E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2369368076324) ["average_time"]=> float(1.2369379997253E-6) ["count"]=> float(1000000) }
Output for 5.4.14
array_intersect array(3) { ["total_time"]=> float(0.97358012199402) ["average_time"]=> float(9.7358107566833E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2539739608765) ["average_time"]=> float(1.2539751529694E-6) ["count"]=> float(1000000) }
Output for 5.4.13
array_intersect array(3) { ["total_time"]=> float(0.97217297554016) ["average_time"]=> float(9.7217297554016E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2518720626831) ["average_time"]=> float(1.2518730163574E-6) ["count"]=> float(1000000) }
Output for 5.4.12
array_intersect array(3) { ["total_time"]=> float(1.0176119804382) ["average_time"]=> float(1.0176131725311E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2413909435272) ["average_time"]=> float(1.2413921356201E-6) ["count"]=> float(1000000) }
Output for 5.4.11
array_intersect array(3) { ["total_time"]=> float(0.98941493034363) ["average_time"]=> float(9.8941588401794E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2740190029144) ["average_time"]=> float(1.2740199565887E-6) ["count"]=> float(1000000) }
Output for 5.4.10
array_intersect array(3) { ["total_time"]=> float(1.0412850379944) ["average_time"]=> float(1.0412859916687E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2733039855957) ["average_time"]=> float(1.27330493927E-6) ["count"]=> float(1000000) }
Output for 5.4.9
array_intersect array(3) { ["total_time"]=> float(0.93322896957397) ["average_time"]=> float(9.3322992324829E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3743739128113) ["average_time"]=> float(1.3743748664856E-6) ["count"]=> float(1000000) }
Output for 5.4.8
array_intersect array(3) { ["total_time"]=> float(1.0575859546661) ["average_time"]=> float(1.0575869083405E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2498111724854) ["average_time"]=> float(1.2498121261597E-6) ["count"]=> float(1000000) }
Output for 5.4.7
array_intersect array(3) { ["total_time"]=> float(1.0170361995697) ["average_time"]=> float(1.017037153244E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3113350868225) ["average_time"]=> float(1.3113350868225E-6) ["count"]=> float(1000000) }
Output for 5.4.6
array_intersect array(3) { ["total_time"]=> float(1.6843900680542) ["average_time"]=> float(1.6843910217285E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.5
array_intersect array(3) { ["total_time"]=> float(1.0378928184509) ["average_time"]=> float(1.0378928184509E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2491340637207) ["average_time"]=> float(1.2491359710693E-6) ["count"]=> float(1000000) }
Output for 5.4.4
array_intersect array(3) { ["total_time"]=> float(1.0019760131836) ["average_time"]=> float(1.0019779205322E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2436170578003) ["average_time"]=> float(1.2436180114746E-6) ["count"]=> float(1000000) }
Output for 5.4.3
array_intersect array(3) { ["total_time"]=> float(0.99550604820251) ["average_time"]=> float(9.9550795555115E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2683210372925) ["average_time"]=> float(1.2683219909668E-6) ["count"]=> float(1000000) }
Output for 5.4.2
array_intersect array(3) { ["total_time"]=> float(1.0068471431732) ["average_time"]=> float(1.0068471431732E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2496528625488) ["average_time"]=> float(1.2496528625488E-6) ["count"]=> float(1000000) }
Output for 5.4.1
array_intersect array(3) { ["total_time"]=> float(0.93801307678223) ["average_time"]=> float(9.3801403045654E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2375600337982) ["average_time"]=> float(1.2375609874725E-6) ["count"]=> float(1000000) }
Output for 5.4.0
array_intersect array(3) { ["total_time"]=> float(0.93940091133118) ["average_time"]=> float(9.3940186500549E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2428891658783) ["average_time"]=> float(1.2428891658783E-6) ["count"]=> float(1000000) }
Output for 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/XMDKI on line 28
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/XMDKI on line 28
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/XMDKI on line 19
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1
Parse error: parse error, unexpected T_STRING, expecting ')' in /in/XMDKI on line 19
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/XMDKI on line 19
Process exited with code 255.