3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $array = range(0, 99); $start = microtime(1); $result = []; for ($i = 0; $i < 100; $i++) if (preg_match("#$i#", $array[$i])) $result[] = $array[$i]; print "for \$i took ".($start - microtime(1))." seconds\n"; // precache it preg_match("#\d#", 0); $start = microtime(1); $result = []; for ($i = 0; $i < 100; $i++) if (preg_match("#\d#", $array[$i])) $result[] = $array[$i]; print "for \\d took ".($start - microtime(1))." seconds\n"; $start = microtime(1); $result = []; foreach ($array as $entry) if (preg_match("#\d#", $entry)) $result[] = $entry; print "foreach \\d took ".($start - microtime(1))." seconds\n"; $start = microtime(1); $result = []; $result = preg_grep("#\d#", $array); print "preg_grep \\d took ".($start - microtime(1))." seconds\n";
Output for 7.1.0
for $i took -0.00063085556030273 seconds for \d took -1.4781951904297E-5 seconds foreach \d took -1.4066696166992E-5 seconds preg_grep \d took -6.9141387939453E-6 seconds
Output for 7.0.14
for $i took -0.0010421276092529 seconds for \d took -2.7179718017578E-5 seconds foreach \d took -2.1934509277344E-5 seconds preg_grep \d took -1.0967254638672E-5 seconds
Output for 7.0.7
for $i took -0.00053906440734863 seconds for \d took -1.8119812011719E-5 seconds foreach \d took -1.3828277587891E-5 seconds preg_grep \d took -6.9141387939453E-6 seconds
Output for 7.0.6
for $i took -0.00065398216247559 seconds for \d took -2.0980834960938E-5 seconds foreach \d took -1.7166137695312E-5 seconds preg_grep \d took -8.1062316894531E-6 seconds
Output for 7.0.5
for $i took -0.00079989433288574 seconds for \d took -3.3140182495117E-5 seconds foreach \d took -2.6941299438477E-5 seconds preg_grep \d took -1.5020370483398E-5 seconds
Output for 7.0.4
for $i took -0.00086712837219238 seconds for \d took -2.9087066650391E-5 seconds foreach \d took -2.5033950805664E-5 seconds preg_grep \d took -1.0967254638672E-5 seconds
Output for 7.0.3
for $i took -0.00050187110900879 seconds for \d took -2.4080276489258E-5 seconds foreach \d took -1.3828277587891E-5 seconds preg_grep \d took -6.1988830566406E-6 seconds
Output for 7.0.2
for $i took -0.00069189071655273 seconds for \d took -2.4080276489258E-5 seconds foreach \d took -1.8835067749023E-5 seconds preg_grep \d took -7.8678131103516E-6 seconds
Output for 7.0.1
for $i took -0.00075101852416992 seconds for \d took -2.5033950805664E-5 seconds foreach \d took -2.0027160644531E-5 seconds preg_grep \d took -8.8214874267578E-6 seconds
Output for 7.0.0
for $i took -0.00070810317993164 seconds for \d took -2.3126602172852E-5 seconds foreach \d took -2.288818359375E-5 seconds preg_grep \d took -1.6927719116211E-5 seconds
Output for 5.6.28
for $i took -0.00026321411132812 seconds for \d took -8.6069107055664E-5 seconds foreach \d took -7.3909759521484E-5 seconds preg_grep \d took -2.9087066650391E-5 seconds
Output for 5.6.22
for $i took -0.00020503997802734 seconds for \d took -7.2002410888672E-5 seconds foreach \d took -6.6041946411133E-5 seconds preg_grep \d took -2.598762512207E-5 seconds
Output for 5.6.21
for $i took -0.00015497207641602 seconds for \d took -5.8174133300781E-5 seconds foreach \d took -5.4121017456055E-5 seconds preg_grep \d took -2.0980834960938E-5 seconds
Output for 5.6.20
for $i took -0.0001380443572998 seconds for \d took -5.1021575927734E-5 seconds foreach \d took -4.6968460083008E-5 seconds preg_grep \d took -1.8835067749023E-5 seconds
Output for 5.6.19
for $i took -0.0001680850982666 seconds for \d took -8.1062316894531E-5 seconds foreach \d took -6.6041946411133E-5 seconds preg_grep \d took -2.8848648071289E-5 seconds
Output for 5.6.18
for $i took -0.00015497207641602 seconds for \d took -5.9127807617188E-5 seconds foreach \d took -5.6028366088867E-5 seconds preg_grep \d took -2.1934509277344E-5 seconds
Output for 5.6.17
for $i took -0.0001521110534668 seconds for \d took -5.8889389038086E-5 seconds foreach \d took -5.5074691772461E-5 seconds preg_grep \d took -2.1934509277344E-5 seconds
Output for 5.6.16
for $i took -0.00012898445129395 seconds for \d took -4.7922134399414E-5 seconds foreach \d took -4.3869018554688E-5 seconds preg_grep \d took -1.7166137695312E-5 seconds
Output for 5.6.15
for $i took -0.00020098686218262 seconds for \d took -0.00010418891906738 seconds foreach \d took -8.2969665527344E-5 seconds preg_grep \d took -2.7179718017578E-5 seconds
Output for 5.6.14
for $i took -0.00015997886657715 seconds for \d took -6.3180923461914E-5 seconds foreach \d took -7.6055526733398E-5 seconds preg_grep \d took -2.3126602172852E-5 seconds
Output for 5.6.13
for $i took -0.00018310546875 seconds for \d took -7.2002410888672E-5 seconds foreach \d took -6.6041946411133E-5 seconds preg_grep \d took -2.598762512207E-5 seconds
Output for 5.6.12
for $i took -0.00017404556274414 seconds for \d took -6.7949295043945E-5 seconds foreach \d took -6.3180923461914E-5 seconds preg_grep \d took -2.598762512207E-5 seconds
Output for 5.6.11
for $i took -0.00017786026000977 seconds for \d took -6.7949295043945E-5 seconds foreach \d took -6.2227249145508E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.6.10
for $i took -0.00017786026000977 seconds for \d took -8.1062316894531E-5 seconds foreach \d took -6.8902969360352E-5 seconds preg_grep \d took -3.0994415283203E-5 seconds
Output for 5.6.9
for $i took -0.00011801719665527 seconds for \d took -4.2915344238281E-5 seconds foreach \d took -4.0054321289062E-5 seconds preg_grep \d took -1.5974044799805E-5 seconds
Output for 5.6.8
for $i took -0.0001981258392334 seconds for \d took -7.3909759521484E-5 seconds foreach \d took -6.8902969360352E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.6.7
for $i took -0.00019502639770508 seconds for \d took -7.2956085205078E-5 seconds foreach \d took -6.7949295043945E-5 seconds preg_grep \d took -2.598762512207E-5 seconds
Output for 5.6.6
for $i took -0.00018405914306641 seconds for \d took -7.2002410888672E-5 seconds foreach \d took -6.6995620727539E-5 seconds preg_grep \d took -2.3841857910156E-5 seconds
Output for 5.6.5
for $i took -0.00016212463378906 seconds for \d took -6.1988830566406E-5 seconds foreach \d took -5.7220458984375E-5 seconds preg_grep \d took -2.3126602172852E-5 seconds
Output for 5.6.4
for $i took -0.00019288063049316 seconds for \d took -7.6055526733398E-5 seconds foreach \d took -6.9856643676758E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.6.3
for $i took -0.00016999244689941 seconds for \d took -6.4849853515625E-5 seconds foreach \d took -6.0081481933594E-5 seconds preg_grep \d took -2.288818359375E-5 seconds
Output for 5.6.2
for $i took -0.00019407272338867 seconds for \d took -8.8930130004883E-5 seconds foreach \d took -7.6055526733398E-5 seconds preg_grep \d took -3.1948089599609E-5 seconds
Output for 5.6.1
for $i took -0.00018095970153809 seconds for \d took -6.9856643676758E-5 seconds foreach \d took -6.5088272094727E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.6.0
for $i took -0.00023508071899414 seconds for \d took -7.5101852416992E-5 seconds foreach \d took -6.9141387939453E-5 seconds preg_grep \d took -2.7179718017578E-5 seconds
Output for 5.5.36
for $i took -0.00019001960754395 seconds for \d took -7.2002410888672E-5 seconds foreach \d took -6.7949295043945E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.5.35
for $i took -0.0001990795135498 seconds for \d took -8.9883804321289E-5 seconds foreach \d took -7.9870223999023E-5 seconds preg_grep \d took -3.4093856811523E-5 seconds
Output for 5.5.34
for $i took -0.00016903877258301 seconds for \d took -6.5803527832031E-5 seconds foreach \d took -6.1988830566406E-5 seconds preg_grep \d took -2.4080276489258E-5 seconds
Output for 5.5.33
for $i took -0.00020003318786621 seconds for \d took -7.7009201049805E-5 seconds foreach \d took -7.2002410888672E-5 seconds preg_grep \d took -2.7894973754883E-5 seconds
Output for 5.5.32
for $i took -0.0001978874206543 seconds for \d took -7.7009201049805E-5 seconds foreach \d took -7.1048736572266E-5 seconds preg_grep \d took -2.7894973754883E-5 seconds
Output for 5.5.31
for $i took -0.00021195411682129 seconds for \d took -9.5129013061523E-5 seconds foreach \d took -8.2969665527344E-5 seconds preg_grep \d took -3.6001205444336E-5 seconds
Output for 5.5.30
for $i took -0.00017595291137695 seconds for \d took -8.1777572631836E-5 seconds foreach \d took -7.2956085205078E-5 seconds preg_grep \d took -2.9802322387695E-5 seconds
Output for 5.5.29
for $i took -0.00014090538024902 seconds for \d took -6.1988830566406E-5 seconds foreach \d took -5.3882598876953E-5 seconds preg_grep \d took -2.0980834960938E-5 seconds
Output for 5.5.28
for $i took -0.00019311904907227 seconds for \d took -8.2015991210938E-5 seconds foreach \d took -7.3909759521484E-5 seconds preg_grep \d took -2.9087066650391E-5 seconds
Output for 5.5.27
for $i took -0.00014710426330566 seconds for \d took -6.103515625E-5 seconds foreach \d took -5.0067901611328E-5 seconds preg_grep \d took -2.4080276489258E-5 seconds
Output for 5.5.26
for $i took -0.00013208389282227 seconds for \d took -4.887580871582E-5 seconds foreach \d took -4.3869018554688E-5 seconds preg_grep \d took -1.8119812011719E-5 seconds
Output for 5.5.25
for $i took -0.00017189979553223 seconds for \d took -6.3180923461914E-5 seconds foreach \d took -5.793571472168E-5 seconds preg_grep \d took -2.288818359375E-5 seconds
Output for 5.5.24
for $i took -0.00018191337585449 seconds for \d took -7.2956085205078E-5 seconds foreach \d took -6.6995620727539E-5 seconds preg_grep \d took -2.6226043701172E-5 seconds
Output for 5.5.23
for $i took -0.00019693374633789 seconds for \d took -8.8930130004883E-5 seconds foreach \d took -7.7962875366211E-5 seconds preg_grep \d took -2.9087066650391E-5 seconds
Output for 5.5.22
for $i took -0.00017404556274414 seconds for \d took -7.0095062255859E-5 seconds foreach \d took -6.6041946411133E-5 seconds preg_grep \d took -2.4795532226562E-5 seconds
Output for 5.5.21
for $i took -0.00014305114746094 seconds for \d took -5.793571472168E-5 seconds foreach \d took -5.1975250244141E-5 seconds preg_grep \d took -2.0027160644531E-5 seconds
Output for 5.5.20
for $i took -0.00018095970153809 seconds for \d took -7.4148178100586E-5 seconds foreach \d took -6.6995620727539E-5 seconds preg_grep \d took -2.6226043701172E-5 seconds
Output for 5.5.19
for $i took -0.00013208389282227 seconds for \d took -5.1975250244141E-5 seconds foreach \d took -4.7922134399414E-5 seconds preg_grep \d took -1.8835067749023E-5 seconds
Output for 5.5.18
for $i took -0.00018596649169922 seconds for \d took -7.2002410888672E-5 seconds foreach \d took -6.6041946411133E-5 seconds preg_grep \d took -2.4795532226562E-5 seconds
Output for 5.5.16
for $i took -0.00016307830810547 seconds for \d took -6.1988830566406E-5 seconds foreach \d took -5.793571472168E-5 seconds preg_grep \d took -2.288818359375E-5 seconds
Output for 5.5.15
for $i took -0.00014901161193848 seconds for \d took -5.8889389038086E-5 seconds foreach \d took -5.4121017456055E-5 seconds preg_grep \d took -2.0980834960938E-5 seconds
Output for 5.5.14
for $i took -0.00019121170043945 seconds for \d took -7.7009201049805E-5 seconds foreach \d took -7.0095062255859E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.5.13
for $i took -0.00015401840209961 seconds for \d took -6.8902969360352E-5 seconds foreach \d took -6.2942504882812E-5 seconds preg_grep \d took -2.1934509277344E-5 seconds
Output for 5.5.12
for $i took -0.00016403198242188 seconds for \d took -6.6041946411133E-5 seconds foreach \d took -6.0081481933594E-5 seconds preg_grep \d took -2.3126602172852E-5 seconds
Output for 5.5.11
for $i took -0.00017499923706055 seconds for \d took -6.8902969360352E-5 seconds foreach \d took -6.5088272094727E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.5.10
for $i took -0.00019216537475586 seconds for \d took -7.6055526733398E-5 seconds foreach \d took -7.0810317993164E-5 seconds preg_grep \d took -2.9087066650391E-5 seconds
Output for 5.5.9
for $i took -0.00014996528625488 seconds for \d took -7.3909759521484E-5 seconds foreach \d took -6.0081481933594E-5 seconds preg_grep \d took -2.7894973754883E-5 seconds
Output for 5.5.8
for $i took -0.00012707710266113 seconds for \d took -5.1975250244141E-5 seconds foreach \d took -4.7922134399414E-5 seconds preg_grep \d took -1.9073486328125E-5 seconds
Output for 5.5.7
for $i took -0.00013589859008789 seconds for \d took -7.4148178100586E-5 seconds foreach \d took -4.6968460083008E-5 seconds preg_grep \d took -1.7881393432617E-5 seconds
Output for 5.5.6
for $i took -0.00016498565673828 seconds for \d took -6.9141387939453E-5 seconds foreach \d took -6.3896179199219E-5 seconds preg_grep \d took -2.4080276489258E-5 seconds
Output for 5.5.5
for $i took -0.00018191337585449 seconds for \d took -7.5101852416992E-5 seconds foreach \d took -6.8902969360352E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.5.4
for $i took -0.00017905235290527 seconds for \d took -7.2956085205078E-5 seconds foreach \d took -6.7949295043945E-5 seconds preg_grep \d took -2.598762512207E-5 seconds
Output for 5.5.3
for $i took -0.00018787384033203 seconds for \d took -9.1075897216797E-5 seconds foreach \d took -7.6055526733398E-5 seconds preg_grep \d took -3.2901763916016E-5 seconds
Output for 5.5.2
for $i took -0.00016999244689941 seconds for \d took -8.9883804321289E-5 seconds foreach \d took -6.3180923461914E-5 seconds preg_grep \d took -2.3841857910156E-5 seconds
Output for 5.5.1
for $i took -0.00015997886657715 seconds for \d took -6.2942504882812E-5 seconds foreach \d took -5.793571472168E-5 seconds preg_grep \d took -2.288818359375E-5 seconds
Output for 5.5.0
for $i took -0.00012111663818359 seconds for \d took -5.8889389038086E-5 seconds foreach \d took -5.4121017456055E-5 seconds preg_grep \d took -2.3126602172852E-5 seconds
Output for 5.4.45
for $i took -0.00014209747314453 seconds for \d took -6.103515625E-5 seconds foreach \d took -5.1021575927734E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.4.44
for $i took -0.00015115737915039 seconds for \d took -6.8902969360352E-5 seconds foreach \d took -5.9127807617188E-5 seconds preg_grep \d took -2.2172927856445E-5 seconds
Output for 5.4.43
for $i took -0.00019216537475586 seconds for \d took -7.4863433837891E-5 seconds foreach \d took -6.9856643676758E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.4.42
for $i took -0.00025296211242676 seconds for \d took -7.6055526733398E-5 seconds foreach \d took -6.8902969360352E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.4.41
for $i took -0.00015497207641602 seconds for \d took -6.0081481933594E-5 seconds foreach \d took -5.5074691772461E-5 seconds preg_grep \d took -2.1934509277344E-5 seconds
Output for 5.4.40
for $i took -0.0001378059387207 seconds for \d took -5.793571472168E-5 seconds foreach \d took -5.2213668823242E-5 seconds preg_grep \d took -2.0027160644531E-5 seconds
Output for 5.4.39
for $i took -0.00016283988952637 seconds for \d took -8.2969665527344E-5 seconds foreach \d took -6.7949295043945E-5 seconds preg_grep \d took -2.9087066650391E-5 seconds
Output for 5.4.38
for $i took -0.00013613700866699 seconds for \d took -5.6982040405273E-5 seconds foreach \d took -5.1975250244141E-5 seconds preg_grep \d took -2.0027160644531E-5 seconds
Output for 5.4.37
for $i took -0.00017881393432617 seconds for \d took -7.3909759521484E-5 seconds foreach \d took -6.7949295043945E-5 seconds preg_grep \d took -2.7894973754883E-5 seconds
Output for 5.4.36
for $i took -0.00020313262939453 seconds for \d took -7.2002410888672E-5 seconds foreach \d took -6.8902969360352E-5 seconds preg_grep \d took -2.4080276489258E-5 seconds
Output for 5.4.35
for $i took -0.00019001960754395 seconds for \d took -6.8902969360352E-5 seconds foreach \d took -6.1988830566406E-5 seconds preg_grep \d took -2.4080276489258E-5 seconds
Output for 5.4.34
for $i took -0.00017285346984863 seconds for \d took -6.7949295043945E-5 seconds foreach \d took -6.0796737670898E-5 seconds preg_grep \d took -2.4080276489258E-5 seconds
Output for 5.4.32
for $i took -0.00019288063049316 seconds for \d took -7.4863433837891E-5 seconds foreach \d took -6.7949295043945E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.4.31
for $i took -0.00015997886657715 seconds for \d took -6.6995620727539E-5 seconds foreach \d took -6.103515625E-5 seconds preg_grep \d took -2.4080276489258E-5 seconds
Output for 5.4.30
for $i took -0.00012898445129395 seconds for \d took -5.3882598876953E-5 seconds foreach \d took -5.0067901611328E-5 seconds preg_grep \d took -1.8835067749023E-5 seconds
Output for 5.4.29
for $i took -0.00016188621520996 seconds for \d took -6.6995620727539E-5 seconds foreach \d took -6.1988830566406E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.4.28
for $i took -0.00014686584472656 seconds for \d took -5.793571472168E-5 seconds foreach \d took -5.3882598876953E-5 seconds preg_grep \d took -2.0980834960938E-5 seconds
Output for 5.4.27
for $i took -0.00017809867858887 seconds for \d took -7.3909759521484E-5 seconds foreach \d took -6.8187713623047E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.4.26
for $i took -0.00017690658569336 seconds for \d took -7.0095062255859E-5 seconds foreach \d took -6.5088272094727E-5 seconds preg_grep \d took -2.3841857910156E-5 seconds
Output for 5.4.25
for $i took -0.00017404556274414 seconds for \d took -7.1048736572266E-5 seconds foreach \d took -6.4849853515625E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.4.24
for $i took -0.00011301040649414 seconds for \d took -5.3882598876953E-5 seconds foreach \d took -4.6968460083008E-5 seconds preg_grep \d took -2.0027160644531E-5 seconds
Output for 5.4.23
for $i took -0.00019001960754395 seconds for \d took -8.0108642578125E-5 seconds foreach \d took -7.3909759521484E-5 seconds preg_grep \d took -3.1948089599609E-5 seconds
Output for 5.4.22
for $i took -0.00017905235290527 seconds for \d took -6.9856643676758E-5 seconds foreach \d took -6.6041946411133E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.4.21
for $i took -0.00018787384033203 seconds for \d took -7.7962875366211E-5 seconds foreach \d took -9.2983245849609E-5 seconds preg_grep \d took -2.9087066650391E-5 seconds
Output for 5.4.20
for $i took -0.00014710426330566 seconds for \d took -5.8889389038086E-5 seconds foreach \d took -5.5074691772461E-5 seconds preg_grep \d took -2.1219253540039E-5 seconds
Output for 5.4.19
for $i took -0.00015592575073242 seconds for \d took -6.103515625E-5 seconds foreach \d took -5.4836273193359E-5 seconds preg_grep \d took -2.1934509277344E-5 seconds
Output for 5.4.18
for $i took -0.00018906593322754 seconds for \d took -9.2983245849609E-5 seconds foreach \d took -8.1062316894531E-5 seconds preg_grep \d took -3.3855438232422E-5 seconds
Output for 5.4.17
for $i took -0.00016093254089355 seconds for \d took -6.2942504882812E-5 seconds foreach \d took -5.8889389038086E-5 seconds preg_grep \d took -2.288818359375E-5 seconds
Output for 5.4.16
for $i took -0.00016617774963379 seconds for \d took -6.6995620727539E-5 seconds foreach \d took -6.103515625E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.4.15
for $i took -0.00011706352233887 seconds for \d took -4.6014785766602E-5 seconds foreach \d took -4.3153762817383E-5 seconds preg_grep \d took -1.6212463378906E-5 seconds
Output for 5.4.14
for $i took -0.00019407272338867 seconds for \d took -7.9154968261719E-5 seconds foreach \d took -7.2956085205078E-5 seconds preg_grep \d took -2.6941299438477E-5 seconds
Output for 5.4.13
for $i took -0.00016689300537109 seconds for \d took -7.8916549682617E-5 seconds foreach \d took -6.8902969360352E-5 seconds preg_grep \d took -3.0040740966797E-5 seconds
Output for 5.4.12
for $i took -0.00014209747314453 seconds for \d took -6.8902969360352E-5 seconds foreach \d took -5.5074691772461E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 5.4.11
for $i took -0.00013303756713867 seconds for \d took -5.793571472168E-5 seconds foreach \d took -4.9114227294922E-5 seconds preg_grep \d took -1.8835067749023E-5 seconds
Output for 5.4.10
for $i took -0.00013303756713867 seconds for \d took -4.3153762817383E-5 seconds foreach \d took -3.9100646972656E-5 seconds preg_grep \d took -1.4781951904297E-5 seconds
Output for 5.4.9
for $i took -0.00010395050048828 seconds for \d took -5.4121017456055E-5 seconds foreach \d took -4.3153762817383E-5 seconds preg_grep \d took -1.5974044799805E-5 seconds
Output for 5.4.8
for $i took -0.0001070499420166 seconds for \d took -5.4121017456055E-5 seconds foreach \d took -4.3153762817383E-5 seconds preg_grep \d took -1.9073486328125E-5 seconds
Output for 5.4.7
for $i took -0.00010490417480469 seconds for \d took -4.9114227294922E-5 seconds foreach \d took -4.4107437133789E-5 seconds preg_grep \d took -1.5974044799805E-5 seconds
Output for 5.4.6
for $i took -0.00010490417480469 seconds for \d took -4.3153762817383E-5 seconds foreach \d took -4.0054321289062E-5 seconds preg_grep \d took -1.5974044799805E-5 seconds
Output for 5.4.5
for $i took -0.00019717216491699 seconds for \d took -8.6069107055664E-5 seconds foreach \d took -6.9856643676758E-5 seconds preg_grep \d took -1.5020370483398E-5 seconds
Output for 5.4.4
for $i took -0.00010895729064941 seconds for \d took -4.3153762817383E-5 seconds foreach \d took -4.0054321289062E-5 seconds preg_grep \d took -1.5974044799805E-5 seconds
Output for 5.4.3
for $i took -0.00014209747314453 seconds for \d took -5.7220458984375E-5 seconds foreach \d took -5.3167343139648E-5 seconds preg_grep \d took -2.0980834960938E-5 seconds
Output for 5.4.2
for $i took -0.00010585784912109 seconds for \d took -5.0067901611328E-5 seconds foreach \d took -3.9100646972656E-5 seconds preg_grep \d took -1.9073486328125E-5 seconds
Output for 5.4.1
for $i took -0.00020909309387207 seconds for \d took -7.7009201049805E-5 seconds foreach \d took -7.0810317993164E-5 seconds preg_grep \d took -2.9087066650391E-5 seconds
Output for 5.4.0
for $i took -0.00016999244689941 seconds for \d took -7.2002410888672E-5 seconds foreach \d took -6.5088272094727E-5 seconds preg_grep \d took -2.5033950805664E-5 seconds
Output for 4.4.2 - 4.4.9, 5.1.0 - 5.3.29
Parse error: syntax error, unexpected '[' in /in/uO4GN on line 7
Process exited with code 255.
Output for 4.3.0 - 4.3.1, 4.3.5 - 4.4.1, 5.0.0 - 5.0.5
Parse error: parse error, unexpected '[' in /in/uO4GN on line 7
Process exited with code 255.
Output for 4.3.2 - 4.3.4
Parse error: parse error in /in/uO4GN on line 7
Process exited with code 255.