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=array(), $count=1) { $time = microtime(1); for($i=0; $i<$count; $i++) { $result = call_user_func_array($function, $args); } 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], 1E5)); echo('foreach'.PHP_EOL); var_dump(benchmark('two', [$searchParameters, $allowedParamters], 1E5));
Output for 7.1.0
array_intersect array(3) { ["total_time"]=> float(0.039381980895996) ["average_time"]=> float(3.9382934570312E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.039521932601929) ["average_time"]=> float(3.9524078369141E-7) ["count"]=> float(100000) }
Output for 7.0.14
array_intersect array(3) { ["total_time"]=> float(0.040426015853882) ["average_time"]=> float(4.0426969528198E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.041833162307739) ["average_time"]=> float(4.1833162307739E-7) ["count"]=> float(100000) }
Output for 7.0.11
array_intersect array(3) { ["total_time"]=> float(0.028461933135986) ["average_time"]=> float(2.8461933135986E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.028937101364136) ["average_time"]=> float(2.8937101364136E-7) ["count"]=> float(100000) }
Output for 7.0.10
array_intersect array(3) { ["total_time"]=> float(0.02878212928772) ["average_time"]=> float(2.8783082962036E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.030901908874512) ["average_time"]=> float(3.0901908874512E-7) ["count"]=> float(100000) }
Output for 7.0.9
array_intersect array(3) { ["total_time"]=> float(0.032733201980591) ["average_time"]=> float(3.2734155654907E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.033516883850098) ["average_time"]=> float(3.3517837524414E-7) ["count"]=> float(100000) }
Output for 7.0.8
array_intersect array(3) { ["total_time"]=> float(0.039067029953003) ["average_time"]=> float(3.9068222045898E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.036033868789673) ["average_time"]=> float(3.6035060882568E-7) ["count"]=> float(100000) }
Output for 7.0.7
array_intersect array(3) { ["total_time"]=> float(0.0329430103302) ["average_time"]=> float(3.29430103302E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.034569978713989) ["average_time"]=> float(3.4569978713989E-7) ["count"]=> float(100000) }
Output for 7.0.6
array_intersect array(3) { ["total_time"]=> float(0.053852081298828) ["average_time"]=> float(5.3853034973145E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.049675941467285) ["average_time"]=> float(4.9676895141602E-7) ["count"]=> float(100000) }
Output for 7.0.5
array_intersect array(3) { ["total_time"]=> float(0.033392906188965) ["average_time"]=> float(3.3393859863281E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.033835887908936) ["average_time"]=> float(3.3837080001831E-7) ["count"]=> float(100000) }
Output for 7.0.4
array_intersect array(3) { ["total_time"]=> float(0.027791976928711) ["average_time"]=> float(2.7792930603027E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.029412984848022) ["average_time"]=> float(2.9413938522339E-7) ["count"]=> float(100000) }
Output for 7.0.3
array_intersect array(3) { ["total_time"]=> float(0.021897077560425) ["average_time"]=> float(2.1898031234741E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.02386212348938) ["average_time"]=> float(2.386212348938E-7) ["count"]=> float(100000) }
Output for 7.0.2
array_intersect array(3) { ["total_time"]=> float(0.038740158081055) ["average_time"]=> float(3.8741111755371E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.038938999176025) ["average_time"]=> float(3.8941144943237E-7) ["count"]=> float(100000) }
Output for 7.0.1
array_intersect array(3) { ["total_time"]=> float(0.026491165161133) ["average_time"]=> float(2.6492118835449E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.028939962387085) ["average_time"]=> float(2.8939962387085E-7) ["count"]=> float(100000) }
Output for 7.0.0
array_intersect array(3) { ["total_time"]=> float(0.036479949951172) ["average_time"]=> float(3.6480903625488E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.034024000167847) ["average_time"]=> float(3.4024000167847E-7) ["count"]=> float(100000) }
Output for hhvm-3.13.2
array_intersect array(3) { ["total_time"]=> float(0.07288384437561) ["average_time"]=> float(7.2884798049927E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.082247018814087) ["average_time"]=> float(8.2247972488403E-7) ["count"]=> float(100000) }
Output for hhvm-3.12.0
array_intersect array(3) { ["total_time"]=> float(0.084305763244629) ["average_time"]=> float(8.4307909011841E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.076453924179077) ["average_time"]=> float(7.6456069946289E-7) ["count"]=> float(100000) }
Output for hhvm-3.10.0
array_intersect array(3) { ["total_time"]=> float(0.12868499755859) ["average_time"]=> float(1.2868690490723E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.11868715286255) ["average_time"]=> float(1.1868810653687E-6) ["count"]=> float(100000) }
Output for 5.6.28
array_intersect array(3) { ["total_time"]=> float(0.12250185012817) ["average_time"]=> float(1.2250280380249E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.14048790931702) ["average_time"]=> float(1.4048790931702E-6) ["count"]=> float(100000) }
Output for 5.6.25
array_intersect array(3) { ["total_time"]=> float(0.091210126876831) ["average_time"]=> float(9.1210126876831E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12226986885071) ["average_time"]=> float(1.2227082252502E-6) ["count"]=> float(100000) }
Output for 5.6.24
array_intersect array(3) { ["total_time"]=> float(0.093102931976318) ["average_time"]=> float(9.3103885650635E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12256383895874) ["average_time"]=> float(1.2256479263306E-6) ["count"]=> float(100000) }
Output for 5.6.23
array_intersect array(3) { ["total_time"]=> float(0.095433950424194) ["average_time"]=> float(9.543514251709E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12962102890015) ["average_time"]=> float(1.2962198257446E-6) ["count"]=> float(100000) }
Output for 5.6.22
array_intersect array(3) { ["total_time"]=> float(0.10738611221313) ["average_time"]=> float(1.0738801956177E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12702298164368) ["average_time"]=> float(1.2702393531799E-6) ["count"]=> float(100000) }
Output for 5.6.21
array_intersect array(3) { ["total_time"]=> float(0.088209867477417) ["average_time"]=> float(8.8210821151733E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12401604652405) ["average_time"]=> float(1.2401604652405E-6) ["count"]=> float(100000) }
Output for 5.6.20
array_intersect array(3) { ["total_time"]=> float(0.090322971343994) ["average_time"]=> float(9.0324878692627E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12268686294556) ["average_time"]=> float(1.2268781661987E-6) ["count"]=> float(100000) }
Output for 5.6.19
array_intersect array(3) { ["total_time"]=> float(0.087974071502686) ["average_time"]=> float(8.7975025177002E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.14546704292297) ["average_time"]=> float(1.4546895027161E-6) ["count"]=> float(100000) }
Output for 5.6.18
array_intersect array(3) { ["total_time"]=> float(0.079682111740112) ["average_time"]=> float(7.9683065414429E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12661099433899) ["average_time"]=> float(1.2661218643188E-6) ["count"]=> float(100000) }
Output for 5.6.17
array_intersect array(3) { ["total_time"]=> float(0.084180116653442) ["average_time"]=> float(8.4181070327759E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12366580963135) ["average_time"]=> float(1.2366700172424E-6) ["count"]=> float(100000) }
Output for 5.6.16
array_intersect array(3) { ["total_time"]=> float(0.079046964645386) ["average_time"]=> float(7.9047918319702E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12334799766541) ["average_time"]=> float(1.2334895133972E-6) ["count"]=> float(100000) }
Output for 5.6.15
array_intersect array(3) { ["total_time"]=> float(0.10730004310608) ["average_time"]=> float(1.073009967804E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.14400100708008) ["average_time"]=> float(1.4400196075439E-6) ["count"]=> float(100000) }
Output for 5.6.14
array_intersect array(3) { ["total_time"]=> float(0.079446077346802) ["average_time"]=> float(7.9447031021118E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12217092514038) ["average_time"]=> float(1.2217211723328E-6) ["count"]=> float(100000) }
Output for 5.6.13
array_intersect array(3) { ["total_time"]=> float(0.087172031402588) ["average_time"]=> float(8.7172985076904E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13160300254822) ["average_time"]=> float(1.3160419464111E-6) ["count"]=> float(100000) }
Output for 5.6.12
array_intersect array(3) { ["total_time"]=> float(0.098583936691284) ["average_time"]=> float(9.8584890365601E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12419199943542) ["average_time"]=> float(1.2419295310974E-6) ["count"]=> float(100000) }
Output for 5.6.11
array_intersect array(3) { ["total_time"]=> float(0.089592933654785) ["average_time"]=> float(8.9593887329102E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12141990661621) ["average_time"]=> float(1.2142109870911E-6) ["count"]=> float(100000) }
Output for 5.6.10
array_intersect array(3) { ["total_time"]=> float(0.082119941711426) ["average_time"]=> float(8.2120895385742E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.10491800308228) ["average_time"]=> float(1.0491895675659E-6) ["count"]=> float(100000) }
Output for 5.6.9
array_intersect array(3) { ["total_time"]=> float(0.094877004623413) ["average_time"]=> float(9.4878196716309E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13664388656616) ["average_time"]=> float(1.3664388656616E-6) ["count"]=> float(100000) }
Output for 5.6.8
array_intersect array(3) { ["total_time"]=> float(0.094626903533936) ["average_time"]=> float(9.4627857208252E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12239289283752) ["average_time"]=> float(1.2239384651184E-6) ["count"]=> float(100000) }
Output for 5.6.7
array_intersect array(3) { ["total_time"]=> float(0.091002941131592) ["average_time"]=> float(9.1004133224487E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12114214897156) ["average_time"]=> float(1.2114310264587E-6) ["count"]=> float(100000) }
Output for 5.6.6
array_intersect array(3) { ["total_time"]=> float(0.085885047912598) ["average_time"]=> float(8.5886001586914E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12271904945374) ["average_time"]=> float(1.2272000312805E-6) ["count"]=> float(100000) }
Output for 5.6.5
array_intersect array(3) { ["total_time"]=> float(0.095040082931519) ["average_time"]=> float(9.5041036605835E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12333989143372) ["average_time"]=> float(1.2334084510803E-6) ["count"]=> float(100000) }
Output for 5.6.4
array_intersect array(3) { ["total_time"]=> float(0.087741136550903) ["average_time"]=> float(8.774209022522E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12448501586914) ["average_time"]=> float(1.2448692321777E-6) ["count"]=> float(100000) }
Output for 5.6.3
array_intersect array(3) { ["total_time"]=> float(0.094308137893677) ["average_time"]=> float(9.4309091567993E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12417507171631) ["average_time"]=> float(1.2417602539062E-6) ["count"]=> float(100000) }
Output for 5.6.2
array_intersect array(3) { ["total_time"]=> float(0.093536138534546) ["average_time"]=> float(9.3537092208862E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12268686294556) ["average_time"]=> float(1.2268781661987E-6) ["count"]=> float(100000) }
Output for 5.6.1
array_intersect array(3) { ["total_time"]=> float(0.084419965744019) ["average_time"]=> float(8.4421157836914E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12424206733704) ["average_time"]=> float(1.2424302101135E-6) ["count"]=> float(100000) }
Output for 5.6.0
array_intersect array(3) { ["total_time"]=> float(0.098496913909912) ["average_time"]=> float(9.8497867584229E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12263202667236) ["average_time"]=> float(1.2263298034668E-6) ["count"]=> float(100000) }
Output for 5.5.38
array_intersect array(3) { ["total_time"]=> float(0.10312700271606) ["average_time"]=> float(1.0312795639038E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13552093505859) ["average_time"]=> float(1.3552188873291E-6) ["count"]=> float(100000) }
Output for 5.5.37
array_intersect array(3) { ["total_time"]=> float(0.097121000289917) ["average_time"]=> float(9.7121953964233E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.14304208755493) ["average_time"]=> float(1.4304304122925E-6) ["count"]=> float(100000) }
Output for 5.5.36
array_intersect array(3) { ["total_time"]=> float(0.11482501029968) ["average_time"]=> float(1.1482501029968E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13691115379333) ["average_time"]=> float(1.3691210746765E-6) ["count"]=> float(100000) }
Output for 5.5.35
array_intersect array(3) { ["total_time"]=> float(0.096143007278442) ["average_time"]=> float(9.6143960952759E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1365110874176) ["average_time"]=> float(1.3651204109192E-6) ["count"]=> float(100000) }
Output for 5.5.34
array_intersect array(3) { ["total_time"]=> float(0.10739684104919) ["average_time"]=> float(1.0739803314209E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13564991950989) ["average_time"]=> float(1.356508731842E-6) ["count"]=> float(100000) }
Output for 5.5.33
array_intersect array(3) { ["total_time"]=> float(0.086831092834473) ["average_time"]=> float(8.6832046508789E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13819313049316) ["average_time"]=> float(1.3819408416748E-6) ["count"]=> float(100000) }
Output for 5.5.32
array_intersect array(3) { ["total_time"]=> float(0.069222211837769) ["average_time"]=> float(6.9223165512085E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.11125493049622) ["average_time"]=> float(1.1125612258911E-6) ["count"]=> float(100000) }
Output for 5.5.31
array_intersect array(3) { ["total_time"]=> float(0.10311818122864) ["average_time"]=> float(1.0311913490295E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13544797897339) ["average_time"]=> float(1.3544893264771E-6) ["count"]=> float(100000) }
Output for 5.5.30
array_intersect array(3) { ["total_time"]=> float(0.11264801025391) ["average_time"]=> float(1.126492023468E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.15268683433533) ["average_time"]=> float(1.5268802642822E-6) ["count"]=> float(100000) }
Output for 5.5.29
array_intersect array(3) { ["total_time"]=> float(0.086634159088135) ["average_time"]=> float(8.6635112762451E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.15744709968567) ["average_time"]=> float(1.5744805335999E-6) ["count"]=> float(100000) }
Output for 5.5.28
array_intersect array(3) { ["total_time"]=> float(0.09821605682373) ["average_time"]=> float(9.8217010498047E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13751196861267) ["average_time"]=> float(1.3751292228699E-6) ["count"]=> float(100000) }
Output for 5.5.27
array_intersect array(3) { ["total_time"]=> float(0.073611974716187) ["average_time"]=> float(7.3611974716187E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.11173892021179) ["average_time"]=> float(1.1173987388611E-6) ["count"]=> float(100000) }
Output for 5.5.26
array_intersect array(3) { ["total_time"]=> float(0.093848943710327) ["average_time"]=> float(9.3849897384644E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13446378707886) ["average_time"]=> float(1.3446593284607E-6) ["count"]=> float(100000) }
Output for 5.5.25
array_intersect array(3) { ["total_time"]=> float(0.10446500778198) ["average_time"]=> float(1.044659614563E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13462495803833) ["average_time"]=> float(1.3462591171265E-6) ["count"]=> float(100000) }
Output for 5.5.24
array_intersect array(3) { ["total_time"]=> float(0.11469602584839) ["average_time"]=> float(1.1469697952271E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.15996503829956) ["average_time"]=> float(1.5996599197388E-6) ["count"]=> float(100000) }
Output for 5.5.23
array_intersect array(3) { ["total_time"]=> float(0.11079001426697) ["average_time"]=> float(1.1079096794128E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13638687133789) ["average_time"]=> float(1.3638806343079E-6) ["count"]=> float(100000) }
Output for 5.5.22
array_intersect array(3) { ["total_time"]=> float(0.096106052398682) ["average_time"]=> float(9.6107006072998E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13557195663452) ["average_time"]=> float(1.3557195663452E-6) ["count"]=> float(100000) }
Output for 5.5.21
array_intersect array(3) { ["total_time"]=> float(0.10097599029541) ["average_time"]=> float(1.0097718238831E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13656497001648) ["average_time"]=> float(1.365659236908E-6) ["count"]=> float(100000) }
Output for 5.5.20
array_intersect array(3) { ["total_time"]=> float(0.091614007949829) ["average_time"]=> float(9.1615200042725E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1585488319397) ["average_time"]=> float(1.5854978561401E-6) ["count"]=> float(100000) }
Output for 5.5.19
array_intersect array(3) { ["total_time"]=> float(0.09416389465332) ["average_time"]=> float(9.4164848327637E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13641309738159) ["average_time"]=> float(1.3641405105591E-6) ["count"]=> float(100000) }
Output for 5.5.18
array_intersect array(3) { ["total_time"]=> float(0.097391128540039) ["average_time"]=> float(9.7392082214355E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13604283332825) ["average_time"]=> float(1.3604402542114E-6) ["count"]=> float(100000) }
Output for 5.5.16
array_intersect array(3) { ["total_time"]=> float(0.11248183250427) ["average_time"]=> float(1.1248302459717E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13668608665466) ["average_time"]=> float(1.3668704032898E-6) ["count"]=> float(100000) }
Output for 5.5.15
array_intersect array(3) { ["total_time"]=> float(0.1126868724823) ["average_time"]=> float(1.1268782615662E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1361448764801) ["average_time"]=> float(1.361448764801E-6) ["count"]=> float(100000) }
Output for 5.5.14
array_intersect array(3) { ["total_time"]=> float(0.097760915756226) ["average_time"]=> float(9.7761869430542E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13523697853088) ["average_time"]=> float(1.352379322052E-6) ["count"]=> float(100000) }
Output for 5.5.13
array_intersect array(3) { ["total_time"]=> float(0.11367416381836) ["average_time"]=> float(1.1367511749268E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13747787475586) ["average_time"]=> float(1.3747906684875E-6) ["count"]=> float(100000) }
Output for 5.5.12
array_intersect array(3) { ["total_time"]=> float(0.11325407028198) ["average_time"]=> float(1.132550239563E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13735795021057) ["average_time"]=> float(1.3735795021057E-6) ["count"]=> float(100000) }
Output for 5.5.11
array_intersect array(3) { ["total_time"]=> float(0.09751296043396) ["average_time"]=> float(9.7514152526855E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13415098190308) ["average_time"]=> float(1.3415193557739E-6) ["count"]=> float(100000) }
Output for 5.5.10
array_intersect array(3) { ["total_time"]=> float(0.10542678833008) ["average_time"]=> float(1.0542798042297E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13737106323242) ["average_time"]=> float(1.3737201690674E-6) ["count"]=> float(100000) }
Output for 5.5.9
array_intersect array(3) { ["total_time"]=> float(0.094550132751465) ["average_time"]=> float(9.4551086425781E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13299703598022) ["average_time"]=> float(1.3299822807312E-6) ["count"]=> float(100000) }
Output for 5.5.8
array_intersect array(3) { ["total_time"]=> float(0.099495887756348) ["average_time"]=> float(9.9496841430664E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13631391525269) ["average_time"]=> float(1.3631510734558E-6) ["count"]=> float(100000) }
Output for 5.5.7
array_intersect array(3) { ["total_time"]=> float(0.10148191452026) ["average_time"]=> float(1.0148406028748E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13556694984436) ["average_time"]=> float(1.3556790351868E-6) ["count"]=> float(100000) }
Output for 5.5.6
array_intersect array(3) { ["total_time"]=> float(0.084540128707886) ["average_time"]=> float(8.4541082382202E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13653802871704) ["average_time"]=> float(1.3653898239136E-6) ["count"]=> float(100000) }
Output for 5.5.5
array_intersect array(3) { ["total_time"]=> float(0.09292197227478) ["average_time"]=> float(9.2922925949097E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13449311256409) ["average_time"]=> float(1.344940662384E-6) ["count"]=> float(100000) }
Output for 5.5.4
array_intersect array(3) { ["total_time"]=> float(0.10324501991272) ["average_time"]=> float(1.0324597358704E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.14550495147705) ["average_time"]=> float(1.4550495147705E-6) ["count"]=> float(100000) }
Output for 5.5.3
array_intersect array(3) { ["total_time"]=> float(0.092824935913086) ["average_time"]=> float(9.2825889587402E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13466000556946) ["average_time"]=> float(1.3466119766235E-6) ["count"]=> float(100000) }
Output for 5.5.2
array_intersect array(3) { ["total_time"]=> float(0.094650030136108) ["average_time"]=> float(9.4650030136108E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13585805892944) ["average_time"]=> float(1.3585805892944E-6) ["count"]=> float(100000) }
Output for 5.5.1
array_intersect array(3) { ["total_time"]=> float(0.088896989822388) ["average_time"]=> float(8.8897943496704E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13419604301453) ["average_time"]=> float(1.3419604301453E-6) ["count"]=> float(100000) }
Output for 5.5.0
array_intersect array(3) { ["total_time"]=> float(0.10331106185913) ["average_time"]=> float(1.0331201553345E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13320708274841) ["average_time"]=> float(1.3320803642273E-6) ["count"]=> float(100000) }
Output for 5.4.45
array_intersect array(3) { ["total_time"]=> float(0.090912818908691) ["average_time"]=> float(9.0912818908691E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.14324688911438) ["average_time"]=> float(1.4324688911438E-6) ["count"]=> float(100000) }
Output for 5.4.44
array_intersect array(3) { ["total_time"]=> float(0.082767963409424) ["average_time"]=> float(8.2767963409424E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1323869228363) ["average_time"]=> float(1.323869228363E-6) ["count"]=> float(100000) }
Output for 5.4.43
array_intersect array(3) { ["total_time"]=> float(0.1139440536499) ["average_time"]=> float(1.1394500732422E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13727188110352) ["average_time"]=> float(1.3727283477783E-6) ["count"]=> float(100000) }
Output for 5.4.42
array_intersect array(3) { ["total_time"]=> float(0.092117071151733) ["average_time"]=> float(9.2117071151733E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13570308685303) ["average_time"]=> float(1.3570404052734E-6) ["count"]=> float(100000) }
Output for 5.4.41
array_intersect array(3) { ["total_time"]=> float(0.11090207099915) ["average_time"]=> float(1.1090207099915E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.12966203689575) ["average_time"]=> float(1.2966299057007E-6) ["count"]=> float(100000) }
Output for 5.4.40
array_intersect array(3) { ["total_time"]=> float(0.11338686943054) ["average_time"]=> float(1.1338806152344E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13619995117188) ["average_time"]=> float(1.3620090484619E-6) ["count"]=> float(100000) }
Output for 5.4.39
array_intersect array(3) { ["total_time"]=> float(0.086523056030273) ["average_time"]=> float(8.652400970459E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13386702537537) ["average_time"]=> float(1.3386797904968E-6) ["count"]=> float(100000) }
Output for 5.4.38
array_intersect array(3) { ["total_time"]=> float(0.084517002105713) ["average_time"]=> float(8.4518194198608E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13337397575378) ["average_time"]=> float(1.3337516784668E-6) ["count"]=> float(100000) }
Output for 5.4.37
array_intersect array(3) { ["total_time"]=> float(0.11017203330994) ["average_time"]=> float(1.1017298698425E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13515496253967) ["average_time"]=> float(1.3515710830688E-6) ["count"]=> float(100000) }
Output for 5.4.36
array_intersect array(3) { ["total_time"]=> float(0.086958885192871) ["average_time"]=> float(8.6960077285767E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13526201248169) ["average_time"]=> float(1.3526296615601E-6) ["count"]=> float(100000) }
Output for 5.4.35
array_intersect array(3) { ["total_time"]=> float(0.090944051742554) ["average_time"]=> float(9.094500541687E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13460803031921) ["average_time"]=> float(1.3460898399353E-6) ["count"]=> float(100000) }
Output for 5.4.34
array_intersect array(3) { ["total_time"]=> float(0.10038089752197) ["average_time"]=> float(1.0038208961487E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13285994529724) ["average_time"]=> float(1.3286089897156E-6) ["count"]=> float(100000) }
Output for 5.4.32
array_intersect array(3) { ["total_time"]=> float(0.1011791229248) ["average_time"]=> float(1.0118103027344E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13243317604065) ["average_time"]=> float(1.3243508338928E-6) ["count"]=> float(100000) }
Output for 5.4.31
array_intersect array(3) { ["total_time"]=> float(0.10841798782349) ["average_time"]=> float(1.084189414978E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13883113861084) ["average_time"]=> float(1.3883209228516E-6) ["count"]=> float(100000) }
Output for 5.4.30
array_intersect array(3) { ["total_time"]=> float(0.089816808700562) ["average_time"]=> float(8.9816808700562E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13371586799622) ["average_time"]=> float(1.3371682167053E-6) ["count"]=> float(100000) }
Output for 5.4.29
array_intersect array(3) { ["total_time"]=> float(0.10528802871704) ["average_time"]=> float(1.0528898239136E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13399910926819) ["average_time"]=> float(1.340000629425E-6) ["count"]=> float(100000) }
Output for 5.4.28
array_intersect array(3) { ["total_time"]=> float(0.095042943954468) ["average_time"]=> float(9.5044136047363E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13123106956482) ["average_time"]=> float(1.3123202323914E-6) ["count"]=> float(100000) }
Output for 5.4.27
array_intersect array(3) { ["total_time"]=> float(0.10134315490723) ["average_time"]=> float(1.0134410858154E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13111996650696) ["average_time"]=> float(1.3112092018127E-6) ["count"]=> float(100000) }
Output for 5.4.26
array_intersect array(3) { ["total_time"]=> float(0.1007878780365) ["average_time"]=> float(1.0078883171082E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13088488578796) ["average_time"]=> float(1.3088607788086E-6) ["count"]=> float(100000) }
Output for 5.4.25
array_intersect array(3) { ["total_time"]=> float(0.097171783447266) ["average_time"]=> float(9.7171783447266E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13307213783264) ["average_time"]=> float(1.3307404518127E-6) ["count"]=> float(100000) }
Output for 5.4.24
array_intersect array(3) { ["total_time"]=> float(0.088356018066406) ["average_time"]=> float(8.8356971740723E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13148999214172) ["average_time"]=> float(1.3149094581604E-6) ["count"]=> float(100000) }
Output for 5.4.23
array_intersect array(3) { ["total_time"]=> float(0.10842299461365) ["average_time"]=> float(1.0842514038086E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13358902931213) ["average_time"]=> float(1.3358998298645E-6) ["count"]=> float(100000) }
Output for 5.4.22
array_intersect array(3) { ["total_time"]=> float(0.092705965042114) ["average_time"]=> float(9.2706918716431E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13352513313293) ["average_time"]=> float(1.3352608680725E-6) ["count"]=> float(100000) }
Output for 5.4.21
array_intersect array(3) { ["total_time"]=> float(0.1020839214325) ["average_time"]=> float(1.0208487510681E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1345329284668) ["average_time"]=> float(1.3453388214111E-6) ["count"]=> float(100000) }
Output for 5.4.20
array_intersect array(3) { ["total_time"]=> float(0.095314979553223) ["average_time"]=> float(9.5316171646118E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13274002075195) ["average_time"]=> float(1.3274097442627E-6) ["count"]=> float(100000) }
Output for 5.4.19
array_intersect array(3) { ["total_time"]=> float(0.093535900115967) ["average_time"]=> float(9.3536853790283E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13827180862427) ["average_time"]=> float(1.3827395439148E-6) ["count"]=> float(100000) }
Output for 5.4.18
array_intersect array(3) { ["total_time"]=> float(0.10730814933777) ["average_time"]=> float(1.0730910301208E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13709402084351) ["average_time"]=> float(1.370952129364E-6) ["count"]=> float(100000) }
Output for 5.4.17
array_intersect array(3) { ["total_time"]=> float(0.11270403862) ["average_time"]=> float(1.1270499229431E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13425612449646) ["average_time"]=> float(1.3425707817078E-6) ["count"]=> float(100000) }
Output for 5.4.16
array_intersect array(3) { ["total_time"]=> float(0.10620307922363) ["average_time"]=> float(1.0620403289795E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13599491119385) ["average_time"]=> float(1.3599586486816E-6) ["count"]=> float(100000) }
Output for 5.4.15
array_intersect array(3) { ["total_time"]=> float(0.093996047973633) ["average_time"]=> float(9.3996047973633E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13146901130676) ["average_time"]=> float(1.3146901130676E-6) ["count"]=> float(100000) }
Output for 5.4.14
array_intersect array(3) { ["total_time"]=> float(0.10077500343323) ["average_time"]=> float(1.0077619552612E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13413786888123) ["average_time"]=> float(1.3413882255554E-6) ["count"]=> float(100000) }
Output for 5.4.13
array_intersect array(3) { ["total_time"]=> float(0.089554786682129) ["average_time"]=> float(8.9554786682129E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13118505477905) ["average_time"]=> float(1.3118600845337E-6) ["count"]=> float(100000) }
Output for 5.4.12
array_intersect array(3) { ["total_time"]=> float(0.10947299003601) ["average_time"]=> float(1.0947418212891E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13405394554138) ["average_time"]=> float(1.3405394554138E-6) ["count"]=> float(100000) }
Output for 5.4.11
array_intersect array(3) { ["total_time"]=> float(0.12267589569092) ["average_time"]=> float(1.2267708778381E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1647641658783) ["average_time"]=> float(1.647641658783E-6) ["count"]=> float(100000) }
Output for 5.4.10
array_intersect array(3) { ["total_time"]=> float(0.11512207984924) ["average_time"]=> float(1.1512398719788E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13683319091797) ["average_time"]=> float(1.3683414459229E-6) ["count"]=> float(100000) }
Output for 5.4.9
array_intersect array(3) { ["total_time"]=> float(0.096513986587524) ["average_time"]=> float(9.6513986587524E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1367290019989) ["average_time"]=> float(1.367290019989E-6) ["count"]=> float(100000) }
Output for 5.4.8
array_intersect array(3) { ["total_time"]=> float(0.10631203651428) ["average_time"]=> float(1.063129901886E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13396596908569) ["average_time"]=> float(1.3396692276001E-6) ["count"]=> float(100000) }
Output for 5.4.7
array_intersect array(3) { ["total_time"]=> float(0.10411286354065) ["average_time"]=> float(1.0411405563354E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13273692131042) ["average_time"]=> float(1.3273787498474E-6) ["count"]=> float(100000) }
Output for 5.4.6
array_intersect array(3) { ["total_time"]=> float(0.092924833297729) ["average_time"]=> float(9.2926025390625E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13224601745605) ["average_time"]=> float(1.3224697113037E-6) ["count"]=> float(100000) }
Output for 5.4.5
array_intersect array(3) { ["total_time"]=> float(0.096972942352295) ["average_time"]=> float(9.697413444519E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.131511926651) ["average_time"]=> float(1.31511926651E-6) ["count"]=> float(100000) }
Output for 5.4.4
array_intersect array(3) { ["total_time"]=> float(0.091245889663696) ["average_time"]=> float(9.1247081756592E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13218808174133) ["average_time"]=> float(1.3218903541565E-6) ["count"]=> float(100000) }
Output for 5.4.3
array_intersect array(3) { ["total_time"]=> float(0.11426210403442) ["average_time"]=> float(1.1426305770874E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13538908958435) ["average_time"]=> float(1.3538908958435E-6) ["count"]=> float(100000) }
Output for 5.4.2
array_intersect array(3) { ["total_time"]=> float(0.11377501487732) ["average_time"]=> float(1.1377596855164E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13685703277588) ["average_time"]=> float(1.368579864502E-6) ["count"]=> float(100000) }
Output for 5.4.1
array_intersect array(3) { ["total_time"]=> float(0.095847129821777) ["average_time"]=> float(9.5848083496094E-7) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.13177490234375) ["average_time"]=> float(1.3177585601807E-6) ["count"]=> float(100000) }
Output for 5.4.0
array_intersect array(3) { ["total_time"]=> float(0.10629487037659) ["average_time"]=> float(1.0629606246948E-6) ["count"]=> float(100000) } foreach array(3) { ["total_time"]=> float(0.1336030960083) ["average_time"]=> float(1.3360404968262E-6) ["count"]=> float(100000) }
Output for 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/sPXZU on line 26
Process exited with code 255.
Output for 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/sPXZU on line 26
Process exited with code 255.
Output for 4.4.2 - 4.4.9
Parse error: syntax error, unexpected T_STRING, expecting ')' in /in/sPXZU 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/sPXZU on line 19
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error, expecting `')'' in /in/sPXZU on line 19
Process exited with code 255.