3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php function somefunc() { return 'somestring'; } ob_start(); $time = microtime(1); $i = 0; while($i++ < 1000000) echo'somestring',somefunc(),'somestring'; ob_end_clean(); echo (microtime(1)-$time)." seconds for commas"; echo "\n"; ob_start(); $time = microtime(1); $i = 0; while($i++ < 1000000) echo'somestring'.somefunc().'somestring'; ob_end_clean(); echo (microtime(1)-$time)." seconds for dot";
Output for 7.1.0
-0.13292384147644 seconds for commas -0.090528011322021 seconds for dot
Output for 7.0.14
0.15502691268921 seconds for commas 0.12301683425903 seconds for dot
Output for 7.0.10
0.1510899066925 seconds for commas 0.14669179916382 seconds for dot
Output for 7.0.9
0.13743209838867 seconds for commas 0.11612987518311 seconds for dot
Output for 7.0.8
0.14157295227051 seconds for commas 0.11245584487915 seconds for dot
Output for 7.0.7
0.14400887489319 seconds for commas 0.12692594528198 seconds for dot
Output for 7.0.6
0.24273991584778 seconds for commas 0.11993908882141 seconds for dot
Output for 7.0.5
0.34640002250671 seconds for commas 0.10259294509888 seconds for dot
Output for 7.0.4
0.13187003135681 seconds for commas 0.10886406898499 seconds for dot
Output for 7.0.3
0.13447093963623 seconds for commas 0.18266105651855 seconds for dot
Output for 7.0.2
0.12920093536377 seconds for commas 0.10616087913513 seconds for dot
Output for 7.0.1
0.15501689910889 seconds for commas 0.13083386421204 seconds for dot
Output for 7.0.0
0.14644002914429 seconds for commas 0.10253691673279 seconds for dot
Output for hhvm-3.12.0
0.28318500518799 seconds for commas 0.27044105529785 seconds for dot
Output for hhvm-3.10.0
0.45352411270142 seconds for commas 0.45697617530823 seconds for dot
Output for 5.6.28
0.14424705505371 seconds for commas -0.13744020462036 seconds for dot
Output for 5.6.25
0.20997905731201 seconds for commas 0.18650197982788 seconds for dot
Output for 5.6.24
0.1912100315094 seconds for commas 0.14940690994263 seconds for dot
Output for 5.6.23
0.17687082290649 seconds for commas 0.15590190887451 seconds for dot
Output for 5.6.22
0.18505191802979 seconds for commas 0.15483403205872 seconds for dot
Output for 5.6.21
0.19459986686707 seconds for commas 0.15222001075745 seconds for dot
Output for 5.6.20
0.31337308883667 seconds for commas 0.28243494033813 seconds for dot
Output for 5.6.19
0.18946504592896 seconds for commas 0.15621304512024 seconds for dot
Output for 5.6.18
0.20561695098877 seconds for commas 0.14908289909363 seconds for dot
Output for 5.6.17
0.17675089836121 seconds for commas 0.14899706840515 seconds for dot
Output for 5.6.16
0.2024130821228 seconds for commas 0.14932990074158 seconds for dot
Output for 5.6.15
0.15563797950745 seconds for commas 0.12623500823975 seconds for dot
Output for 5.6.14
0.17024111747742 seconds for commas 0.13838815689087 seconds for dot
Output for 5.6.13
0.17802810668945 seconds for commas 0.14793419837952 seconds for dot
Output for 5.6.12
0.17504501342773 seconds for commas 0.13688087463379 seconds for dot
Output for 5.6.11
0.16035795211792 seconds for commas 0.12065696716309 seconds for dot
Output for 5.6.10
0.19453883171082 seconds for commas 0.16181397438049 seconds for dot
Output for 5.6.9
0.2031729221344 seconds for commas 0.15130496025085 seconds for dot
Output for 5.6.8
0.21480703353882 seconds for commas 0.18467497825623 seconds for dot
Output for 5.6.7
0.18194007873535 seconds for commas 0.14465808868408 seconds for dot
Output for 5.6.6
0.18070507049561 seconds for commas 0.14752507209778 seconds for dot
Output for 5.6.5
0.19734191894531 seconds for commas 0.14132213592529 seconds for dot
Output for 5.6.4
0.20190501213074 seconds for commas 0.14487791061401 seconds for dot
Output for 5.6.3
0.2100989818573 seconds for commas 0.18224000930786 seconds for dot
Output for 5.6.2
0.17438411712646 seconds for commas 0.13038492202759 seconds for dot
Output for 5.6.1
0.19552302360535 seconds for commas 0.14421415328979 seconds for dot
Output for 5.6.0
0.1974151134491 seconds for commas 0.14406704902649 seconds for dot
Output for 5.5.38
0.17917418479919 seconds for commas 0.15297102928162 seconds for dot
Output for 5.5.37
0.18997502326965 seconds for commas 0.15166187286377 seconds for dot
Output for 5.5.36
0.19855785369873 seconds for commas 0.18250393867493 seconds for dot
Output for 5.5.35
0.19286584854126 seconds for commas 0.14952993392944 seconds for dot
Output for 5.5.34
0.20740509033203 seconds for commas 0.14965510368347 seconds for dot
Output for 5.5.33
0.20945882797241 seconds for commas 0.1468870639801 seconds for dot
Output for 5.5.32
0.19074296951294 seconds for commas 0.14705801010132 seconds for dot
Output for 5.5.31
0.1814341545105 seconds for commas 0.15011405944824 seconds for dot
Output for 5.5.30
0.17338991165161 seconds for commas 0.14430785179138 seconds for dot
Output for 5.5.29
0.16711592674255 seconds for commas 0.13107800483704 seconds for dot
Output for 5.5.28
0.17236185073853 seconds for commas 0.14937090873718 seconds for dot
Output for 5.5.27
0.14321088790894 seconds for commas 0.12370896339417 seconds for dot
Output for 5.5.26
0.18365716934204 seconds for commas 0.15044689178467 seconds for dot
Output for 5.5.25
0.18461084365845 seconds for commas 0.13030385971069 seconds for dot
Output for 5.5.24
0.18690800666809 seconds for commas 0.15282893180847 seconds for dot
Output for 5.5.23
0.19804906845093 seconds for commas 0.14289093017578 seconds for dot
Output for 5.5.22
0.18619990348816 seconds for commas 0.15028595924377 seconds for dot
Output for 5.5.21
0.19444894790649 seconds for commas 0.15076398849487 seconds for dot
Output for 5.5.20
0.18561315536499 seconds for commas 0.15164494514465 seconds for dot
Output for 5.5.19
0.20729303359985 seconds for commas 0.14637899398804 seconds for dot
Output for 5.5.18
0.20577716827393 seconds for commas 0.14628291130066 seconds for dot
Output for 5.5.16
0.30951881408691 seconds for commas 0.233402967453 seconds for dot
Output for 5.5.15
0.26185894012451 seconds for commas 0.21692585945129 seconds for dot
Output for 5.5.14
0.19551587104797 seconds for commas 0.14396405220032 seconds for dot
Output for 5.5.13
0.20139598846436 seconds for commas 0.14419102668762 seconds for dot
Output for 5.5.12
0.18682599067688 seconds for commas 0.14371204376221 seconds for dot
Output for 5.5.11
0.1886100769043 seconds for commas 0.14729690551758 seconds for dot
Output for 5.5.10
0.18525004386902 seconds for commas 0.14881014823914 seconds for dot
Output for 5.5.9
0.18205380439758 seconds for commas 0.14349818229675 seconds for dot
Output for 5.5.8
0.18807411193848 seconds for commas 0.14491105079651 seconds for dot
Output for 5.5.7
0.20312213897705 seconds for commas 0.1521680355072 seconds for dot
Output for 5.5.6
0.18565797805786 seconds for commas 0.14413714408875 seconds for dot
Output for 5.5.5
0.20424509048462 seconds for commas 0.16447997093201 seconds for dot
Output for 5.5.4
0.19780898094177 seconds for commas 0.14143109321594 seconds for dot
Output for 5.5.3
0.18389916419983 seconds for commas 0.1437361240387 seconds for dot
Output for 5.5.2
0.18817400932312 seconds for commas 0.14505815505981 seconds for dot
Output for 5.5.1
0.17114114761353 seconds for commas 0.14392185211182 seconds for dot
Output for 5.5.0
0.17000222206116 seconds for commas 0.12481188774109 seconds for dot
Output for 5.4.45
0.15181684494019 seconds for commas 0.14042401313782 seconds for dot
Output for 5.4.44
0.27778792381287 seconds for commas 0.23765707015991 seconds for dot
Output for 5.4.43
0.16774606704712 seconds for commas 0.14801406860352 seconds for dot
Output for 5.4.42
0.19809412956238 seconds for commas 0.15299677848816 seconds for dot
Output for 5.4.41
0.20853996276855 seconds for commas 0.1519660949707 seconds for dot
Output for 5.4.40
0.2091429233551 seconds for commas 0.14632701873779 seconds for dot
Output for 5.4.39
0.21240091323853 seconds for commas 0.14487099647522 seconds for dot
Output for 5.4.38
0.1786150932312 seconds for commas 0.14612889289856 seconds for dot
Output for 5.4.37
0.18953919410706 seconds for commas 0.15661096572876 seconds for dot
Output for 5.4.36
0.24175095558167 seconds for commas 0.19037890434265 seconds for dot
Output for 5.4.35
0.18693900108337 seconds for commas 0.15806913375854 seconds for dot
Output for 5.4.34
0.18439888954163 seconds for commas 0.14474821090698 seconds for dot
Output for 5.4.32
0.20740413665771 seconds for commas 0.14506316184998 seconds for dot
Output for 5.4.31
0.19185304641724 seconds for commas 0.14678287506104 seconds for dot
Output for 5.4.30
0.27756285667419 seconds for commas 0.29081702232361 seconds for dot
Output for 5.4.29
0.19149708747864 seconds for commas 0.15714192390442 seconds for dot
Output for 5.4.28
0.18230795860291 seconds for commas 0.14666986465454 seconds for dot
Output for 5.4.27
0.20425510406494 seconds for commas 0.14626693725586 seconds for dot
Output for 5.4.26
0.22337603569031 seconds for commas 0.17683386802673 seconds for dot
Output for 5.4.25
0.21205902099609 seconds for commas 0.14907503128052 seconds for dot
Output for 5.4.24
0.20912384986877 seconds for commas 0.14721703529358 seconds for dot
Output for 5.4.23
0.17566299438477 seconds for commas 0.14444398880005 seconds for dot
Output for 5.4.22
0.17563080787659 seconds for commas 0.14527916908264 seconds for dot
Output for 5.4.21
0.18935513496399 seconds for commas 0.14745998382568 seconds for dot
Output for 5.4.20
0.20846891403198 seconds for commas 0.14707088470459 seconds for dot
Output for 5.4.19
0.19910407066345 seconds for commas 0.14873290061951 seconds for dot
Output for 5.4.18
0.21900415420532 seconds for commas 0.14605903625488 seconds for dot
Output for 5.4.17
0.21382999420166 seconds for commas 0.17652893066406 seconds for dot
Output for 5.4.16
0.21338295936584 seconds for commas 0.15085101127625 seconds for dot
Output for 5.4.15
0.18421006202698 seconds for commas 0.146075963974 seconds for dot
Output for 5.4.14
0.20265507698059 seconds for commas 0.14820623397827 seconds for dot
Output for 5.4.13
0.21970510482788 seconds for commas 0.18072104454041 seconds for dot
Output for 5.4.12
0.19323396682739 seconds for commas 0.14754295349121 seconds for dot
Output for 5.4.11
0.22763609886169 seconds for commas 0.18928194046021 seconds for dot
Output for 5.4.10
0.19370794296265 seconds for commas 0.14440202713013 seconds for dot
Output for 5.4.9
0.19793915748596 seconds for commas 0.14288997650146 seconds for dot
Output for 5.4.8
0.2041871547699 seconds for commas 0.17574000358582 seconds for dot
Output for 5.4.7
0.17881798744202 seconds for commas 0.14520382881165 seconds for dot
Output for 5.4.6
0.21625995635986 seconds for commas 0.14576697349548 seconds for dot
Output for 5.4.5
0.20539593696594 seconds for commas 0.14627194404602 seconds for dot
Output for 5.4.4
0.21254301071167 seconds for commas 0.14720582962036 seconds for dot
Output for 5.4.3
0.1978919506073 seconds for commas 0.1520140171051 seconds for dot
Output for 5.4.2
0.19398784637451 seconds for commas 0.14912605285645 seconds for dot
Output for 5.4.1
0.20278787612915 seconds for commas 0.15316796302795 seconds for dot
Output for 5.4.0
0.21262288093567 seconds for commas 0.14793300628662 seconds for dot
Output for 5.3.29
0.22467517852783 seconds for commas 0.20635986328125 seconds for dot
Output for 5.3.28
0.21440696716309 seconds for commas 0.2106339931488 seconds for dot
Output for 5.3.27
0.21792697906494 seconds for commas 0.20871090888977 seconds for dot
Output for 5.3.26
0.20089888572693 seconds for commas 0.21729183197021 seconds for dot
Output for 5.3.25
0.19952797889709 seconds for commas 0.20794105529785 seconds for dot
Output for 5.3.24
0.21926617622375 seconds for commas 0.20978593826294 seconds for dot
Output for 5.3.23
0.23188805580139 seconds for commas 0.2489800453186 seconds for dot
Output for 5.3.22
0.21170997619629 seconds for commas 0.21902012825012 seconds for dot
Output for 5.3.21
0.20027089118958 seconds for commas 0.22040295600891 seconds for dot
Output for 5.3.20
0.23161005973816 seconds for commas 0.21075296401978 seconds for dot
Output for 5.3.19
0.2269458770752 seconds for commas 0.21364617347717 seconds for dot
Output for 5.3.18
0.2062680721283 seconds for commas 0.20998907089233 seconds for dot
Output for 5.3.17
0.19044399261475 seconds for commas 0.20988512039185 seconds for dot
Output for 5.3.16
0.21327519416809 seconds for commas 0.21480512619019 seconds for dot
Output for 5.3.15
0.20908498764038 seconds for commas 0.21723103523254 seconds for dot
Output for 5.3.14
0.21406102180481 seconds for commas 0.21073603630066 seconds for dot
Output for 5.3.13
0.2121958732605 seconds for commas 0.21125102043152 seconds for dot
Output for 5.3.12
0.20133805274963 seconds for commas 0.21058011054993 seconds for dot
Output for 5.3.11
0.23165512084961 seconds for commas 0.22473692893982 seconds for dot
Output for 5.3.10
0.2175440788269 seconds for commas 0.2088930606842 seconds for dot
Output for 5.3.9
0.21460390090942 seconds for commas 0.21736812591553 seconds for dot
Output for 5.3.8
0.1971960067749 seconds for commas 0.19059205055237 seconds for dot
Output for 5.3.7
0.17225384712219 seconds for commas 0.17172002792358 seconds for dot
Output for 5.3.6
0.16762685775757 seconds for commas 0.17945289611816 seconds for dot
Output for 5.3.5
0.18910694122314 seconds for commas 0.20335412025452 seconds for dot
Output for 5.3.4
0.18815183639526 seconds for commas 0.20418405532837 seconds for dot
Output for 5.3.3
0.19965314865112 seconds for commas 0.21015095710754 seconds for dot
Output for 5.3.2
0.21969199180603 seconds for commas 0.20734405517578 seconds for dot
Output for 5.3.1
0.22919106483459 seconds for commas 0.2091691493988 seconds for dot
Output for 5.3.0
0.22511911392212 seconds for commas 0.24179315567017 seconds for dot
Output for 5.2.17
0.22240495681763 seconds for commas 0.23193407058716 seconds for dot
Output for 5.2.16
0.22553205490112 seconds for commas 0.23394680023193 seconds for dot
Output for 5.2.15
0.21274709701538 seconds for commas 0.2221360206604 seconds for dot
Output for 5.2.14
0.21980595588684 seconds for commas 0.23094391822815 seconds for dot
Output for 5.2.13
0.25166416168213 seconds for commas 0.2330470085144 seconds for dot
Output for 5.2.12
0.27369809150696 seconds for commas 0.23273205757141 seconds for dot
Output for 5.2.11
0.25106191635132 seconds for commas 0.23110508918762 seconds for dot
Output for 5.2.10
0.31211090087891 seconds for commas 0.30801510810852 seconds for dot
Output for 5.2.9
0.26744294166565 seconds for commas 0.23379611968994 seconds for dot
Output for 5.2.8
0.3745288848877 seconds for commas 0.27407097816467 seconds for dot
Output for 5.2.7
0.2501220703125 seconds for commas 0.23435592651367 seconds for dot
Output for 5.2.6
0.23012804985046 seconds for commas 0.23390293121338 seconds for dot
Output for 5.2.5
0.27194499969482 seconds for commas 0.27488398551941 seconds for dot
Output for 5.2.4
0.25259304046631 seconds for commas 0.23962807655334 seconds for dot
Output for 5.2.3
0.25302791595459 seconds for commas 0.2378671169281 seconds for dot
Output for 5.2.2
0.24795603752136 seconds for commas 0.22972822189331 seconds for dot
Output for 5.2.1
0.25742101669312 seconds for commas 0.23159098625183 seconds for dot
Output for 5.2.0
0.26223802566528 seconds for commas 0.23822999000549 seconds for dot
Output for 5.1.6
0.24759197235107 seconds for commas 0.23769903182983 seconds for dot
Output for 5.1.5
0.22174787521362 seconds for commas 0.2396228313446 seconds for dot
Output for 5.1.4
0.27393913269043 seconds for commas 0.26029396057129 seconds for dot
Output for 5.1.3
0.26087117195129 seconds for commas 0.23312187194824 seconds for dot
Output for 5.1.2
0.24036383628845 seconds for commas 0.23210287094116 seconds for dot
Output for 5.1.1
0.22791409492493 seconds for commas 0.23945212364197 seconds for dot
Output for 5.1.0
0.26677107810974 seconds for commas 0.24294781684875 seconds for dot
Output for 5.0.5
0.31690812110901 seconds for commas 0.30932712554932 seconds for dot
Output for 5.0.4
0.31955695152283 seconds for commas 0.31091785430908 seconds for dot
Output for 5.0.3
0.31419992446899 seconds for commas 0.2985508441925 seconds for dot
Output for 5.0.2
0.29398608207703 seconds for commas 0.30472993850708 seconds for dot
Output for 5.0.1
0.27782797813416 seconds for commas 0.30379199981689 seconds for dot
Output for 5.0.0
0.31902503967285 seconds for commas 0.31228303909302 seconds for dot
Output for 4.4.9
0.334967 seconds for commas 0.29591 seconds for dot
Output for 4.4.8
0.330712 seconds for commas 0.301123 seconds for dot
Output for 4.4.7
0.300953 seconds for commas 0.29688 seconds for dot
Output for 4.4.6
0.286948 seconds for commas 0.300779 seconds for dot
Output for 4.4.5
0.303929 seconds for commas 0.299722 seconds for dot
Output for 4.4.4
0.296936 seconds for commas 0.299062 seconds for dot
Output for 4.4.3
0.312699 seconds for commas 0.307663 seconds for dot
Output for 4.4.2
0.297021 seconds for commas 0.295356 seconds for dot
Output for 4.4.1
0.339764 seconds for commas 0.311371 seconds for dot
Output for 4.4.0
0.265004 seconds for commas 0.293595 seconds for dot
Output for 4.3.11
0.283887 seconds for commas 0.29893 seconds for dot
Output for 4.3.10
0.294004 seconds for commas 0.316678 seconds for dot
Output for 4.3.9
0.288106 seconds for commas 0.293671 seconds for dot
Output for 4.3.8
0.298344 seconds for commas 0.317449 seconds for dot
Output for 4.3.7
0.311489 seconds for commas 0.305706 seconds for dot
Output for 4.3.6
0.295285 seconds for commas 0.300679 seconds for dot
Output for 4.3.5
0.307467 seconds for commas 0.277406 seconds for dot
Output for 4.3.4
0.273211 seconds for commas 0.286529 seconds for dot
Output for 4.3.3
0.300528 seconds for commas 0.313634 seconds for dot
Output for 4.3.2
0.269405 seconds for commas 0.282371 seconds for dot
Output for 4.3.1
0.304597 seconds for commas 0.295248 seconds for dot
Output for 4.3.0
0.29919 seconds for commas 0.288016 seconds for dot