CamelCaseStringsTest

Create a camelCase string using lcfirst/str_replace/uc_words


<?php 

$this
->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
$value lcfirst(str_replace(' '''ucwords(str_replace(array('-''_'), ' ''id_company_user_'.$i))));
}

return 
$this->end();
PHP Loops Seconds Percent
8.3.13 100.000 0.083788 +189%
8.3.10 100.000 0.074202 +167%
8.3.9 100.000 0.069476 +156%
7.3.33 100.000 0.055346 +125%
7.3.31 100.000 0.053096 +119%
7.3.30 100.000 0.050604 +114%
7.3.29 100.000 0.055082 +124%
7.3.28 100.000 0.055243 +124%
7.3.27 100.000 0.067033 +151%
7.3.24 100.000 0.056781 +128%
7.3.23 100.000 0.053834 +121%
7.3.22 100.000 0.055845 +126%
7.3.19 100.000 0.055048 +124%
7.3.18 100.000 0.056698 +128%
7.3.17 100.000 0.052583 +118%
7.3.16 100.000 0.053141 +120%
7.3.15 100.000 0.054441 +122%
7.3.14 100.000 0.056069 +126%
7.3.13 100.000 0.054361 +122%
7.3.12 100.000 0.050813 +114%
7.3.11 100.000 0.058835 +132%
7.3.9 100.000 0.072798 +164%
7.3.8 100.000 0.069312 +156%
7.2.29 100.000 0.052889 +119%
8.3.13 10.000 0.009423 +198%
7.2.34 100.000 0.059946 +135%
7.2.33 100.000 0.057240 +129%
7.2.31 100.000 0.056933 +128%
7.2.30 100.000 0.055588 +125%
8.3.10 10.000 0.010346 +217%
7.2.28 100.000 0.053095 +119%
7.2.27 100.000 0.058709 +132%
7.2.26 100.000 0.058407 +131%
7.2.25 100.000 0.053450 +120%
7.2.24 100.000 0.065770 +148%
7.2.22 100.000 0.078752 +177%
7.2.21 100.000 0.078341 +176%
7.1.33 100.000 0.064975 +146%
7.1.32 100.000 0.088535 +199%
7.1.31 100.000 0.083475 +188%
7.1.0 100.000 0.362918 +817%
7.0.33 100.000 0.065430 +147%
7.0.7 100.000 0.433053 +974%
5.6.40 100.000 0.163806 +369%
5.6.22 100.000 0.761651 +1714%
5.5.36 100.000 0.831420 +1871%
5.4.45 100.000 0.835124 +1879%
5.3.29 100.000 1.030326 +2318%
8.3.9 10.000 0.009025 +190%
8.0.30 100.000 0.062141 +140%
8.0.29 100.000 0.044447 100%
8.0.28 100.000 0.045657 +103%
8.0.27 100.000 0.052201 +117%
8.0.26 100.000 0.052374 +118%
8.0.25 100.000 0.051994 +117%
8.0.24 100.000 0.048723 +110%
8.0.23 100.000 0.049705 +112%
8.0.20 10.000 0.006029 +127%
8.0.20 100.000 0.048988 +110%
8.0.19 10.000 0.008039 +169%
8.0.19 100.000 0.057398 +129%
8.0.17 10.000 0.007805 +164%
8.0.17 100.000 0.061052 +137%
8.0.16 10.000 0.008148 +171%
8.0.16 100.000 0.053624 +121%
8.0.14 10.000 0.008844 +186%
8.0.14 100.000 0.061609 +139%
8.0.11 100.000 0.054126 +122%
8.0.10 100.000 0.059824 +135%
8.0.9 100.000 0.052549 +118%
8.0.8 100.000 0.055221 +124%
8.0.7 100.000 0.054521 +123%
8.0.3 100.000 0.067318 +151%
8.0.2 100.000 0.080450 +181%
8.0.0 100.000 0.056474 +127%
7.4.33 100.000 0.055396 +125%
7.4.32 100.000 0.050820 +114%
7.4.30 100.000 0.048386 +109%
7.4.28 100.000 0.056366 +127%
7.4.27 100.000 0.053970 +121%
7.4.24 100.000 0.053243 +120%
7.4.23 100.000 0.054439 +122%
7.4.22 100.000 0.049424 +111%
8.0.11 10.000 0.008774 +184%
8.0.10 10.000 0.008875 +187%
8.0.0 10.000 0.007916 +166%
7.4.29 100.000 0.056052 +126%
7.4.21 10.000 0.007988 +168%
7.4.21 100.000 0.051697 +116%
7.4.20 10.000 0.008956 +188%
7.4.20 100.000 0.053469 +120%
7.4.16 100.000 0.066078 +149%
7.4.15 100.000 0.082365 +185%
7.4.33 10.000 0.007040 +148%
7.4.32 10.000 0.006495 +137%
7.4.30 10.000 0.006408 +135%
7.4.29 10.000 0.008210 +173%
7.4.24 10.000 0.008115 +171%
7.4.23 10.000 0.007384 +155%
7.4.22 10.000 0.008291 +174%
7.4.13 100.000 0.052254 +118%
7.4.12 100.000 0.056930 +128%
7.4.11 100.000 0.057630 +130%
7.4.10 100.000 0.052495 +118%
8.0.2 10.000 0.013338 +280%
7.4.0 100.000 0.064988 +146%
8.0.30 10.000 0.008618 +181%
8.0.29 10.000 0.004758 100%
8.0.28 10.000 0.005798 +122%
8.0.27 10.000 0.008299 +174%
8.0.26 10.000 0.006800 +143%
8.0.25 10.000 0.007520 +158%
8.0.24 10.000 0.006867 +144%
8.0.23 10.000 0.005300 +111%
8.0.9 10.000 0.008338 +175%
8.0.8 10.000 0.009611 +202%
8.0.7 10.000 0.009450 +199%
8.0.3 10.000 0.010682 +225%
7.4.28 10.000 0.008527 +179%
7.4.27 10.000 0.008417 +177%
7.4.16 10.000 0.010569 +222%
7.4.15 10.000 0.012922 +272%
7.4.13 10.000 0.008142 +171%
7.4.12 10.000 0.007343 +154%
7.4.11 10.000 0.008844 +186%
7.4.10 10.000 0.008187 +172%
7.4.7 10.000 0.008386 +176%
7.4.7 100.000 0.058410 +131%
7.4.6 10.000 0.007654 +161%
7.4.6 100.000 0.052037 +117%
7.4.5 10.000 0.007759 +163%
7.4.5 100.000 0.054206 +122%
7.4.4 10.000 0.006647 +140%
7.4.4 100.000 0.052875 +119%
7.4.3 10.000 0.007970 +168%
7.4.3 100.000 0.053055 +119%
7.4.1 100.000 0.053199 +120%
7.4.2 10.000 0.009517 +200%
7.4.2 100.000 0.056301 +127%
7.4.1 10.000 0.009066 +191%
7.4.0 10.000 0.007526 +158%
7.3.33 10.000 0.007477 +157%
7.3.31 10.000 0.008643 +182%
7.3.30 10.000 0.008339 +175%
7.3.29 10.000 0.007520 +158%
7.3.28 10.000 0.009638 +203%
7.3.27 10.000 0.010989 +231%
7.3.24 10.000 0.007870 +165%
7.3.23 10.000 0.009143 +192%
7.3.22 10.000 0.007514 +158%
7.3.19 10.000 0.008951 +188%
7.3.18 10.000 0.008401 +177%
7.3.17 10.000 0.008849 +186%
7.3.16 10.000 0.007660 +161%
7.3.15 10.000 0.009527 +200%
7.3.14 10.000 0.010135 +213%
7.3.13 10.000 0.009572 +201%
7.3.12 10.000 0.008092 +170%
7.3.11 10.000 0.007203 +151%
7.3.9 10.000 0.008392 +176%
7.3.8 10.000 0.007425 +156%
7.2.34 10.000 0.008404 +177%
7.2.33 10.000 0.009292 +195%
7.2.31 10.000 0.009002 +189%
7.2.30 10.000 0.007693 +162%
7.2.29 10.000 0.008834 +186%
7.2.28 10.000 0.008812 +185%
7.2.27 10.000 0.010256 +216%
7.2.26 10.000 0.009806 +206%
7.2.25 10.000 0.007809 +164%
7.2.24 10.000 0.008294 +174%
7.2.22 10.000 0.009018 +190%
7.2.21 10.000 0.008601 +181%
7.1.33 10.000 0.009377 +197%
7.1.32 10.000 0.010064 +212%
7.1.31 10.000 0.009318 +196%
7.1.0 10.000 0.037602 +790%
7.0.33 10.000 0.009045 +190%
7.0.7 10.000 0.044530 +936%
5.6.40 10.000 0.019833 +417%
5.6.22 10.000 0.078209 +1644%
5.5.36 10.000 0.086770 +1824%
5.4.45 10.000 0.086729 +1823%
5.3.29 10.000 0.105730 +2222%