3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $_1 = "uno"; $_3 = "tres"; $_5 = "cinco"; $t0 = microtime(TRUE); for ($i = 0; $i < 500; ++$i) { $s = "$_1 dos $_3 cuatro $_5\n"; } $t1 = microtime(TRUE); echo ($t1 - $t0) . "seconds\n"; for ($i = 0; $i < 500; ++$i) { $s = $_1 . " dos " . $_3 . " cuatro " . $_5 . "\n"; } $t2 = microtime(TRUE); echo ($t2 - $t1) . "seconds\n"; for ($i = 0; $i < 500; ++$i) { $s = $_1 . ' dos ' . $_3 . ' cuatro ' . $_5 . PHP_EOL; } $t3 = microtime(TRUE); echo ($t3 - $t2) . "seconds\n"; for ($i = 0; $i < 500; ++$i) { $s = sprintf("%s dos %s cuatro %s\n", $_1, $_3, $_5); } $t4 = microtime(TRUE); echo ($t4 - $t3) . "seconds\n";
Output for 7.1.0
6.5803527832031E-5seconds 9.918212890625E-5seconds 7.8916549682617E-5seconds 9.8943710327148E-5seconds
Output for 7.0.14
7.7009201049805E-5seconds 0.00010204315185547seconds 8.2015991210938E-5seconds 0.00010180473327637seconds
Output for 7.0.10
4.1961669921875E-5seconds 7.5101852416992E-5seconds 6.1988830566406E-5seconds 6.9856643676758E-5seconds
Output for 7.0.9
3.2186508178711E-5seconds 6.0796737670898E-5seconds 4.7206878662109E-5seconds 5.4836273193359E-5seconds
Output for 7.0.8
4.9114227294922E-5seconds 9.2983245849609E-5seconds 7.7009201049805E-5seconds 8.4877014160156E-5seconds
Output for 7.0.7
3.0994415283203E-5seconds 6.103515625E-5seconds 4.6968460083008E-5seconds 5.3167343139648E-5seconds
Output for 7.0.6
3.2186508178711E-5seconds 6.3896179199219E-5seconds 4.5061111450195E-5seconds 5.2928924560547E-5seconds
Output for 7.0.5
3.2186508178711E-5seconds 5.793571472168E-5seconds 4.7922134399414E-5seconds 5.1975250244141E-5seconds
Output for 7.0.4
3.7908554077148E-5seconds 8.7976455688477E-5seconds 7.5101852416992E-5seconds 5.793571472168E-5seconds
Output for 7.0.3
3.3855438232422E-5seconds 5.3167343139648E-5seconds 3.7908554077148E-5seconds 4.5061111450195E-5seconds
Output for 7.0.2
6.103515625E-5seconds 9.8943710327148E-5seconds 7.9870223999023E-5seconds 9.0122222900391E-5seconds
Output for 7.0.1
3.0040740966797E-5seconds 5.6982040405273E-5seconds 4.4107437133789E-5seconds 5.1021575927734E-5seconds
Output for 7.0.0
3.0040740966797E-5seconds 5.6982040405273E-5seconds 4.2915344238281E-5seconds 4.887580871582E-5seconds
Output for hhvm-3.12.0
0.00017189979553223seconds 0.00028800964355469seconds 0.00021815299987793seconds 0.0002288818359375seconds
Output for hhvm-3.10.0
0.0002288818359375seconds 0.00024199485778809seconds 0.00021696090698242seconds 0.00021910667419434seconds
Output for 5.6.28
0.00011682510375977seconds 0.00017905235290527seconds 0.00015616416931152seconds 0.00024294853210449seconds
Output for 5.6.25
4.8160552978516E-5seconds 7.7009201049805E-5seconds 5.8889389038086E-5seconds 9.8943710327148E-5seconds
Output for 5.6.24
5.0067901611328E-5seconds 0.00010013580322266seconds 9.8943710327148E-5seconds 0.00013089179992676seconds
Output for 5.6.23
5.0783157348633E-5seconds 6.9141387939453E-5seconds 6.4849853515625E-5seconds 9.918212890625E-5seconds
Output for 5.6.22
0.0001070499420166seconds 0.00013494491577148seconds 0.00011992454528809seconds 0.00019717216491699seconds
Output for 5.6.21
8.9883804321289E-5seconds 0.00011396408081055seconds 9.918212890625E-5seconds 0.00015997886657715seconds
Output for 5.6.20
8.6784362792969E-5seconds 0.00011706352233887seconds 0.00010299682617188seconds 0.0001671314239502seconds
Output for 5.6.19
5.6982040405273E-5seconds 8.4161758422852E-5seconds 9.1791152954102E-5seconds 0.00010514259338379seconds
Output for 5.6.18
6.0796737670898E-5seconds 9.7990036010742E-5seconds 7.9154968261719E-5seconds 0.00012707710266113seconds
Output for 5.6.17
9.1075897216797E-5seconds 0.00014209747314453seconds 0.00011801719665527seconds 0.00019693374633789seconds
Output for 5.6.16
8.9883804321289E-5seconds 0.00014710426330566seconds 0.00011801719665527seconds 0.00021100044250488seconds
Output for 5.6.15
5.1021575927734E-5seconds 8.702278137207E-5seconds 6.2942504882812E-5seconds 0.00012302398681641seconds
Output for 5.6.14
5.793571472168E-5seconds 8.2015991210938E-5seconds 7.4148178100586E-5seconds 0.00011992454528809seconds
Output for 5.6.13
9.0122222900391E-5seconds 0.00012397766113281seconds 0.00011086463928223seconds 0.00018906593322754seconds
Output for 5.6.12
5.6982040405273E-5seconds 9.0837478637695E-5seconds 7.319450378418E-5seconds 0.00012087821960449seconds
Output for 5.6.11
5.8174133300781E-5seconds 8.2969665527344E-5seconds 7.1048736572266E-5seconds 0.00012493133544922seconds
Output for 5.6.10
7.4148178100586E-5seconds 7.3909759521484E-5seconds 0.00011992454528809seconds 0.00016903877258301seconds
Output for 5.6.9
9.1791152954102E-5seconds 9.608268737793E-5seconds 8.2969665527344E-5seconds 0.00018310546875seconds
Output for 5.6.8
8.1777572631836E-5seconds 9.4175338745117E-5seconds 6.7949295043945E-5seconds 0.00010108947753906seconds
Output for 5.6.7
4.6968460083008E-5seconds 7.0095062255859E-5seconds 5.2928924560547E-5seconds 9.9897384643555E-5seconds
Output for 5.6.6
4.6968460083008E-5seconds 7.8916549682617E-5seconds 5.6982040405273E-5seconds 0.00010108947753906seconds
Output for 5.6.5
6.1988830566406E-5seconds 8.2015991210938E-5seconds 6.1988830566406E-5seconds 0.00011301040649414seconds
Output for 5.6.4
5.1021575927734E-5seconds 0.00011706352233887seconds 6.0081481933594E-5seconds 0.00010085105895996seconds
Output for 5.6.3
8.4161758422852E-5seconds 9.2029571533203E-5seconds 7.5817108154297E-5seconds 0.00013208389282227seconds
Output for 5.6.2
4.8160552978516E-5seconds 6.3896179199219E-5seconds 5.1975250244141E-5seconds 0.00010013580322266seconds
Output for 5.6.1
7.7009201049805E-5seconds 0.00011396408081055seconds 8.9168548583984E-5seconds 0.00015878677368164seconds
Output for 5.6.0
4.7922134399414E-5seconds 6.413459777832E-5seconds 5.3882598876953E-5seconds 0.00010013580322266seconds
Output for 5.5.38
7.4863433837891E-5seconds 0.0001060962677002seconds 9.1075897216797E-5seconds 0.00016283988952637seconds
Output for 5.5.37
4.9829483032227E-5seconds 6.8187713623047E-5seconds 5.6028366088867E-5seconds 0.00012493133544922seconds
Output for 5.5.36
8.9883804321289E-5seconds 0.00012302398681641seconds 0.00011205673217773seconds 0.0001978874206543seconds
Output for 5.5.35
6.7949295043945E-5seconds 9.7036361694336E-5seconds 8.082389831543E-5seconds 0.00015616416931152seconds
Output for 5.5.34
8.4161758422852E-5seconds 0.00010395050048828seconds 9.2029571533203E-5seconds 0.00016903877258301seconds
Output for 5.5.33
9.8943710327148E-5seconds 0.00015020370483398seconds 0.00012683868408203seconds 0.00024008750915527seconds
Output for 5.5.32
7.9870223999023E-5seconds 0.00010514259338379seconds 9.2983245849609E-5seconds 0.00016903877258301seconds
Output for 5.5.31
5.8174133300781E-5seconds 7.7962875366211E-5seconds 6.9856643676758E-5seconds 0.00012803077697754seconds
Output for 5.5.30
4.7922134399414E-5seconds 6.6995620727539E-5seconds 5.6982040405273E-5seconds 0.00010991096496582seconds
Output for 5.5.29
9.0122222900391E-5seconds 0.00012087821960449seconds 0.00010800361633301seconds 0.00020003318786621seconds
Output for 5.5.28
5.8889389038086E-5seconds 9.0122222900391E-5seconds 7.4863433837891E-5seconds 0.00013113021850586seconds
Output for 5.5.27
4.9829483032227E-5seconds 7.0095062255859E-5seconds 5.6982040405273E-5seconds 0.00010299682617188seconds
Output for 5.5.26
4.887580871582E-5seconds 6.8187713623047E-5seconds 0.00012493133544922seconds 0.00011205673217773seconds
Output for 5.5.25
6.103515625E-5seconds 8.2015991210938E-5seconds 7.1048736572266E-5seconds 0.00012588500976562seconds
Output for 5.5.24
5.8889389038086E-5seconds 7.4148178100586E-5seconds 6.3896179199219E-5seconds 0.00012803077697754seconds
Output for 5.5.23
5.0067901611328E-5seconds 6.6041946411133E-5seconds 5.2928924560547E-5seconds 0.0001070499420166seconds
Output for 5.5.22
5.2928924560547E-5seconds 6.413459777832E-5seconds 5.4836273193359E-5seconds 0.00010204315185547seconds
Output for 5.5.21
6.9856643676758E-5seconds 0.00010395050048828seconds 9.1075897216797E-5seconds 0.00014495849609375seconds
Output for 5.5.20
5.0067901611328E-5seconds 6.6995620727539E-5seconds 5.6028366088867E-5seconds 0.00011301040649414seconds
Output for 5.5.19
5.4121017456055E-5seconds 8.4877014160156E-5seconds 7.0095062255859E-5seconds 0.00014805793762207seconds
Output for 5.5.18
5.8174133300781E-5seconds 7.5817108154297E-5seconds 6.6041946411133E-5seconds 0.00012493133544922seconds
Output for 5.5.16
4.887580871582E-5seconds 6.6995620727539E-5seconds 5.2928924560547E-5seconds 0.00010514259338379seconds
Output for 5.5.15
5.1021575927734E-5seconds 7.1048736572266E-5seconds 5.6028366088867E-5seconds 0.00010490417480469seconds
Output for 5.5.14
5.8174133300781E-5seconds 7.8916549682617E-5seconds 6.6995620727539E-5seconds 0.00012898445129395seconds
Output for 5.5.13
5.6982040405273E-5seconds 7.5101852416992E-5seconds 6.4849853515625E-5seconds 0.00018119812011719seconds
Output for 5.5.12
6.103515625E-5seconds 8.9168548583984E-5seconds 7.0810317993164E-5seconds 0.00014114379882812seconds
Output for 5.5.11
6.5803527832031E-5seconds 9.608268737793E-5seconds 7.1048736572266E-5seconds 0.00013089179992676seconds
Output for 5.5.10
5.6982040405273E-5seconds 7.5101852416992E-5seconds 6.5088272094727E-5seconds 0.00013089179992676seconds
Output for 5.5.9
6.103515625E-5seconds 7.7962875366211E-5seconds 6.6995620727539E-5seconds 0.00012803077697754seconds
Output for 5.5.8
5.793571472168E-5seconds 7.5101852416992E-5seconds 6.7949295043945E-5seconds 0.00013208389282227seconds
Output for 5.5.7
5.8889389038086E-5seconds 9.3936920166016E-5seconds 7.1048736572266E-5seconds 0.00013113021850586seconds
Output for 5.5.6
5.9127807617188E-5seconds 9.4890594482422E-5seconds 8.4161758422852E-5seconds 0.00013589859008789seconds
Output for 5.5.5
5.6982040405273E-5seconds 8.0108642578125E-5seconds 6.2942504882812E-5seconds 0.00012898445129395seconds
Output for 5.5.4
9.4175338745117E-5seconds 0.00011897087097168seconds 0.00010299682617188seconds 0.00019598007202148seconds
Output for 5.5.3
8.1062316894531E-5seconds 0.00011491775512695seconds 9.2983245849609E-5seconds 0.00019502639770508seconds
Output for 5.5.2
9.5129013061523E-5seconds 0.00014591217041016seconds 0.00011897087097168seconds 0.00024318695068359seconds
Output for 5.5.1
6.6995620727539E-5seconds 7.319450378418E-5seconds 5.793571472168E-5seconds 0.00015997886657715seconds
Output for 5.5.0
5.6982040405273E-5seconds 7.9154968261719E-5seconds 6.3896179199219E-5seconds 0.00012898445129395seconds
Output for 5.4.45
4.887580871582E-5seconds 9.8943710327148E-5seconds 6.2227249145508E-5seconds 0.00010299682617188seconds
Output for 5.4.44
6.103515625E-5seconds 0.00010108947753906seconds 7.4863433837891E-5seconds 0.00013303756713867seconds
Output for 5.4.43
5.793571472168E-5seconds 8.5115432739258E-5seconds 6.7949295043945E-5seconds 0.00012397766113281seconds
Output for 5.4.42
5.9127807617188E-5seconds 0.00012803077697754seconds 6.3896179199219E-5seconds 0.00010299682617188seconds
Output for 5.4.41
4.9114227294922E-5seconds 6.8902969360352E-5seconds 5.6982040405273E-5seconds 0.00010108947753906seconds
Output for 5.4.40
4.7206878662109E-5seconds 6.6995620727539E-5seconds 5.4836273193359E-5seconds 9.918212890625E-5seconds
Output for 5.4.39
6.1988830566406E-5seconds 6.6995620727539E-5seconds 5.2928924560547E-5seconds 0.00010395050048828seconds
Output for 5.4.38
4.8160552978516E-5seconds 6.9856643676758E-5seconds 5.4121017456055E-5seconds 0.00010299682617188seconds
Output for 5.4.37
9.7990036010742E-5seconds 0.00012803077697754seconds 0.00010895729064941seconds 0.00013017654418945seconds
Output for 5.4.36
5.6028366088867E-5seconds 7.8916549682617E-5seconds 6.0081481933594E-5seconds 0.0001218318939209seconds
Output for 5.4.35
6.5803527832031E-5seconds 9.3221664428711E-5seconds 7.4863433837891E-5seconds 0.0001530647277832seconds
Output for 5.4.34
4.7922134399414E-5seconds 7.2956085205078E-5seconds 5.9127807617188E-5seconds 0.00010800361633301seconds
Output for 5.4.32
5.5074691772461E-5seconds 7.9870223999023E-5seconds 6.1988830566406E-5seconds 0.00011801719665527seconds
Output for 5.4.31
4.7922134399414E-5seconds 7.2956085205078E-5seconds 5.9127807617188E-5seconds 0.0001070499420166seconds
Output for 5.4.30
5.793571472168E-5seconds 7.9154968261719E-5seconds 6.1988830566406E-5seconds 0.00012803077697754seconds
Output for 5.4.29
6.0796737670898E-5seconds 8.7976455688477E-5seconds 6.6995620727539E-5seconds 0.00012612342834473seconds
Output for 5.4.28
5.793571472168E-5seconds 8.1062316894531E-5seconds 6.5803527832031E-5seconds 0.00013017654418945seconds
Output for 5.4.27
5.9127807617188E-5seconds 8.2969665527344E-5seconds 7.5101852416992E-5seconds 0.00013494491577148seconds
Output for 5.4.26
6.9141387939453E-5seconds 9.8943710327148E-5seconds 8.1062316894531E-5seconds 0.0001678466796875seconds
Output for 5.4.25
5.8174133300781E-5seconds 7.7962875366211E-5seconds 6.4849853515625E-5seconds 0.00013017654418945seconds
Output for 5.4.24
5.8889389038086E-5seconds 9.1075897216797E-5seconds 7.2002410888672E-5seconds 0.00013208389282227seconds
Output for 5.4.23
6.2942504882812E-5seconds 8.7976455688477E-5seconds 6.7949295043945E-5seconds 0.00013113021850586seconds
Output for 5.4.22
6.0081481933594E-5seconds 7.8916549682617E-5seconds 6.3180923461914E-5seconds 0.00012898445129395seconds
Output for 5.4.21
0.00011110305786133seconds 0.00014996528625488seconds 0.00012493133544922seconds 0.00025606155395508seconds
Output for 5.4.20
7.1048736572266E-5seconds 0.00011682510375977seconds 8.3208084106445E-5seconds 0.00015592575073242seconds
Output for 5.4.19
0.00012612342834473seconds 0.00015401840209961seconds 0.00013089179992676seconds 0.00030612945556641seconds
Output for 5.4.18
8.9168548583984E-5seconds 0.00014185905456543seconds 0.0001060962677002seconds 0.00022792816162109seconds
Output for 5.4.17
9.608268737793E-5seconds 0.00012803077697754seconds 0.00010490417480469seconds 0.00021100044250488seconds
Output for 5.4.16
9.0122222900391E-5seconds 0.00012397766113281seconds 0.00010299682617188seconds 0.00020289421081543seconds
Output for 5.4.15
6.9856643676758E-5seconds 9.4175338745117E-5seconds 7.8916549682617E-5seconds 0.0001521110534668seconds
Output for 5.4.14
6.7949295043945E-5seconds 9.2983245849609E-5seconds 7.9154968261719E-5seconds 0.00015592575073242seconds
Output for 5.4.13
6.9141387939453E-5seconds 8.7976455688477E-5seconds 8.2015991210938E-5seconds 0.00013089179992676seconds
Output for 5.4.12
9.8943710327148E-5seconds 0.00015115737915039seconds 0.00011777877807617seconds 0.00025701522827148seconds
Output for 5.4.11
9.1075897216797E-5seconds 0.00012302398681641seconds 0.00010395050048828seconds 0.00020194053649902seconds
Output for 5.4.10
6.7949295043945E-5seconds 9.5129013061523E-5seconds 7.5817108154297E-5seconds 0.00015497207641602seconds
Output for 5.4.9
7.7009201049805E-5seconds 0.0001070499420166seconds 8.9883804321289E-5seconds 0.00017905235290527seconds
Output for 5.4.8
5.8889389038086E-5seconds 8.1062316894531E-5seconds 6.7949295043945E-5seconds 0.00012993812561035seconds
Output for 5.4.7
9.3936920166016E-5seconds 0.00012898445129395seconds 0.0001060962677002seconds 0.00021195411682129seconds
Output for 5.4.6
7.4863433837891E-5seconds 0.00011706352233887seconds 8.8930130004883E-5seconds 0.00019693374633789seconds
Output for 5.4.5
8.6069107055664E-5seconds 0.00011587142944336seconds 9.608268737793E-5seconds 0.00019407272338867seconds
Output for 5.4.4
8.2015991210938E-5seconds 0.00011181831359863seconds 9.7990036010742E-5seconds 0.00019121170043945seconds
Output for 5.4.3
8.2969665527344E-5seconds 0.00012397766113281seconds 9.7036361694336E-5seconds 0.00020313262939453seconds
Output for 5.4.2
5.793571472168E-5seconds 7.9154968261719E-5seconds 8.392333984375E-5seconds 0.00013303756713867seconds
Output for 5.4.1
9.7990036010742E-5seconds 0.00014710426330566seconds 0.00011682510375977seconds 0.00024795532226562seconds
Output for 5.4.0
8.9883804321289E-5seconds 0.00013494491577148seconds 0.00010919570922852seconds 0.00022697448730469seconds
Output for 5.3.29
0.00012493133544922seconds 0.00015711784362793seconds 0.00014090538024902seconds 0.00039196014404297seconds
Output for 5.3.28
6.2942504882812E-5seconds 8.2969665527344E-5seconds 7.2002410888672E-5seconds 0.00019121170043945seconds
Output for 5.3.27
9.5129013061523E-5seconds 0.0001378059387207seconds 0.00011610984802246seconds 0.00029993057250977seconds
Output for 5.3.26
8.6784362792969E-5seconds 0.00012421607971191seconds 0.00010180473327637seconds 0.00026297569274902seconds
Output for 5.3.25
9.9897384643555E-5seconds 0.00014305114746094seconds 0.00013089179992676seconds 0.00033712387084961seconds
Output for 5.3.24
8.082389831543E-5seconds 7.5101852416992E-5seconds 6.2942504882812E-5seconds 0.00018000602722168seconds
Output for 5.3.23
9.5844268798828E-5seconds 0.00014400482177734seconds 0.00011420249938965seconds 0.00030779838562012seconds
Output for 5.3.22
7.2002410888672E-5seconds 9.6797943115234E-5seconds 8.2015991210938E-5seconds 0.00022602081298828seconds
Output for 5.3.21
7.2956085205078E-5seconds 9.7990036010742E-5seconds 7.7962875366211E-5seconds 0.00021505355834961seconds
Output for 5.3.20
8.702278137207E-5seconds 0.00012993812561035seconds 0.0001070499420166seconds 0.00032401084899902seconds
Output for 5.3.19
6.5088272094727E-5seconds 9.4890594482422E-5seconds 8.1062316894531E-5seconds 0.00021696090698242seconds
Output for 5.3.18
8.7976455688477E-5seconds 8.6069107055664E-5seconds 0.00010895729064941seconds 0.00029706954956055seconds
Output for 5.3.17
8.702278137207E-5seconds 0.00011777877807617seconds 0.00010013580322266seconds 0.00027799606323242seconds
Output for 5.3.16
9.8943710327148E-5seconds 0.0001370906829834seconds 0.00011086463928223seconds 0.00030398368835449seconds
Output for 5.3.15
8.702278137207E-5seconds 0.00011515617370605seconds 9.9897384643555E-5seconds 0.0002739429473877seconds
Output for 5.3.14
0.0001060962677002seconds 0.00015091896057129seconds 0.00013113021850586seconds 0.00036001205444336seconds
Output for 5.3.13
7.9870223999023E-5seconds 0.00010514259338379seconds 8.9883804321289E-5seconds 0.00025510787963867seconds
Output for 5.3.12
0.00012707710266113seconds 0.00015401840209961seconds 0.0001368522644043seconds 0.0003960132598877seconds
Output for 5.3.11
8.082389831543E-5seconds 0.00012421607971191seconds 9.8943710327148E-5seconds 0.00026488304138184seconds
Output for 5.3.10
0.00011110305786133seconds 0.00015687942504883seconds 0.00013208389282227seconds 0.0003359317779541seconds
Output for 5.3.9
0.0001060962677002seconds 0.00014805793762207seconds 0.00012683868408203seconds 0.00033712387084961seconds
Output for 5.3.8
9.2029571533203E-5seconds 0.00011801719665527seconds 0.00010299682617188seconds 0.00028896331787109seconds
Output for 5.3.7
8.0108642578125E-5seconds 0.00010490417480469seconds 8.702278137207E-5seconds 0.000244140625seconds
Output for 5.3.6
0.00010800361633301seconds 0.00014805793762207seconds 0.00012493133544922seconds 0.00034022331237793seconds
Output for 5.3.5
9.3936920166016E-5seconds 0.00012493133544922seconds 0.00011014938354492seconds 0.00029182434082031seconds
Output for 5.3.4
6.1988830566406E-5seconds 8.2015991210938E-5seconds 7.1048736572266E-5seconds 0.00019502639770508seconds
Output for 5.3.3
8.6784362792969E-5seconds 0.00011420249938965seconds 9.9897384643555E-5seconds 0.00027298927307129seconds
Output for 5.3.2
0.00010204315185547seconds 0.00014805793762207seconds 0.0001368522644043seconds 0.00031304359436035seconds
Output for 5.3.1
0.00010180473327637seconds 0.00013518333435059seconds 0.00011801719665527seconds 0.00031781196594238seconds
Output for 5.3.0
0.00010108947753906seconds 0.00013494491577148seconds 0.00011801719665527seconds 0.00033092498779297seconds