3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = 'String_With_Underscores'; $start = microtime(true); for ($i = 0; $i < 100000; $i++) { $result = implode('', array_map('ucfirst', explode('_', strtolower($test)))); } echo 'Time taken: ' . (microtime(true) - $start) . 's';
Output for 7.1.0
Time taken: -0.062654972076416s
Output for 7.0.14
Time taken: 0.075559854507446s
Output for 7.0.6
Time taken: 0.057485103607178s
Output for 7.0.5
Time taken: 0.066171169281006s
Output for 7.0.4
Time taken: 0.062224864959717s
Output for 7.0.3
Time taken: 0.051589965820312s
Output for 7.0.2
Time taken: 0.052329063415527s
Output for 7.0.1
Time taken: 0.063391923904419s
Output for 7.0.0
Time taken: 0.049358129501343s
Output for hhvm-3.12.0
Time taken: 0.13205289840698s
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.6.28
Time taken: 0.1911289691925s
Output for 5.6.21
Time taken: 0.17437291145325s
Output for 5.6.20
Time taken: 0.15137696266174s
Output for 5.6.19
Time taken: 0.18810701370239s
Output for 5.6.18
Time taken: 0.13935112953186s
Output for 5.6.17
Time taken: 0.16810512542725s
Output for 5.6.16
Time taken: 0.16266298294067s
Output for 5.6.15
Time taken: 0.16361689567566s
Output for 5.6.14
Time taken: 0.17925500869751s
Output for 5.6.13
Time taken: 0.17722010612488s
Output for 5.6.12
Time taken: 0.17365503311157s
Output for 5.6.11
Time taken: 0.17479109764099s
Output for 5.6.10
Time taken: 0.17091012001038s
Output for 5.6.9
Time taken: 0.16176819801331s
Output for 5.6.8
Time taken: 0.19461011886597s
Output for 5.6.7
Time taken: 0.1241660118103s
Output for 5.5.35
Time taken: 0.17701315879822s
Output for 5.5.34
Time taken: 0.15265393257141s
Output for 5.5.33
Time taken: 0.18440198898315s
Output for 5.5.32
Time taken: 0.1711277961731s
Output for 5.5.31
Time taken: 0.1709520816803s
Output for 5.5.30
Time taken: 0.19895005226135s
Output for 5.5.29
Time taken: 0.15940022468567s
Output for 5.5.28
Time taken: 0.1643340587616s
Output for 5.5.27
Time taken: 0.15492010116577s
Output for 5.5.26
Time taken: 0.15994215011597s
Output for 5.5.25
Time taken: 0.17422080039978s
Output for 5.5.24
Time taken: 0.1758759021759s
Output for 5.4.45
Time taken: 0.28098201751709s
Output for 5.4.44
Time taken: 0.31453108787537s
Output for 5.4.43
Time taken: 0.82971906661987s
Output for 5.4.42
Time taken: 0.51978015899658s
Output for 5.4.41
Time taken: 0.54897499084473s
Output for 5.4.40
Time taken: 0.22603178024292s
Output for 5.4.39
Time taken: 0.23180794715881s
Output for 5.4.38
Time taken: 0.22390699386597s
Output for 5.4.37
Time taken: 0.23644804954529s
Output for 5.4.36
Time taken: 0.24524617195129s
Output for 5.4.35
Time taken: 0.22071218490601s
Output for 5.4.34
Time taken: 0.2321879863739s
Output for 5.4.32
Time taken: 0.17562294006348s
Output for 5.4.31
Time taken: 0.17446899414062s
Output for 5.4.30
Time taken: 0.1690149307251s
Output for 5.4.29
Time taken: 0.1711859703064s
Output for 5.4.28
Time taken: 0.19143199920654s
Output for 5.4.27
Time taken: 0.18711590766907s
Output for 5.4.26
Time taken: 0.17607378959656s
Output for 5.4.25
Time taken: 0.17507886886597s
Output for 5.4.24
Time taken: 0.22455406188965s
Output for 5.4.23
Time taken: 0.22089099884033s
Output for 5.4.22
Time taken: 0.17697191238403s
Output for 5.4.21
Time taken: 0.16839098930359s
Output for 5.4.20
Time taken: 0.19404697418213s
Output for 5.4.19
Time taken: 0.19871497154236s
Output for 5.4.18
Time taken: 0.1779580116272s
Output for 5.4.17
Time taken: 0.18997502326965s
Output for 5.4.16
Time taken: 0.17496204376221s
Output for 5.4.15
Time taken: 0.19946908950806s
Output for 5.4.14
Time taken: 0.16433501243591s
Output for 5.4.13
Time taken: 0.18426012992859s
Output for 5.4.12
Time taken: 0.21637892723083s
Output for 5.4.11
Time taken: 0.17527914047241s
Output for 5.4.10
Time taken: 0.18763613700867s
Output for 5.4.9
Time taken: 0.18046998977661s
Output for 5.4.8
Time taken: 0.16989803314209s
Output for 5.4.7
Time taken: 0.17801403999329s
Output for 5.4.6
Time taken: 0.20233607292175s
Output for 5.4.5
Time taken: 0.18526482582092s
Output for 5.4.4
Time taken: 0.17943716049194s
Output for 5.4.3
Time taken: 0.17645406723022s
Output for 5.4.2
Time taken: 0.18122100830078s
Output for 5.4.1
Time taken: 0.190260887146s
Output for 5.4.0
Time taken: 0.19071912765503s
Output for 5.3.29
Time taken: 0.17233300209045s
Output for 5.3.28
Time taken: 0.21136879920959s
Output for 5.3.27
Time taken: 0.20000410079956s
Output for 5.3.26
Time taken: 0.19681406021118s
Output for 5.3.25
Time taken: 0.18485999107361s
Output for 5.3.24
Time taken: 0.18774890899658s
Output for 5.3.23
Time taken: 0.18777298927307s
Output for 5.3.22
Time taken: 0.19606184959412s
Output for 5.3.21
Time taken: 0.20592498779297s
Output for 5.3.20
Time taken: 0.1963050365448s
Output for 5.3.19
Time taken: 0.18448686599731s
Output for 5.3.18
Time taken: 0.19018387794495s
Output for 5.3.17
Time taken: 0.21527004241943s
Output for 5.3.16
Time taken: 0.19236302375793s
Output for 5.3.15
Time taken: 0.19085311889648s
Output for 5.3.14
Time taken: 0.19350910186768s
Output for 5.3.13
Time taken: 0.2026469707489s
Output for 5.3.12
Time taken: 0.1874577999115s
Output for 5.3.11
Time taken: 0.1886031627655s
Output for 5.3.10
Time taken: 0.18843197822571s
Output for 5.3.9
Time taken: 0.22431015968323s
Output for 5.3.8
Time taken: 0.19260215759277s
Output for 5.3.7
Time taken: 0.17745494842529s
Output for 5.3.6
Time taken: 0.20225191116333s
Output for 5.3.5
Time taken: 0.18465304374695s
Output for 5.3.4
Time taken: 0.17279291152954s
Output for 5.3.3
Time taken: 0.19091415405273s
Output for 5.3.2
Time taken: 0.2036440372467s
Output for 5.3.1
Time taken: 0.19764590263367s
Output for 5.3.0
Time taken: 0.17892003059387s
Output for 5.2.17
Time taken: 0.15246605873108s
Output for 5.2.16
Time taken: 0.15432000160217s
Output for 5.2.15
Time taken: 0.16935515403748s
Output for 5.2.14
Time taken: 0.15683007240295s
Output for 5.2.13
Time taken: 0.15953588485718s
Output for 5.2.12
Time taken: 0.15799808502197s
Output for 5.2.11
Time taken: 0.15929102897644s
Output for 5.2.10
Time taken: 0.18573808670044s
Output for 5.2.9
Time taken: 0.1714231967926s
Output for 5.2.8
Time taken: 0.16602993011475s
Output for 5.2.7
Time taken: 0.18486714363098s
Output for 5.2.6
Time taken: 0.25857496261597s
Output for 5.2.5
Time taken: 0.29912304878235s
Output for 5.2.4
Time taken: 0.25934910774231s
Output for 5.2.3
Time taken: 0.17742300033569s
Output for 5.2.2
Time taken: 0.20018291473389s
Output for 5.2.1
Time taken: 0.16291999816895s
Output for 5.2.0
Time taken: 0.19393491744995s
Output for 5.1.6
Time taken: 0.2122700214386s
Output for 5.1.5
Time taken: 0.23298406600952s
Output for 5.1.4
Time taken: 0.15421104431152s
Output for 5.1.3
Time taken: 0.16088199615479s
Output for 5.1.2
Time taken: 0.1493718624115s
Output for 5.1.1
Time taken: 0.19591808319092s
Output for 5.1.0
Time taken: 0.17737007141113s
Output for 5.0.5
Time taken: 0.18801999092102s
Output for 5.0.4
Time taken: 0.20408797264099s
Output for 5.0.3
Time taken: 0.20037198066711s
Output for 5.0.2
Time taken: 0.21027779579163s
Output for 5.0.1
Time taken: 0.18555688858032s
Output for 5.0.0
Time taken: 0.19679594039917s
Output for 4.4.9
Time taken: 0.197016s
Output for 4.4.8
Time taken: -0.742308s
Output for 4.4.7
Time taken: 0.208119s
Output for 4.4.6
Time taken: 0.203619s
Output for 4.4.5
Time taken: 0.205063s
Output for 4.4.4
Time taken: -0.804919s
Output for 4.4.3
Time taken: 0.205196s
Output for 4.4.2
Time taken: 0.213934s
Output for 4.4.1
Time taken: 0.201512s
Output for 4.4.0
Time taken: -0.797636s
Output for 4.3.11
Time taken: 0.31786s
Output for 4.3.10
Time taken: 0.250672s
Output for 4.3.9
Time taken: 0.213517s
Output for 4.3.8
Time taken: -0.795125s
Output for 4.3.7
Time taken: 0.254758s
Output for 4.3.6
Time taken: 0.260961s
Output for 4.3.5
Time taken: -0.730654s
Output for 4.3.4
Time taken: 0.280053s
Output for 4.3.3
Time taken: 0.340164s
Output for 4.3.2
Time taken: 0.253276s
Output for 4.3.1
Time taken: 0.193989s
Output for 4.3.0
Time taken: -0.484855s