Obtain filename extension with pathinfo
<?php
$this->start($loop);
$file = '/tmp/'.uniqid().'.jpg';
for ($i = 0; $i < $this->loop; ++$i) {
$value = strtolower(pathinfo($file, PATHINFO_EXTENSION));
}
return $this->end();
PHP | Loops | Seconds | Percent |
---|---|---|---|
8.4.4 | 100.000 | 0.026794 | +103% |
8.3.9 | 100.000 | 0.036293 | +139% |
7.4.1 | 100.000 | 0.088799 | +341% |
7.4.0 | 100.000 | 0.108346 | +416% |
7.3.33 | 100.000 | 0.091634 | +352% |
7.3.31 | 100.000 | 0.082633 | +317% |
7.3.30 | 100.000 | 0.082384 | +316% |
7.3.29 | 100.000 | 0.082523 | +317% |
7.3.28 | 100.000 | 0.083270 | +319% |
7.3.27 | 100.000 | 0.107681 | +413% |
7.3.24 | 100.000 | 0.091794 | +352% |
7.3.23 | 100.000 | 0.093163 | +357% |
7.3.22 | 100.000 | 0.093666 | +359% |
7.3.19 | 100.000 | 0.093282 | +358% |
7.3.18 | 100.000 | 0.087247 | +335% |
7.3.17 | 100.000 | 0.084482 | +324% |
7.3.16 | 100.000 | 0.088535 | +340% |
7.3.15 | 100.000 | 0.086117 | +330% |
7.3.14 | 100.000 | 0.090421 | +347% |
7.3.13 | 100.000 | 0.086098 | +330% |
7.3.12 | 100.000 | 0.082651 | +317% |
7.3.11 | 100.000 | 0.100232 | +385% |
7.3.9 | 100.000 | 0.114903 | +441% |
7.3.8 | 100.000 | 0.114667 | +440% |
7.2.34 | 100.000 | 0.094716 | +363% |
7.2.33 | 100.000 | 0.092284 | +354% |
7.2.31 | 100.000 | 0.092877 | +356% |
7.2.30 | 100.000 | 0.089291 | +343% |
7.2.29 | 100.000 | 0.088567 | +340% |
7.2.28 | 100.000 | 0.092411 | +355% |
7.2.27 | 100.000 | 0.098527 | +378% |
7.2.26 | 100.000 | 0.093709 | +360% |
7.2.25 | 100.000 | 0.084163 | +323% |
7.2.24 | 100.000 | 0.098803 | +379% |
7.2.22 | 100.000 | 0.121459 | +466% |
7.2.21 | 100.000 | 0.119639 | +459% |
7.1.33 | 100.000 | 0.100451 | +385% |
7.1.32 | 100.000 | 0.126720 | +486% |
7.1.31 | 100.000 | 0.126572 | +486% |
7.1.0 | 100.000 | 0.346409 | +1329% |
7.0.33 | 100.000 | 0.101664 | +390% |
7.0.7 | 100.000 | 0.334298 | +1282% |
5.6.40 | 100.000 | 0.130879 | +502% |
5.6.22 | 100.000 | 0.489942 | +1880% |
5.5.36 | 100.000 | 0.567422 | +2177% |
5.4.45 | 100.000 | 0.551170 | +2114% |
5.3.29 | 100.000 | 0.731934 | +2808% |
8.4.4 | 10.000 | 0.003791 | +109% |
8.3.16 | 100.000 | 0.026066 | 100% |
8.3.13 | 100.000 | 0.034131 | +131% |
8.3.10 | 10.000 | 0.004832 | +139% |
8.3.10 | 100.000 | 0.035921 | +138% |
8.0.29 | 100.000 | 0.077406 | +297% |
8.0.28 | 100.000 | 0.075548 | +290% |
8.0.27 | 100.000 | 0.079777 | +306% |
8.0.26 | 100.000 | 0.080418 | +309% |
8.0.25 | 100.000 | 0.075568 | +290% |
8.0.24 | 100.000 | 0.075196 | +288% |
8.0.23 | 100.000 | 0.078425 | +301% |
8.0.20 | 100.000 | 0.077225 | +296% |
8.3.16 | 10.000 | 0.003467 | 100% |
8.3.13 | 10.000 | 0.004410 | +127% |
8.0.19 | 100.000 | 0.081811 | +314% |
8.0.17 | 100.000 | 0.088623 | +340% |
8.0.16 | 100.000 | 0.084675 | +325% |
8.0.14 | 100.000 | 0.090697 | +348% |
8.0.11 | 100.000 | 0.081230 | +312% |
8.0.9 | 100.000 | 0.093544 | +359% |
8.0.8 | 100.000 | 0.118480 | +455% |
7.4.10 | 100.000 | 0.083920 | +322% |
8.3.9 | 10.000 | 0.005543 | +160% |
8.0.30 | 100.000 | 0.099969 | +384% |
7.4.11 | 100.000 | 0.099959 | +383% |
8.0.30 | 10.000 | 0.013996 | +404% |
8.0.29 | 10.000 | 0.008661 | +250% |
8.0.28 | 10.000 | 0.010022 | +289% |
8.0.27 | 10.000 | 0.011448 | +330% |
8.0.26 | 10.000 | 0.012939 | +373% |
8.0.25 | 10.000 | 0.011053 | +319% |
8.0.24 | 10.000 | 0.009584 | +276% |
8.0.23 | 10.000 | 0.009214 | +266% |
8.0.20 | 10.000 | 0.009360 | +270% |
8.0.19 | 10.000 | 0.013012 | +375% |
8.0.17 | 10.000 | 0.012843 | +370% |
8.0.16 | 10.000 | 0.013252 | +382% |
8.0.14 | 10.000 | 0.013852 | +400% |
8.0.11 | 10.000 | 0.013409 | +387% |
8.0.7 | 100.000 | 0.082498 | +316% |
8.0.10 | 10.000 | 0.013517 | +390% |
8.0.10 | 100.000 | 0.080948 | +311% |
8.0.3 | 100.000 | 0.102090 | +392% |
8.0.2 | 100.000 | 0.119326 | +458% |
8.0.0 | 100.000 | 0.087185 | +334% |
7.4.29 | 100.000 | 0.086526 | +332% |
8.0.0 | 10.000 | 0.013554 | +391% |
7.4.33 | 100.000 | 0.094158 | +361% |
7.4.32 | 100.000 | 0.079514 | +305% |
8.0.2 | 10.000 | 0.017731 | +511% |
7.4.33 | 10.000 | 0.012503 | +361% |
7.4.30 | 10.000 | 0.011088 | +320% |
7.4.30 | 100.000 | 0.082130 | +315% |
7.4.29 | 10.000 | 0.015470 | +446% |
7.4.28 | 10.000 | 0.013679 | +395% |
7.4.28 | 100.000 | 0.090805 | +348% |
7.4.27 | 100.000 | 0.088597 | +340% |
7.4.24 | 10.000 | 0.012984 | +375% |
7.4.24 | 100.000 | 0.086486 | +332% |
7.4.23 | 100.000 | 0.090776 | +348% |
7.4.22 | 10.000 | 0.014031 | +405% |
7.4.22 | 100.000 | 0.082814 | +318% |
7.4.21 | 100.000 | 0.091535 | +351% |
8.0.9 | 10.000 | 0.013118 | +378% |
7.4.27 | 10.000 | 0.014168 | +409% |
7.4.21 | 10.000 | 0.015094 | +435% |
7.4.20 | 10.000 | 0.014409 | +416% |
7.4.20 | 100.000 | 0.087141 | +334% |
7.4.16 | 100.000 | 0.106543 | +409% |
8.0.8 | 10.000 | 0.012429 | +359% |
8.0.7 | 10.000 | 0.015659 | +452% |
8.0.3 | 10.000 | 0.016233 | +468% |
7.4.32 | 10.000 | 0.010505 | +303% |
7.4.23 | 10.000 | 0.013752 | +397% |
7.4.16 | 10.000 | 0.017113 | +494% |
7.4.15 | 10.000 | 0.025756 | +743% |
7.4.15 | 100.000 | 0.132653 | +509% |
7.4.13 | 100.000 | 0.086432 | +332% |
7.4.13 | 10.000 | 0.013216 | +381% |
7.4.12 | 100.000 | 0.103048 | +395% |
7.4.6 | 100.000 | 0.087939 | +337% |
7.4.12 | 10.000 | 0.012510 | +361% |
7.4.11 | 10.000 | 0.012596 | +363% |
7.4.10 | 10.000 | 0.013487 | +389% |
7.4.7 | 10.000 | 0.013797 | +398% |
7.4.7 | 100.000 | 0.089956 | +345% |
7.4.6 | 10.000 | 0.015319 | +442% |
7.4.5 | 10.000 | 0.014329 | +413% |
7.4.5 | 100.000 | 0.086903 | +333% |
7.4.4 | 10.000 | 0.013570 | +391% |
7.4.4 | 100.000 | 0.086584 | +332% |
7.4.3 | 100.000 | 0.082354 | +316% |
7.4.3 | 10.000 | 0.013641 | +393% |
7.4.2 | 10.000 | 0.015773 | +455% |
7.4.2 | 100.000 | 0.088796 | +341% |
7.4.1 | 10.000 | 0.016418 | +474% |
7.4.0 | 10.000 | 0.013026 | +376% |
7.3.33 | 10.000 | 0.012634 | +364% |
7.3.31 | 10.000 | 0.013667 | +394% |
7.3.30 | 10.000 | 0.014437 | +416% |
7.3.29 | 10.000 | 0.011854 | +342% |
7.3.28 | 10.000 | 0.014898 | +430% |
7.3.27 | 10.000 | 0.017300 | +499% |
7.3.24 | 10.000 | 0.012879 | +372% |
7.3.23 | 10.000 | 0.015241 | +440% |
7.3.22 | 10.000 | 0.014935 | +431% |
7.3.19 | 10.000 | 0.014774 | +426% |
7.3.18 | 10.000 | 0.013314 | +384% |
7.3.17 | 10.000 | 0.013502 | +389% |
7.3.16 | 10.000 | 0.013016 | +375% |
7.3.15 | 10.000 | 0.013189 | +380% |
7.3.14 | 10.000 | 0.016585 | +478% |
7.3.13 | 10.000 | 0.016235 | +468% |
7.3.12 | 10.000 | 0.014139 | +408% |
7.3.11 | 10.000 | 0.011324 | +327% |
7.3.9 | 10.000 | 0.013283 | +383% |
7.3.8 | 10.000 | 0.012342 | +356% |
7.2.34 | 10.000 | 0.013289 | +383% |
7.2.33 | 10.000 | 0.012859 | +371% |
7.2.31 | 10.000 | 0.014920 | +430% |
7.2.30 | 10.000 | 0.014543 | +419% |
7.2.29 | 10.000 | 0.013883 | +400% |
7.2.28 | 10.000 | 0.013888 | +401% |
7.2.27 | 10.000 | 0.017342 | +500% |
7.2.26 | 10.000 | 0.017253 | +498% |
7.2.25 | 10.000 | 0.014745 | +425% |
7.2.24 | 10.000 | 0.011917 | +344% |
7.2.22 | 10.000 | 0.014172 | +409% |
7.2.21 | 10.000 | 0.012781 | +369% |
7.1.33 | 10.000 | 0.014564 | +420% |
7.1.32 | 10.000 | 0.014109 | +407% |
7.1.31 | 10.000 | 0.013476 | +389% |
7.1.0 | 10.000 | 0.036450 | +1051% |
7.0.33 | 10.000 | 0.014396 | +415% |
7.0.7 | 10.000 | 0.035616 | +1027% |
5.6.40 | 10.000 | 0.017325 | +500% |
5.6.22 | 10.000 | 0.051457 | +1484% |
5.5.36 | 10.000 | 0.057179 | +1649% |
5.4.45 | 10.000 | 0.056120 | +1619% |
5.3.29 | 10.000 | 0.079160 | +2283% |