SprintfTest

Assign message to variable with one parameter using sprintf


<?php 

$this
->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
$value sprintf('Lorem %s ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada, nisl sit amet congue blandit'$i);
}

return 
$this->end();
PHP Loops Seconds Percent
8.0.23 100.000 0.015186 100%
8.0.20 100.000 0.014772 100%
8.0.9 100.000 0.015942 100%
8.0.19 10.000 0.001693 100%
8.0.8 100.000 0.017748 100%
7.3.17 100.000 0.039335 100%
8.0.23 10.000 0.001724 +112%
8.0.19 100.000 0.019569 100%
8.0.17 100.000 0.018135 100%
8.0.16 100.000 0.017900 100%
8.0.14 100.000 0.018688 100%
8.0.11 100.000 0.018539 100%
8.0.10 100.000 0.017735 100%
8.0.20 10.000 0.001666 100%
7.3.16 100.000 0.036491 100%
8.0.17 10.000 0.002176 +108%
7.3.15 100.000 0.040756 100%
7.3.14 100.000 0.045150 100%
7.3.13 100.000 0.043896 100%
7.3.12 100.000 0.037933 100%
7.3.11 100.000 0.039526 100%
7.2.34 100.000 0.044139 +108%
7.2.33 100.000 0.040039 100%
7.2.31 100.000 0.039411 100%
7.2.30 100.000 0.037880 100%
7.2.29 100.000 0.037714 100%
7.2.28 100.000 0.035650 100%
7.2.27 100.000 0.041451 100%
7.2.26 100.000 0.040184 100%
7.2.25 100.000 0.043390 +122%
7.2.24 100.000 0.038651 100%
7.2.22 100.000 0.046335 +106%
8.0.16 10.000 0.001942 100%
7.2.21 100.000 0.044643 +109%
7.1.33 100.000 0.047210 +123%
7.1.32 100.000 0.044085 100%
7.1.31 100.000 0.043907 100%
7.1.0 100.000 0.218500 +168%
7.0.7 100.000 0.209547 +164%
8.0.10 10.000 0.001992 100%
5.6.40 100.000 0.058409 +142%
5.6.22 100.000 0.317996 +229%
5.5.36 100.000 0.323381 +230%
5.4.45 100.000 0.335953 +235%
5.3.29 100.000 0.395434 +296%
8.0.14 10.000 0.002075 100%
8.0.11 10.000 0.002062 100%
7.0.33 100.000 0.042679 100%
8.0.9 10.000 0.001857 100%
7.4.30 100.000 0.014378 100%
7.4.29 100.000 0.019426 100%
7.4.28 100.000 0.017475 100%
7.4.27 100.000 0.018398 100%
7.4.24 100.000 0.017969 100%
8.0.8 10.000 0.001941 100%
8.0.7 10.000 0.001918 100%
8.0.7 100.000 0.020184 100%
8.0.3 10.000 0.002627 100%
8.0.3 100.000 0.023025 100%
8.0.2 10.000 0.003065 100%
8.0.2 100.000 0.024608 100%
8.0.0 100.000 0.017753 100%
7.4.7 100.000 0.018242 100%
7.4.6 100.000 0.017324 100%
8.0.0 10.000 0.002175 100%
7.4.5 100.000 0.018851 100%
7.4.4 100.000 0.017471 100%
7.4.30 10.000 0.001506 100%
7.4.29 10.000 0.002002 100%
7.4.28 10.000 0.001706 100%
7.4.27 10.000 0.002284 100%
7.4.3 100.000 0.018448 100%
7.4.24 10.000 0.001888 100%
7.3.19 100.000 0.042632 100%
7.3.18 100.000 0.039714 100%
7.4.23 10.000 0.001979 100%
7.4.23 100.000 0.018467 100%
7.4.22 100.000 0.015596 100%
7.3.33 100.000 0.039714 100%
7.3.31 100.000 0.039339 100%
7.3.30 100.000 0.037628 100%
7.3.29 100.000 0.037993 100%
7.3.28 100.000 0.039404 100%
7.3.27 100.000 0.051051 100%
7.3.24 100.000 0.039585 100%
7.3.23 100.000 0.035925 100%
7.3.22 100.000 0.042131 100%
7.3.9 100.000 0.045113 100%
7.4.22 10.000 0.001518 100%
7.4.21 100.000 0.019426 100%
7.4.15 100.000 0.023843 100%
7.4.0 100.000 0.016618 100%
7.4.21 10.000 0.002257 100%
7.4.20 10.000 0.002111 100%
7.4.20 100.000 0.018028 100%
7.4.16 10.000 0.002403 100%
7.4.16 100.000 0.021136 100%
7.4.15 10.000 0.002965 100%
7.4.13 10.000 0.001749 100%
7.4.13 100.000 0.016743 100%
7.4.2 100.000 0.020284 100%
7.4.12 10.000 0.002147 100%
7.4.12 100.000 0.016725 100%
7.4.11 100.000 0.019859 100%
7.4.11 10.000 0.002015 100%
7.4.10 10.000 0.002018 100%
7.4.10 100.000 0.017065 100%
7.4.3 10.000 0.001811 100%
7.4.1 10.000 0.001987 100%
7.4.1 100.000 0.020853 100%
7.4.7 10.000 0.002419 100%
7.4.6 10.000 0.001799 100%
7.4.5 10.000 0.001893 100%
7.4.4 10.000 0.002059 100%
7.4.2 10.000 0.002393 100%
7.4.0 10.000 0.001674 100%
7.3.33 10.000 0.005309 +177%
7.3.31 10.000 0.005355 +160%
7.3.30 10.000 0.004713 +150%
7.3.29 10.000 0.005249 +160%
7.3.28 10.000 0.005729 +137%
7.3.27 10.000 0.007566 +164%
7.3.24 10.000 0.005490 +159%
7.3.23 10.000 0.005822 +148%
7.3.22 10.000 0.005651 +162%
7.3.19 10.000 0.006276 +140%
7.3.18 10.000 0.006137 +173%
7.3.17 10.000 0.006312 +172%
7.3.16 10.000 0.005019 +157%
7.3.15 10.000 0.005983 +154%
7.3.14 10.000 0.007925 +186%
7.3.13 10.000 0.007657 +212%
7.3.12 10.000 0.006227 +233%
7.3.11 10.000 0.005027 +243%
7.3.9 10.000 0.005116 +239%
7.3.8 10.000 0.004758 +249%
7.3.8 100.000 0.043773 100%
7.2.34 10.000 0.006266 +237%
7.2.33 10.000 0.005213 +232%
7.2.31 10.000 0.005657 +202%
7.2.30 10.000 0.005218 +186%
7.2.29 10.000 0.005506 +210%
7.2.28 10.000 0.005493 +218%
7.2.27 10.000 0.006605 +204%
7.2.26 10.000 0.006040 +196%
7.2.25 10.000 0.006819 +252%
7.2.24 10.000 0.004530 +251%
7.2.22 10.000 0.005179 +253%
7.2.21 10.000 0.004544 +248%
7.1.33 10.000 0.007062 +302%
7.1.32 10.000 0.005355 +273%
7.1.31 10.000 0.004806 +277%
7.1.0 10.000 0.022669 +253%
7.0.33 10.000 0.006147 +244%
7.0.7 10.000 0.021844 +255%
5.6.40 10.000 0.008926 +121%
5.6.22 10.000 0.033387 +216%
5.5.36 10.000 0.033617 +216%
5.4.45 10.000 0.035425 +219%
5.3.29 10.000 0.041090 +268%

