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'); 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.25332188606262) ["average_time"]=> float(2.5332188606262E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(-0.065626859664917) ["average_time"]=> float(-6.5627813339233E-8) ["count"]=> float(1000000) }
Output for 7.0.14
array_intersect array(3) { ["total_time"]=> float(0.28463506698608) ["average_time"]=> float(2.846360206604E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(-0.24335789680481) ["average_time"]=> float(-2.4335789680481E-7) ["count"]=> float(1000000) }
Output for 7.0.10
array_intersect array(3) { ["total_time"]=> float(0.27107000350952) ["average_time"]=> float(2.7107095718384E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.37494206428528) ["average_time"]=> float(3.7494301795959E-7) ["count"]=> float(1000000) }
Output for 7.0.9
array_intersect array(3) { ["total_time"]=> float(0.282870054245) ["average_time"]=> float(2.82870054245E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.35234093666077) ["average_time"]=> float(3.5234189033508E-7) ["count"]=> float(1000000) }
Output for 7.0.8
array_intersect array(3) { ["total_time"]=> float(0.26091694831848) ["average_time"]=> float(2.6091694831848E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.3488130569458) ["average_time"]=> float(3.4881401062012E-7) ["count"]=> float(1000000) }
Output for 7.0.7
array_intersect array(3) { ["total_time"]=> float(0.24848198890686) ["average_time"]=> float(2.4848198890686E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.34965896606445) ["average_time"]=> float(3.4965991973877E-7) ["count"]=> float(1000000) }
Output for 7.0.6
array_intersect array(3) { ["total_time"]=> float(0.30693006515503) ["average_time"]=> float(3.0693197250366E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.38333606719971) ["average_time"]=> float(3.8333702087402E-7) ["count"]=> float(1000000) }
Output for 7.0.5
array_intersect array(3) { ["total_time"]=> float(0.31397604942322) ["average_time"]=> float(3.1397700309753E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.34733700752258) ["average_time"]=> float(3.4733700752258E-7) ["count"]=> float(1000000) }
Output for 7.0.4
array_intersect array(3) { ["total_time"]=> float(0.29072308540344) ["average_time"]=> float(2.9072403907776E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.37399697303772) ["average_time"]=> float(3.7399792671204E-7) ["count"]=> float(1000000) }
Output for 7.0.3
array_intersect array(3) { ["total_time"]=> float(0.28755402565002) ["average_time"]=> float(2.8755521774292E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.35276198387146) ["average_time"]=> float(3.5276198387146E-7) ["count"]=> float(1000000) }
Output for 7.0.2
array_intersect array(3) { ["total_time"]=> float(0.25926995277405) ["average_time"]=> float(2.5926995277405E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.35316181182861) ["average_time"]=> float(3.5316300392151E-7) ["count"]=> float(1000000) }
Output for 7.0.1
array_intersect array(3) { ["total_time"]=> float(0.26763916015625) ["average_time"]=> float(2.6764011383057E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.34905099868774) ["average_time"]=> float(3.4905195236206E-7) ["count"]=> float(1000000) }
Output for 7.0.0
array_intersect array(3) { ["total_time"]=> float(0.33355188369751) ["average_time"]=> float(3.3355188369751E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.37675213813782) ["average_time"]=> float(3.7675213813782E-7) ["count"]=> float(1000000) }
Output for hhvm-3.12.0
array_intersect array(3) { ["total_time"]=> float(0.73206210136414) ["average_time"]=> float(7.3206305503845E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(0.68951678276062) ["average_time"]=> float(6.8951797485352E-7) ["count"]=> float(1000000) }
Output for hhvm-3.10.0
array_intersect array(3) { ["total_time"]=> float(0.97484397888184) ["average_time"]=> float(9.7484493255615E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1493909358978) ["average_time"]=> float(1.1493918895721E-6) ["count"]=> float(1000000) }
Output for 5.6.28
array_intersect array(3) { ["total_time"]=> float(0.28221106529236) ["average_time"]=> float(2.8221011161804E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.8846099376678) ["average_time"]=> float(1.8846099376678E-6) ["count"]=> float(1000000) }
Output for 5.6.25
array_intersect array(3) { ["total_time"]=> float(0.97873187065125) ["average_time"]=> float(9.7873306274414E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1508569717407) ["average_time"]=> float(1.150857925415E-6) ["count"]=> float(1000000) }
Output for 5.6.24
array_intersect array(3) { ["total_time"]=> float(0.97473311424255) ["average_time"]=> float(9.7473311424255E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1597669124603) ["average_time"]=> float(1.1597678661346E-6) ["count"]=> float(1000000) }
Output for 5.6.23
array_intersect array(3) { ["total_time"]=> float(0.85487508773804) ["average_time"]=> float(8.5487604141235E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.18741106987) ["average_time"]=> float(1.1874120235443E-6) ["count"]=> float(1000000) }
Output for 5.6.22
array_intersect array(3) { ["total_time"]=> float(0.97821402549744) ["average_time"]=> float(9.7821521759033E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1648559570312) ["average_time"]=> float(1.1648559570313E-6) ["count"]=> float(1000000) }
Output for 5.6.21
array_intersect array(3) { ["total_time"]=> float(0.97824501991272) ["average_time"]=> float(9.7824597358704E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1574029922485) ["average_time"]=> float(1.1574039459229E-6) ["count"]=> float(1000000) }
Output for 5.6.20
array_intersect array(3) { ["total_time"]=> float(0.99254202842712) ["average_time"]=> float(9.9254393577576E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4223091602325) ["average_time"]=> float(1.4223091602325E-6) ["count"]=> float(1000000) }
Output for 5.6.19
array_intersect array(3) { ["total_time"]=> float(0.9283139705658) ["average_time"]=> float(9.283139705658E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.21337890625) ["average_time"]=> float(1.2133798599243E-6) ["count"]=> float(1000000) }
Output for 5.6.18
array_intersect array(3) { ["total_time"]=> float(0.99787402153015) ["average_time"]=> float(9.9787592887878E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2127058506012) ["average_time"]=> float(1.2127058506012E-6) ["count"]=> float(1000000) }
Output for 5.6.17
array_intersect array(3) { ["total_time"]=> float(0.97964692115784) ["average_time"]=> float(9.7964811325073E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4445760250092) ["average_time"]=> float(1.4445769786835E-6) ["count"]=> float(1000000) }
Output for 5.6.16
array_intersect array(3) { ["total_time"]=> float(1.0153501033783) ["average_time"]=> float(1.0153510570526E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.6.15
array_intersect array(3) { ["total_time"]=> float(1.0076451301575) ["average_time"]=> float(1.0076460838318E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1599929332733) ["average_time"]=> float(1.1599941253662E-6) ["count"]=> float(1000000) }
Output for 5.6.14
array_intersect array(3) { ["total_time"]=> float(0.97344493865967) ["average_time"]=> float(9.7344589233398E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1607120037079) ["average_time"]=> float(1.1607129573822E-6) ["count"]=> float(1000000) }
Output for 5.6.13
array_intersect array(3) { ["total_time"]=> float(0.85027599334717) ["average_time"]=> float(8.5027694702148E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1613929271698) ["average_time"]=> float(1.1613938808441E-6) ["count"]=> float(1000000) }
Output for 5.6.12
array_intersect array(3) { ["total_time"]=> float(0.95485496520996) ["average_time"]=> float(9.5485591888428E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.168093919754) ["average_time"]=> float(1.168093919754E-6) ["count"]=> float(1000000) }
Output for 5.6.11
array_intersect array(3) { ["total_time"]=> float(0.95136189460754) ["average_time"]=> float(9.5136308670044E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1537208557129) ["average_time"]=> float(1.1537218093872E-6) ["count"]=> float(1000000) }
Output for 5.6.10
array_intersect array(3) { ["total_time"]=> float(1.0523080825806) ["average_time"]=> float(1.0523080825806E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2255511283875) ["average_time"]=> float(1.2255520820618E-6) ["count"]=> float(1000000) }
Output for 5.6.9
array_intersect array(3) { ["total_time"]=> float(0.96400499343872) ["average_time"]=> float(9.6400499343872E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1538531780243) ["average_time"]=> float(1.1538541316986E-6) ["count"]=> float(1000000) }
Output for 5.6.8
array_intersect array(3) { ["total_time"]=> float(0.98017716407776) ["average_time"]=> float(9.8017811775208E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1574890613556) ["average_time"]=> float(1.1574900150299E-6) ["count"]=> float(1000000) }
Output for 5.6.7
array_intersect array(3) { ["total_time"]=> float(0.99273920059204) ["average_time"]=> float(9.9274015426636E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1516320705414) ["average_time"]=> float(1.15163397789E-6) ["count"]=> float(1000000) }
Output for 5.6.6
array_intersect array(3) { ["total_time"]=> float(0.96728014945984) ["average_time"]=> float(9.6728110313416E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4110310077667) ["average_time"]=> float(1.4110321998596E-6) ["count"]=> float(1000000) }
Output for 5.6.5
array_intersect array(3) { ["total_time"]=> float(0.94981098175049) ["average_time"]=> float(9.498119354248E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1696910858154) ["average_time"]=> float(1.1696920394897E-6) ["count"]=> float(1000000) }
Output for 5.6.4
array_intersect array(3) { ["total_time"]=> float(0.90088701248169) ["average_time"]=> float(9.0088701248169E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1860811710358) ["average_time"]=> float(1.1860821247101E-6) ["count"]=> float(1000000) }
Output for 5.6.3
array_intersect array(3) { ["total_time"]=> float(0.94445991516113) ["average_time"]=> float(9.4445991516113E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.1698269844055) ["average_time"]=> float(1.1698281764984E-6) ["count"]=> float(1000000) }
Output for 5.6.2
array_intersect array(3) { ["total_time"]=> float(0.96112513542175) ["average_time"]=> float(9.6112608909607E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.156555891037) ["average_time"]=> float(1.1565568447113E-6) ["count"]=> float(1000000) }
Output for 5.6.1
array_intersect array(3) { ["total_time"]=> float(0.97739195823669) ["average_time"]=> float(9.7739291191101E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.242861032486) ["average_time"]=> float(1.2428622245789E-6) ["count"]=> float(1000000) }
Output for 5.6.0
array_intersect array(3) { ["total_time"]=> float(0.95124483108521) ["average_time"]=> float(9.512460231781E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4301681518555) ["average_time"]=> float(1.4301681518555E-6) ["count"]=> float(1000000) }
Output for 5.5.38
array_intersect array(3) { ["total_time"]=> float(0.99722504615784) ["average_time"]=> float(9.9722599983215E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2570848464966) ["average_time"]=> float(1.2570860385895E-6) ["count"]=> float(1000000) }
Output for 5.5.37
array_intersect array(3) { ["total_time"]=> float(0.97655510902405) ["average_time"]=> float(9.7655606269836E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2588338851929) ["average_time"]=> float(1.2588348388672E-6) ["count"]=> float(1000000) }
Output for 5.5.36
array_intersect array(3) { ["total_time"]=> float(0.86778593063354) ["average_time"]=> float(8.6778593063354E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2751231193542) ["average_time"]=> float(1.2751240730286E-6) ["count"]=> float(1000000) }
Output for 5.5.35
array_intersect array(3) { ["total_time"]=> float(1.6419270038605) ["average_time"]=> float(1.6419279575348E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.34
array_intersect array(3) { ["total_time"]=> float(1.0008881092072) ["average_time"]=> float(1.0008881092072E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2750899791718) ["average_time"]=> float(1.2750909328461E-6) ["count"]=> float(1000000) }
Output for 5.5.33
array_intersect array(3) { ["total_time"]=> float(0.98843908309937) ["average_time"]=> float(9.8844003677368E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2757489681244) ["average_time"]=> float(1.2757489681244E-6) ["count"]=> float(1000000) }
Output for 5.5.32
array_intersect array(3) { ["total_time"]=> float(1.0892760753632) ["average_time"]=> float(1.0892760753632E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.31
array_intersect array(3) { ["total_time"]=> float(1.0023319721222) ["average_time"]=> float(1.0023331642151E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2662308216095) ["average_time"]=> float(1.2662308216095E-6) ["count"]=> float(1000000) }
Output for 5.5.30
array_intersect array(3) { ["total_time"]=> float(0.95045113563538) ["average_time"]=> float(9.5045208930969E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2708811759949) ["average_time"]=> float(1.2708821296692E-6) ["count"]=> float(1000000) }
Output for 5.5.29
array_intersect array(3) { ["total_time"]=> float(1.0346760749817) ["average_time"]=> float(1.034677028656E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2713251113892) ["average_time"]=> float(1.2713251113892E-6) ["count"]=> float(1000000) }
Output for 5.5.28
array_intersect array(3) { ["total_time"]=> float(0.85689210891724) ["average_time"]=> float(8.5689306259155E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3228330612183) ["average_time"]=> float(1.3228340148926E-6) ["count"]=> float(1000000) }
Output for 5.5.27
array_intersect array(3) { ["total_time"]=> float(1.0554769039154) ["average_time"]=> float(1.0554780960083E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2780430316925) ["average_time"]=> float(1.2780442237854E-6) ["count"]=> float(1000000) }
Output for 5.5.26
array_intersect array(3) { ["total_time"]=> float(0.85473799705505) ["average_time"]=> float(8.5473895072937E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2750260829926) ["average_time"]=> float(1.2750270366669E-6) ["count"]=> float(1000000) }
Output for 5.5.25
array_intersect array(3) { ["total_time"]=> float(0.91282391548157) ["average_time"]=> float(9.1282486915588E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3008589744568) ["average_time"]=> float(1.3008601665497E-6) ["count"]=> float(1000000) }
Output for 5.5.24
array_intersect array(3) { ["total_time"]=> float(0.99682211875916) ["average_time"]=> float(9.9682307243347E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2862019538879) ["average_time"]=> float(1.2862019538879E-6) ["count"]=> float(1000000) }
Output for 5.5.23
array_intersect array(3) { ["total_time"]=> float(1.5219790935516) ["average_time"]=> float(1.521980047226E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.22
array_intersect array(3) { ["total_time"]=> float(0.88719797134399) ["average_time"]=> float(8.8719892501831E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2759339809418) ["average_time"]=> float(1.2759349346161E-6) ["count"]=> float(1000000) }
Output for 5.5.21
array_intersect array(3) { ["total_time"]=> float(1.0183048248291) ["average_time"]=> float(1.0183048248291E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2598650455475) ["average_time"]=> float(1.2598659992218E-6) ["count"]=> float(1000000) }
Output for 5.5.20
array_intersect array(3) { ["total_time"]=> float(1.7147850990295) ["average_time"]=> float(1.7147860527039E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.19
array_intersect array(3) { ["total_time"]=> float(0.94558501243591) ["average_time"]=> float(9.4558620452881E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2888329029083) ["average_time"]=> float(1.2888340950012E-6) ["count"]=> float(1000000) }
Output for 5.5.18
array_intersect array(3) { ["total_time"]=> float(1.0601348876953) ["average_time"]=> float(1.0601360797882E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2851231098175) ["average_time"]=> float(1.2851240634918E-6) ["count"]=> float(1000000) }
Output for 5.5.16
array_intersect array(3) { ["total_time"]=> float(1.0233190059662) ["average_time"]=> float(1.0233199596405E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2556219100952) ["average_time"]=> float(1.2556228637695E-6) ["count"]=> float(1000000) }
Output for 5.5.15
array_intersect array(3) { ["total_time"]=> float(0.94056701660156) ["average_time"]=> float(9.4056701660156E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2876508235931) ["average_time"]=> float(1.2876517772675E-6) ["count"]=> float(1000000) }
Output for 5.5.14
array_intersect array(3) { ["total_time"]=> float(0.99287700653076) ["average_time"]=> float(9.9287796020508E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2651968002319) ["average_time"]=> float(1.2651979923248E-6) ["count"]=> float(1000000) }
Output for 5.5.13
array_intersect array(3) { ["total_time"]=> float(1.0180041790009) ["average_time"]=> float(1.0180051326752E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2651469707489) ["average_time"]=> float(1.2651479244232E-6) ["count"]=> float(1000000) }
Output for 5.5.12
array_intersect array(3) { ["total_time"]=> float(1.0109128952026) ["average_time"]=> float(1.010913848877E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2545249462128) ["average_time"]=> float(1.2545268535614E-6) ["count"]=> float(1000000) }
Output for 5.5.11
array_intersect array(3) { ["total_time"]=> float(1.0437731742859) ["average_time"]=> float(1.0437741279602E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2649171352386) ["average_time"]=> float(1.264918088913E-6) ["count"]=> float(1000000) }
Output for 5.5.10
array_intersect array(3) { ["total_time"]=> float(1.0044209957123) ["average_time"]=> float(1.0044219493866E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2682428359985) ["average_time"]=> float(1.2682437896729E-6) ["count"]=> float(1000000) }
Output for 5.5.9
array_intersect array(3) { ["total_time"]=> float(0.99698495864868) ["average_time"]=> float(9.96985912323E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2664439678192) ["average_time"]=> float(1.2664451599121E-6) ["count"]=> float(1000000) }
Output for 5.5.8
array_intersect array(3) { ["total_time"]=> float(0.96042203903198) ["average_time"]=> float(9.604229927063E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2845149040222) ["average_time"]=> float(1.2845158576965E-6) ["count"]=> float(1000000) }
Output for 5.5.7
array_intersect array(3) { ["total_time"]=> float(1.0764491558075) ["average_time"]=> float(1.0764501094818E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2817769050598) ["average_time"]=> float(1.2817778587341E-6) ["count"]=> float(1000000) }
Output for 5.5.6
array_intersect array(3) { ["total_time"]=> float(1.0237319469452) ["average_time"]=> float(1.0237329006195E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2630660533905) ["average_time"]=> float(1.2630670070648E-6) ["count"]=> float(1000000) }
Output for 5.5.5
array_intersect array(3) { ["total_time"]=> float(1.0544748306274) ["average_time"]=> float(1.0544760227203E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2644250392914) ["average_time"]=> float(1.2644250392914E-6) ["count"]=> float(1000000) }
Output for 5.5.4
array_intersect array(3) { ["total_time"]=> float(1.0046827793121) ["average_time"]=> float(1.004683971405E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2690060138702) ["average_time"]=> float(1.2690069675446E-6) ["count"]=> float(1000000) }
Output for 5.5.3
array_intersect array(3) { ["total_time"]=> float(1.2182819843292) ["average_time"]=> float(1.2182829380035E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.5.2
array_intersect array(3) { ["total_time"]=> float(1.0103600025177) ["average_time"]=> float(1.010360956192E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2783460617065) ["average_time"]=> float(1.2783470153809E-6) ["count"]=> float(1000000) }
Output for 5.5.1
array_intersect array(3) { ["total_time"]=> float(0.94795393943787) ["average_time"]=> float(9.4795489311218E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3422789573669) ["average_time"]=> float(1.3422801494598E-6) ["count"]=> float(1000000) }
Output for 5.5.0
array_intersect array(3) { ["total_time"]=> float(1.0363550186157) ["average_time"]=> float(1.03635597229E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.45
array_intersect array(3) { ["total_time"]=> float(1.4787511825562) ["average_time"]=> float(1.4787521362305E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.44
array_intersect array(3) { ["total_time"]=> float(0.89466786384583) ["average_time"]=> float(8.9466881752014E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2596230506897) ["average_time"]=> float(1.259624004364E-6) ["count"]=> float(1000000) }
Output for 5.4.43
array_intersect array(3) { ["total_time"]=> float(0.94462895393372) ["average_time"]=> float(9.4462990760803E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2907240390778) ["average_time"]=> float(1.2907249927521E-6) ["count"]=> float(1000000) }
Output for 5.4.42
array_intersect array(3) { ["total_time"]=> float(0.86854290962219) ["average_time"]=> float(8.6854386329651E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2880029678345) ["average_time"]=> float(1.2880039215088E-6) ["count"]=> float(1000000) }
Output for 5.4.41
array_intersect array(3) { ["total_time"]=> float(0.86905193328857) ["average_time"]=> float(8.6905288696289E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2707970142365) ["average_time"]=> float(1.2707979679108E-6) ["count"]=> float(1000000) }
Output for 5.4.40
array_intersect array(3) { ["total_time"]=> float(0.96743011474609) ["average_time"]=> float(9.6743106842041E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2492628097534) ["average_time"]=> float(1.2492640018463E-6) ["count"]=> float(1000000) }
Output for 5.4.39
array_intersect array(3) { ["total_time"]=> float(0.86826801300049) ["average_time"]=> float(8.682689666748E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2972168922424) ["average_time"]=> float(1.2972178459167E-6) ["count"]=> float(1000000) }
Output for 5.4.38
array_intersect array(3) { ["total_time"]=> float(1.485435962677) ["average_time"]=> float(1.4854371547699E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.37
array_intersect array(3) { ["total_time"]=> float(1.4269289970398) ["average_time"]=> float(1.4269299507141E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.36
array_intersect array(3) { ["total_time"]=> float(0.90670990943909) ["average_time"]=> float(9.0670990943909E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.257560968399) ["average_time"]=> float(1.2575621604919E-6) ["count"]=> float(1000000) }
Output for 5.4.35
array_intersect array(3) { ["total_time"]=> float(0.86425995826721) ["average_time"]=> float(8.6426091194153E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.313915014267) ["average_time"]=> float(1.3139159679413E-6) ["count"]=> float(1000000) }
Output for 5.4.34
array_intersect array(3) { ["total_time"]=> float(0.97277212142944) ["average_time"]=> float(9.7277212142944E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2594149112701) ["average_time"]=> float(1.259416103363E-6) ["count"]=> float(1000000) }
Output for 5.4.32
array_intersect array(3) { ["total_time"]=> float(1.7917280197144) ["average_time"]=> float(1.791729927063E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.31
array_intersect array(3) { ["total_time"]=> float(1.0016138553619) ["average_time"]=> float(1.0016148090363E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.4512519836426) ["average_time"]=> float(1.4512531757355E-6) ["count"]=> float(1000000) }
Output for 5.4.30
array_intersect array(3) { ["total_time"]=> float(0.92190194129944) ["average_time"]=> float(9.2190313339233E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2392339706421) ["average_time"]=> float(1.2392339706421E-6) ["count"]=> float(1000000) }
Output for 5.4.29
array_intersect array(3) { ["total_time"]=> float(1.0576930046082) ["average_time"]=> float(1.0576939582825E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2597432136536) ["average_time"]=> float(1.2597441673279E-6) ["count"]=> float(1000000) }
Output for 5.4.28
array_intersect array(3) { ["total_time"]=> float(1.0185668468475) ["average_time"]=> float(1.0185678005219E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2426378726959) ["average_time"]=> float(1.2426388263702E-6) ["count"]=> float(1000000) }
Output for 5.4.27
array_intersect array(3) { ["total_time"]=> float(1.0152020454407) ["average_time"]=> float(1.015202999115E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2647130489349) ["average_time"]=> float(1.2647140026093E-6) ["count"]=> float(1000000) }
Output for 5.4.26
array_intersect array(3) { ["total_time"]=> float(1.0177519321442) ["average_time"]=> float(1.0177528858185E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2416570186615) ["average_time"]=> float(1.2416582107544E-6) ["count"]=> float(1000000) }
Output for 5.4.25
array_intersect array(3) { ["total_time"]=> float(1.8633348941803) ["average_time"]=> float(1.8633368015289E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.24
array_intersect array(3) { ["total_time"]=> float(1.6139788627625) ["average_time"]=> float(1.6139800548553E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.23
array_intersect array(3) { ["total_time"]=> float(1.0292859077454) ["average_time"]=> float(1.0292868614197E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.22
array_intersect array(3) { ["total_time"]=> float(0.9194700717926) ["average_time"]=> float(9.1947102546692E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2645370960236) ["average_time"]=> float(1.2645390033722E-6) ["count"]=> float(1000000) }
Output for 5.4.21
array_intersect array(3) { ["total_time"]=> float(1.0281109809875) ["average_time"]=> float(1.0281119346619E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.271744966507) ["average_time"]=> float(1.2717459201813E-6) ["count"]=> float(1000000) }
Output for 5.4.20
array_intersect array(3) { ["total_time"]=> float(1.0653998851776) ["average_time"]=> float(1.0654008388519E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.259204864502) ["average_time"]=> float(1.2592058181763E-6) ["count"]=> float(1000000) }
Output for 5.4.19
array_intersect array(3) { ["total_time"]=> float(1.0419788360596) ["average_time"]=> float(1.0419797897339E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2965521812439) ["average_time"]=> float(1.2965531349182E-6) ["count"]=> float(1000000) }
Output for 5.4.18
array_intersect array(3) { ["total_time"]=> float(0.8911988735199) ["average_time"]=> float(8.9119982719421E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2834138870239) ["average_time"]=> float(1.2834138870239E-6) ["count"]=> float(1000000) }
Output for 5.4.17
array_intersect array(3) { ["total_time"]=> float(1.0062441825867) ["average_time"]=> float(1.006245136261E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2414779663086) ["average_time"]=> float(1.2414779663086E-6) ["count"]=> float(1000000) }
Output for 5.4.16
array_intersect array(3) { ["total_time"]=> float(0.96383690834045) ["average_time"]=> float(9.6383810043335E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2898571491241) ["average_time"]=> float(1.2898581027985E-6) ["count"]=> float(1000000) }
Output for 5.4.15
array_intersect array(3) { ["total_time"]=> float(0.84818005561829) ["average_time"]=> float(8.481810092926E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2374970912933) ["average_time"]=> float(1.2374970912933E-6) ["count"]=> float(1000000) }
Output for 5.4.14
array_intersect array(3) { ["total_time"]=> float(1.0496759414673) ["average_time"]=> float(1.0496759414673E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2716720104218) ["average_time"]=> float(1.2716729640961E-6) ["count"]=> float(1000000) }
Output for 5.4.13
array_intersect array(3) { ["total_time"]=> float(0.88162589073181) ["average_time"]=> float(8.8162708282471E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2418282032013) ["average_time"]=> float(1.2418291568756E-6) ["count"]=> float(1000000) }
Output for 5.4.12
array_intersect array(3) { ["total_time"]=> float(1.0179879665375) ["average_time"]=> float(1.0179889202118E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2440810203552) ["average_time"]=> float(1.2440829277039E-6) ["count"]=> float(1000000) }
Output for 5.4.11
array_intersect array(3) { ["total_time"]=> float(0.97774887084961) ["average_time"]=> float(9.777500629425E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.3079469203949) ["average_time"]=> float(1.3079478740692E-6) ["count"]=> float(1000000) }
Output for 5.4.10
array_intersect array(3) { ["total_time"]=> float(1.0446679592133) ["average_time"]=> float(1.0446701049805E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.9
array_intersect array(3) { ["total_time"]=> float(0.85868000984192) ["average_time"]=> float(8.5868096351624E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2856991291046) ["average_time"]=> float(1.2857000827789E-6) ["count"]=> float(1000000) }
Output for 5.4.8
array_intersect array(3) { ["total_time"]=> float(1.0320119857788) ["average_time"]=> float(1.0320129394531E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.7
array_intersect array(3) { ["total_time"]=> float(0.99707198143005) ["average_time"]=> float(9.9707317352295E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2326300144196) ["average_time"]=> float(1.2326309680939E-6) ["count"]=> float(1000000) }
Output for 5.4.6
array_intersect array(3) { ["total_time"]=> float(1.0378859043121) ["average_time"]=> float(1.037887096405E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2525091171265) ["average_time"]=> float(1.2525100708008E-6) ["count"]=> float(1000000) }
Output for 5.4.5
array_intersect array(3) { ["total_time"]=> float(0.99029898643494) ["average_time"]=> float(9.9029994010925E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2499439716339) ["average_time"]=> float(1.2499439716339E-6) ["count"]=> float(1000000) }
Output for 5.4.4
array_intersect array(3) { ["total_time"]=> float(0.99638700485229) ["average_time"]=> float(9.9638700485229E-7) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2354099750519) ["average_time"]=> float(1.2354109287262E-6) ["count"]=> float(1000000) }
Output for 5.4.3
array_intersect array(3) { ["total_time"]=> float(1.0423259735107) ["average_time"]=> float(1.0423269271851E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2354111671448) ["average_time"]=> float(1.2354121208191E-6) ["count"]=> float(1000000) }
Output for 5.4.2
array_intersect array(3) { ["total_time"]=> float(1.0039300918579) ["average_time"]=> float(1.0039310455322E-6) ["count"]=> float(1000000) } foreach array(3) { ["total_time"]=> float(1.2493419647217) ["average_time"]=> float(1.2493419647217E-6) ["count"]=> float(1000000) }
Output for 5.4.1
array_intersect array(3) { ["total_time"]=> float(1.5618739128113) ["average_time"]=> float(1.5618760585785E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.4.0
array_intersect array(3) { ["total_time"]=> float(1.5304520130157) ["average_time"]=> float(1.5304529666901E-6) ["count"]=> float(1000000) } foreach
Process exited with code 137.
Output for 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/uqok4 on line 28
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/uqok4 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/uqok4 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/uqok4 on line 19
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/uqok4 on line 19
Process exited with code 255.