3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $class = 'Concrete5_Controller_Name'; // Let's warm up $i = 0; while(++$i < 100) { if(0) {} } // Test 'else if' $i = 0; $start = microtime(true); while(++$i < 100) { preg_match('/^Concrete5_Model_(.*)/i', $class); preg_match('/^Concrete5_Helper_(.*)/i', $class); preg_match('/^Concrete5_Controller_(.*)/i', $class); } $end = microtime(true); echo "preg_match: ".($end - $start)."\n"; unset($start, $end); // Test 'elseif' $i = 0; $start = microtime(true); while(++$i < 100) { stripos($class, 'Concrete5_Model_'); stripos($class, 'Concrete5_Helper_'); stripos($class, 'Concrete5_Controller_'); } $end = microtime(true); echo "stripos: ".($end - $start);
Output for 7.2.0
preg_match: 0.00010108947753906 stripos: 2.5033950805664E-5
Output for 7.1.7
preg_match: 9.608268737793E-5 stripos: 3.504753112793E-5
Output for 7.1.6
preg_match: 0.00021886825561523 stripos: 8.6069107055664E-5
Output for 7.1.5
preg_match: 0.00019288063049316 stripos: 9.7990036010742E-5
Output for 7.1.0
preg_match: -0.0001518726348877 stripos: -7.2002410888672E-5
Output for 7.0.20
preg_match: 9.2983245849609E-5 stripos: 3.6954879760742E-5
Output for 7.0.14
preg_match: 0.0001530647277832 stripos: 8.5115432739258E-5
Output for 7.0.12
preg_match: 8.7976455688477E-5 stripos: 3.8862228393555E-5
Output for 7.0.6
preg_match: 0.00019001960754395 stripos: 5.2928924560547E-5
Output for 7.0.5
preg_match: 0.00012993812561035 stripos: 4.4107437133789E-5
Output for 7.0.4
preg_match: 9.8228454589844E-5 stripos: 3.504753112793E-5
Output for 7.0.3
preg_match: 0.00013899803161621 stripos: 4.6014785766602E-5
Output for 7.0.2
preg_match: 0.00015997886657715 stripos: 5.1021575927734E-5
Output for 7.0.1
preg_match: 0.00017595291137695 stripos: 7.2002410888672E-5
Output for 7.0.0
preg_match: 0.00014114379882812 stripos: 6.103515625E-5
Output for 5.6.28
preg_match: 0.0001978874206543 stripos: 9.9897384643555E-5
Output for 5.6.21
preg_match: 0.00019192695617676 stripos: 0.00010991096496582
Output for 5.6.20
preg_match: 0.00012516975402832 stripos: 7.2956085205078E-5
Output for 5.6.19
preg_match: 0.00018310546875 stripos: 8.2969665527344E-5
Output for 5.6.18
preg_match: 0.00011396408081055 stripos: 5.2928924560547E-5
Output for 5.6.17
preg_match: 0.00014781951904297 stripos: 8.4877014160156E-5
Output for 5.6.16
preg_match: 0.00015687942504883 stripos: 9.2983245849609E-5
Output for 5.6.15
preg_match: 0.00017189979553223 stripos: 0.00010490417480469
Output for 5.6.14
preg_match: 0.00018000602722168 stripos: 0.00010895729064941
Output for 5.6.13
preg_match: 0.00016283988952637 stripos: 0.00010800361633301
Output for 5.6.12
preg_match: 0.00019216537475586 stripos: 0.00010919570922852
Output for 5.6.11
preg_match: 0.00013589859008789 stripos: 8.4877014160156E-5
Output for 5.6.10
preg_match: 0.00015807151794434 stripos: 0.00010585784912109
Output for 5.6.9
preg_match: 0.00018000602722168 stripos: 0.00012493133544922
Output for 5.6.8
preg_match: 0.00011897087097168 stripos: 6.9141387939453E-5
Output for 5.5.35
preg_match: 0.00016593933105469 stripos: 9.5844268798828E-5
Output for 5.5.34
preg_match: 0.00015997886657715 stripos: 9.1075897216797E-5
Output for 5.5.33
preg_match: 0.00018215179443359 stripos: 8.2015991210938E-5
Output for 5.5.32
preg_match: 0.00015401840209961 stripos: 8.6069107055664E-5
Output for 5.5.31
preg_match: 0.00017309188842773 stripos: 9.7990036010742E-5
Output for 5.5.30
preg_match: 0.00011897087097168 stripos: 6.7949295043945E-5
Output for 5.5.29
preg_match: 0.00025200843811035 stripos: 0.00014185905456543
Output for 5.5.28
preg_match: 0.00018215179443359 stripos: 0.00010490417480469
Output for 5.5.27
preg_match: 0.00014901161193848 stripos: 8.392333984375E-5
Output for 5.5.26
preg_match: 0.00018095970153809 stripos: 0.00010895729064941
Output for 5.5.25
preg_match: 0.00019097328186035 stripos: 0.00010418891906738
Output for 5.5.24
preg_match: 0.00028681755065918 stripos: 0.00016498565673828
Output for 5.4.45
preg_match: 0.00017690658569336 stripos: 0.00010395050048828
Output for 5.4.44
preg_match: 0.00011610984802246 stripos: 6.6041946411133E-5
Output for 5.4.43
preg_match: 0.00016403198242188 stripos: 7.8201293945312E-5
Output for 5.4.42
preg_match: 0.00017285346984863 stripos: 8.9883804321289E-5
Output for 5.4.41
preg_match: 0.0001220703125 stripos: 7.0095062255859E-5
Output for 5.4.40
preg_match: 0.00010991096496582 stripos: 5.2928924560547E-5
Output for 5.4.39
preg_match: 0.0001838207244873 stripos: 9.3936920166016E-5
Output for 5.4.38
preg_match: 0.00017499923706055 stripos: 9.0122222900391E-5
Output for 5.4.37
preg_match: 0.00011897087097168 stripos: 5.4836273193359E-5
Output for 5.4.36
preg_match: 0.00018405914306641 stripos: 9.1075897216797E-5
Output for 5.4.35
preg_match: 0.00016379356384277 stripos: 0.00011897087097168
Output for 5.4.34
preg_match: 0.00012707710266113 stripos: 6.103515625E-5
Output for 5.4.32
preg_match: 0.0001680850982666 stripos: 9.608268737793E-5
Output for 5.4.31
preg_match: 0.00017404556274414 stripos: 8.702278137207E-5
Output for 5.4.30
preg_match: 0.00015997886657715 stripos: 7.7009201049805E-5
Output for 5.4.25, 5.4.29
preg_match: 0.00017714500427246 stripos: 8.5115432739258E-5
Output for 5.4.28
preg_match: 0.00017714500427246 stripos: 0.00011706352233887
Output for 5.4.27
preg_match: 0.00010800361633301 stripos: 6.7949295043945E-5
Output for 5.4.26
preg_match: 0.00014710426330566 stripos: 8.7976455688477E-5
Output for 5.4.24
preg_match: 0.00018191337585449 stripos: 0.00012516975402832
Output for 5.4.23
preg_match: 0.0001671314239502 stripos: 9.7990036010742E-5
Output for 5.4.22
preg_match: 0.00012397766113281 stripos: 5.1021575927734E-5
Output for 5.4.21
preg_match: 0.00031304359436035 stripos: 0.00017285346984863
Output for 5.4.20
preg_match: 0.00012016296386719 stripos: 6.9856643676758E-5
Output for 5.4.19
preg_match: 0.00016999244689941 stripos: 8.082389831543E-5
Output for 5.4.18
preg_match: 0.00017499923706055 stripos: 8.7976455688477E-5
Output for 5.4.17
preg_match: 0.00013017654418945 stripos: 6.5088272094727E-5
Output for 5.4.16
preg_match: 0.0001220703125 stripos: 5.2928924560547E-5
Output for 5.4.15
preg_match: 0.00015592575073242 stripos: 7.7009201049805E-5
Output for 5.4.14
preg_match: 0.00031113624572754 stripos: 0.00014305114746094
Output for 5.4.13
preg_match: 0.00017309188842773 stripos: 8.2015991210938E-5
Output for 5.4.12
preg_match: 0.0001528263092041 stripos: 9.1075897216797E-5
Output for 5.4.11
preg_match: 0.00017309188842773 stripos: 8.702278137207E-5
Output for 5.4.10
preg_match: 0.00011396408081055 stripos: 9.4890594482422E-5
Output for 5.4.9
preg_match: 0.00017118453979492 stripos: 8.702278137207E-5
Output for 5.4.8
preg_match: 0.00018811225891113 stripos: 9.4175338745117E-5
Output for 5.4.7
preg_match: 0.00015783309936523 stripos: 7.7962875366211E-5
Output for 5.4.6
preg_match: 0.00018191337585449 stripos: 8.7976455688477E-5
Output for 5.4.5
preg_match: 0.00014996528625488 stripos: 7.7962875366211E-5
Output for 5.4.4
preg_match: 0.00027012825012207 stripos: 0.00013899803161621
Output for 5.4.3
preg_match: 0.00018310546875 stripos: 0.00010395050048828
Output for 5.4.2
preg_match: 0.0001978874206543 stripos: 9.1791152954102E-5
Output for 5.4.1
preg_match: 0.00018191337585449 stripos: 8.8930130004883E-5
Output for 5.4.0
preg_match: 0.00019311904907227 stripos: 0.00011110305786133
Output for 5.3.29
preg_match: 0.00018906593322754 stripos: 0.00011515617370605
Output for 5.3.28
preg_match: 0.00021505355834961 stripos: 0.00017499923706055
Output for 5.3.27
preg_match: 0.00019001960754395 stripos: 9.0837478637695E-5
Output for 5.3.26
preg_match: 0.00019598007202148 stripos: 9.7036361694336E-5
Output for 5.3.25
preg_match: 0.00019598007202148 stripos: 9.2029571533203E-5
Output for 5.3.24
preg_match: 0.00015115737915039 stripos: 7.4863433837891E-5
Output for 5.3.23
preg_match: 0.00011897087097168 stripos: 6.9856643676758E-5
Output for 5.3.22
preg_match: 0.00018501281738281 stripos: 9.9897384643555E-5
Output for 5.3.21
preg_match: 0.0002291202545166 stripos: 9.9897384643555E-5
Output for 5.3.20
preg_match: 0.00013589859008789 stripos: 6.8187713623047E-5
Output for 5.3.19
preg_match: 0.00019097328186035 stripos: 9.6797943115234E-5
Output for 5.3.18
preg_match: 0.00012993812561035 stripos: 6.6995620727539E-5
Output for 5.3.17
preg_match: 0.0001978874206543 stripos: 0.00011801719665527
Output for 5.3.16
preg_match: 0.00015783309936523 stripos: 9.2029571533203E-5
Output for 5.3.15
preg_match: 0.00020790100097656 stripos: 9.8943710327148E-5
Output for 5.3.14
preg_match: 0.00019598007202148 stripos: 9.608268737793E-5
Output for 5.3.13
preg_match: 0.00017905235290527 stripos: 8.8930130004883E-5
Output for 5.3.12
preg_match: 0.00030899047851562 stripos: 0.00020694732666016
Output for 5.3.11
preg_match: 0.00020599365234375 stripos: 0.00010395050048828
Output for 5.3.10
preg_match: 0.00015997886657715 stripos: 8.1062316894531E-5
Output for 5.3.9
preg_match: 0.00019693374633789 stripos: 9.8943710327148E-5
Output for 5.3.8
preg_match: 0.00023388862609863 stripos: 6.103515625E-5
Output for 5.3.7
preg_match: 0.00020408630371094 stripos: 0.00012302398681641
Output for 5.3.6
preg_match: 0.00020813941955566 stripos: 9.3936920166016E-5
Output for 5.3.5
preg_match: 0.00019383430480957 stripos: 0.00011610984802246
Output for 5.3.4
preg_match: 0.00037384033203125 stripos: 0.0002598762512207
Output for 5.3.3
preg_match: 0.00018215179443359 stripos: 0.00011110305786133
Output for 5.3.2
preg_match: 0.00018000602722168 stripos: 9.3221664428711E-5
Output for 5.3.1
preg_match: 0.00019001960754395 stripos: 9.7036361694336E-5
Output for 5.3.0
preg_match: 0.00012016296386719 stripos: 5.9127807617188E-5
Output for 5.2.17
preg_match: 0.00018501281738281 stripos: 9.608268737793E-5
Output for 5.2.16
preg_match: 0.00015807151794434 stripos: 8.702278137207E-5
Output for 5.2.15
preg_match: 0.00013184547424316 stripos: 6.7949295043945E-5
Output for 5.2.14
preg_match: 0.00021815299987793 stripos: 0.00012707710266113
Output for 5.2.13
preg_match: 0.00023913383483887 stripos: 0.00010895729064941
Output for 5.2.12
preg_match: 0.00020503997802734 stripos: 0.00010991096496582
Output for 5.2.11
preg_match: 0.00015616416931152 stripos: 8.0108642578125E-5
Output for 5.2.10
preg_match: 0.00015091896057129 stripos: 7.7009201049805E-5
Output for 5.2.9
preg_match: 0.00017189979553223 stripos: 8.702278137207E-5
Output for 5.2.8
preg_match: 0.00020503997802734 stripos: 0.0001070499420166
Output for 5.2.7
preg_match: 0.00014495849609375 stripos: 7.0095062255859E-5
Output for 5.2.6
preg_match: 0.00020503997802734 stripos: 0.00010395050048828
Output for 5.2.5
preg_match: 0.00019502639770508 stripos: 0.0001218318939209
Output for 5.2.4
preg_match: 0.00028610229492188 stripos: 0.00016593933105469
Output for 5.2.3
preg_match: 0.00013184547424316 stripos: 6.5088272094727E-5
Output for 5.2.2
preg_match: 0.00016593933105469 stripos: 8.5830688476562E-5
Output for 5.2.1
preg_match: 0.00012707710266113 stripos: 6.6995620727539E-05
Output for 5.2.0
preg_match: 0.00011301040649414 stripos: 5.9843063354492E-05
Output for 5.1.6
preg_match: 0.00021195411682129 stripos: 0.00011610984802246
Output for 5.1.5
preg_match: 0.00018787384033203 stripos: 9.7036361694336E-05
Output for 5.1.4
preg_match: 0.00019693374633789 stripos: 0.00011301040649414
Output for 5.1.3
preg_match: 0.00019192695617676 stripos: 0.00010204315185547
Output for 5.1.2
preg_match: 0.00015807151794434 stripos: 9.4890594482422E-05
Output for 5.1.1
preg_match: 0.00012898445129395 stripos: 6.7949295043945E-05
Output for 5.1.0
preg_match: 0.0001828670501709 stripos: 9.6797943115234E-05
Output for 5.0.5
preg_match: 0.00024104118347168 stripos: 0.00014305114746094
Output for 5.0.4
preg_match: 0.00022196769714355 stripos: 0.00014901161193848
Output for 5.0.3
preg_match: 0.0001368522644043 stripos: 0.00010204315185547
Output for 5.0.2
preg_match: 0.00023388862609863 stripos: 0.00017595291137695
Output for 5.0.1
preg_match: 0.00014495849609375 stripos: 9.918212890625E-05
Output for 5.0.0
preg_match: 0.00014209747314453 stripos: 9.608268737793E-05
Output for 4.4.9
preg_match: 0.00036999999999998 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.8
preg_match: 0.000282 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.7
preg_match: 0.000195 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.6
preg_match: 0.00026300000000001 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.5
preg_match: 0.00024900000000005 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.4
preg_match: 0.00020999999999999 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.3
preg_match: 0.00015100000000001 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.2
preg_match: 0.00017300000000001 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.1
preg_match: 0.000226 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.4.0
preg_match: 0.00021899999999997 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.11
preg_match: 0.000166 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.10
preg_match: 0.000303 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.9
preg_match: 0.00018200000000002 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.8
preg_match: 0.00016099999999997 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.7
preg_match: 0.00012200000000001 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.6
preg_match: 0.00012899999999999 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.5
preg_match: 0.00012600000000001 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.4
preg_match: 0.00020300000000001 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.3
preg_match: 0.00020999999999993 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.2
preg_match: 0.00016799999999995 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Process exited with code 255.
Output for 4.3.1
preg_match: 0.00015700000000007 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16
Output for 4.3.0
preg_match: 0.000202 Fatal error: Call to undefined function: stripos() in /in/ACQ4g on line 16