PrintDoubleQuoteCodeTest

Print message with double quotes and code into quotes


<?php 

$this
->start($loop);

ob_start();

for (
$i 0$i $this->loop; ++$i) {
    print 
"Lorem $i ipsum dolor sit amet, consectetur adipiscing elit. Proin malesuada, nisl sit amet congue blandit";
}

ob_end_clean();

return 
$this->end();
PHP Loops Seconds Percent
8.0.23 100.000 0.033759 +222%
8.0.20 100.000 0.032326 +219%
8.0.9 100.000 0.036527 +229%
8.0.19 10.000 0.002602 +154%
8.0.8 100.000 0.037262 +210%
7.3.17 100.000 0.049595 +126%
8.0.23 10.000 0.001536 100%
8.0.19 100.000 0.040714 +208%
8.0.17 100.000 0.036080 +199%
8.0.16 100.000 0.038329 +214%
8.0.14 100.000 0.038061 +204%
8.0.11 100.000 0.036505 +197%
8.0.10 100.000 0.038351 +216%
8.0.20 10.000 0.002160 +130%
7.3.16 100.000 0.050147 +137%
8.0.17 10.000 0.002013 100%
7.3.15 100.000 0.049605 +122%
7.3.14 100.000 0.049981 +111%
7.3.13 100.000 0.046096 +105%
7.3.12 100.000 0.039561 +104%
7.3.11 100.000 0.043201 +109%
7.2.34 100.000 0.040973 100%
7.2.33 100.000 0.044597 +111%
7.2.31 100.000 0.043546 +110%
7.2.30 100.000 0.049979 +132%
7.2.29 100.000 0.042641 +113%
7.2.28 100.000 0.043198 +121%
7.2.27 100.000 0.043472 +105%
7.2.26 100.000 0.042880 +107%
7.2.25 100.000 0.035685 100%
7.2.24 100.000 0.038687 100%
7.2.22 100.000 0.043672 100%
8.0.16 10.000 0.002163 +111%
7.2.21 100.000 0.040950 100%
7.1.33 100.000 0.038378 100%
7.1.32 100.000 0.059689 +135%
7.1.31 100.000 0.061903 +141%
7.1.0 100.000 0.129824 100%
7.0.7 100.000 0.127590 100%
8.0.10 10.000 0.002680 +135%
5.6.40 100.000 0.041218 100%
5.6.22 100.000 0.138713 100%
5.5.36 100.000 0.140459 100%
5.4.45 100.000 0.143169 100%
5.3.29 100.000 0.133492 100%
8.0.14 10.000 0.002621 +126%
8.0.11 10.000 0.002626 +127%
7.0.33 100.000 0.069675 +163%
8.0.9 10.000 0.002125 +114%
7.4.30 100.000 0.038202 +266%
7.4.29 100.000 0.045423 +234%
7.4.28 100.000 0.040094 +229%
7.4.27 100.000 0.043796 +238%
7.4.24 100.000 0.041481 +231%
8.0.8 10.000 0.002273 +117%
8.0.7 10.000 0.002695 +141%
8.0.7 100.000 0.039839 +197%
8.0.3 10.000 0.003132 +119%
8.0.3 100.000 0.046942 +204%
8.0.2 10.000 0.003854 +126%
8.0.2 100.000 0.054210 +220%
8.0.0 100.000 0.040554 +228%
7.4.7 100.000 0.049988 +274%
7.4.6 100.000 0.048283 +279%
8.0.0 10.000 0.002639 +121%
7.4.5 100.000 0.049430 +262%
7.4.4 100.000 0.046830 +268%
7.4.30 10.000 0.001882 +125%
7.4.29 10.000 0.002567 +128%
7.4.28 10.000 0.002274 +133%
7.4.27 10.000 0.002405 +105%
7.4.3 100.000 0.049572 +269%
7.4.24 10.000 0.002484 +132%
7.3.19 100.000 0.050422 +118%
7.3.18 100.000 0.048629 +122%
7.4.23 10.000 0.002473 +125%
7.4.23 100.000 0.044729 +242%
7.4.22 100.000 0.041000 +263%
7.3.33 100.000 0.041996 +106%
7.3.31 100.000 0.042867 +109%
7.3.30 100.000 0.040635 +108%
7.3.29 100.000 0.041971 +110%
7.3.28 100.000 0.045488 +115%
7.3.27 100.000 0.054503 +107%
7.3.24 100.000 0.046753 +118%
7.3.23 100.000 0.050949 +142%
7.3.22 100.000 0.050206 +119%
7.3.9 100.000 0.046367 +103%
7.4.22 10.000 0.002379 +157%
7.4.21 100.000 0.042571 +219%
7.4.15 100.000 0.061232 +257%
7.4.0 100.000 0.042224 +254%
7.4.21 10.000 0.002986 +132%
7.4.20 10.000 0.002801 +133%
7.4.20 100.000 0.043681 +242%
7.4.16 10.000 0.003126 +130%
7.4.16 100.000 0.052958 +251%
7.4.15 10.000 0.004206 +142%
7.4.13 10.000 0.002305 +132%
7.4.13 100.000 0.046081 +275%
7.4.2 100.000 0.047185 +233%
7.4.12 10.000 0.002597 +121%
7.4.12 100.000 0.046610 +279%
7.4.11 100.000 0.050600 +255%
7.4.11 10.000 0.002895 +144%
7.4.10 10.000 0.003048 +151%
7.4.10 100.000 0.048856 +286%
7.4.3 10.000 0.003313 +183%
7.4.1 10.000 0.002942 +148%
7.4.1 100.000 0.045241 +217%
7.4.7 10.000 0.002932 +121%
7.4.6 10.000 0.002714 +151%
7.4.5 10.000 0.002845 +150%
7.4.4 10.000 0.002574 +125%
7.4.2 10.000 0.003147 +131%
7.4.0 10.000 0.001756 +105%
7.3.33 10.000 0.002999 100%
7.3.31 10.000 0.003346 100%
7.3.30 10.000 0.003148 100%
7.3.29 10.000 0.003288 100%
7.3.28 10.000 0.004193 100%
7.3.27 10.000 0.004604 100%
7.3.24 10.000 0.003453 100%
7.3.23 10.000 0.003931 100%
7.3.22 10.000 0.003491 100%
7.3.19 10.000 0.004483 100%
7.3.18 10.000 0.003539 100%
7.3.17 10.000 0.003665 100%
7.3.16 10.000 0.003187 100%
7.3.15 10.000 0.003876 100%
7.3.14 10.000 0.004257 100%
7.3.13 10.000 0.003604 100%
7.3.12 10.000 0.002670 100%
7.3.11 10.000 0.002067 100%
7.3.9 10.000 0.002140 100%
7.3.8 10.000 0.001910 100%
7.3.8 100.000 0.045495 +104%
7.2.34 10.000 0.002644 100%
7.2.33 10.000 0.002243 100%
7.2.31 10.000 0.002806 100%
7.2.30 10.000 0.002802 100%
7.2.29 10.000 0.002616 100%
7.2.28 10.000 0.002523 100%
7.2.27 10.000 0.003232 100%
7.2.26 10.000 0.003076 100%
7.2.25 10.000 0.002701 100%
7.2.24 10.000 0.001806 100%
7.2.22 10.000 0.002050 100%
7.2.21 10.000 0.001831 100%
7.1.33 10.000 0.002335 100%
7.1.32 10.000 0.001960 100%
7.1.31 10.000 0.001735 100%
7.1.0 10.000 0.008955 100%
7.0.33 10.000 0.002515 100%
7.0.7 10.000 0.008574 100%
5.6.40 10.000 0.007389 100%
5.6.22 10.000 0.015446 100%
5.5.36 10.000 0.015578 100%
5.4.45 10.000 0.016197 100%
5.3.29 10.000 0.015340 100%