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.3.13 100.000 0.033467 100%
8.3.10 100.000 0.027182 100%
8.3.9 100.000 0.027844 100%
7.3.33 100.000 0.054106 +125%
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.19 100.000 0.042632 100%
7.3.18 100.000 0.039714 100%
7.3.17 100.000 0.039335 100%
7.3.16 100.000 0.036491 100%
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.3.9 100.000 0.045113 100%
7.3.8 100.000 0.043773 100%
7.2.29 100.000 0.037714 100%
8.3.13 10.000 0.004479 100%
7.2.34 100.000 0.054413 +130%
7.2.33 100.000 0.040039 100%
7.2.31 100.000 0.039411 100%
7.2.30 100.000 0.037880 100%
8.3.10 10.000 0.003267 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%
7.2.21 100.000 0.044643 +109%
7.1.33 100.000 0.053908 +113%
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.33 100.000 0.051595 100%
7.0.7 100.000 0.209547 +164%
5.6.40 100.000 0.056151 +139%
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.3.9 10.000 0.003577 100%
8.0.30 100.000 0.021042 100%
8.0.29 100.000 0.013133 100%
8.0.28 100.000 0.015317 100%
8.0.27 100.000 0.016934 100%
8.0.26 100.000 0.018375 100%
8.0.25 100.000 0.017418 100%
8.0.24 100.000 0.016056 100%
8.0.23 100.000 0.015059 100%
8.0.20 10.000 0.001666 100%
8.0.20 100.000 0.014772 100%
8.0.19 10.000 0.001693 100%
8.0.19 100.000 0.019569 100%
8.0.17 10.000 0.002176 +108%
8.0.17 100.000 0.018135 100%
8.0.16 10.000 0.001942 100%
8.0.16 100.000 0.017900 100%
8.0.14 10.000 0.002075 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.9 100.000 0.015942 100%
8.0.8 100.000 0.017748 100%
8.0.7 100.000 0.020184 100%
8.0.3 100.000 0.023025 100%
8.0.2 100.000 0.024608 100%
8.0.0 100.000 0.017753 100%
7.4.33 100.000 0.018854 100%
7.4.32 100.000 0.016410 100%
7.4.30 100.000 0.014518 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%
7.4.23 100.000 0.018467 100%
7.4.22 100.000 0.015596 100%
8.0.11 10.000 0.002062 100%
8.0.10 10.000 0.001992 100%
8.0.0 10.000 0.002175 100%
7.4.29 100.000 0.019426 100%
7.4.21 10.000 0.002257 100%
7.4.21 100.000 0.019426 100%
7.4.20 10.000 0.002111 100%
7.4.20 100.000 0.018028 100%
7.4.16 100.000 0.021136 100%
7.4.15 100.000 0.023843 100%
7.4.33 10.000 0.002082 100%
7.4.32 10.000 0.001679 100%
7.4.30 10.000 0.001547 100%
7.4.29 10.000 0.002002 100%
7.4.24 10.000 0.001888 100%
7.4.23 10.000 0.001979 100%
7.4.22 10.000 0.001518 100%
7.4.13 100.000 0.016743 100%
7.4.12 100.000 0.016725 100%
7.4.11 100.000 0.019859 100%
7.4.10 100.000 0.017065 100%
8.0.2 10.000 0.003065 100%
7.4.0 100.000 0.016618 100%
8.0.30 10.000 0.002492 100%
8.0.29 10.000 0.001391 100%
8.0.28 10.000 0.001489 100%
8.0.27 10.000 0.001791 100%
8.0.26 10.000 0.002060 100%
8.0.25 10.000 0.001946 100%
8.0.24 10.000 0.001677 100%
8.0.23 10.000 0.001523 100%
8.0.9 10.000 0.001857 100%
8.0.8 10.000 0.001941 100%
8.0.7 10.000 0.001918 100%
8.0.3 10.000 0.002627 100%
7.4.28 10.000 0.001706 100%
7.4.27 10.000 0.002284 100%
7.4.16 10.000 0.002403 100%
7.4.15 10.000 0.002965 100%
7.4.13 10.000 0.001749 100%
7.4.12 10.000 0.002147 100%
7.4.11 10.000 0.002015 100%
7.4.10 10.000 0.002018 100%
7.4.7 10.000 0.002419 100%
7.4.7 100.000 0.018242 100%
7.4.6 10.000 0.001799 100%
7.4.6 100.000 0.017324 100%
7.4.5 10.000 0.001893 100%
7.4.5 100.000 0.018851 100%
7.4.4 10.000 0.002059 100%
7.4.4 100.000 0.017471 100%
7.4.3 10.000 0.001811 100%
7.4.3 100.000 0.018448 100%
7.4.1 100.000 0.020853 100%
7.4.2 10.000 0.002393 100%
7.4.2 100.000 0.020284 100%
7.4.1 10.000 0.001987 100%
7.4.0 10.000 0.001674 100%
7.3.33 10.000 0.006962 +226%
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.2.34 10.000 0.007205 +259%
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.007583 +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.007171 +262%
7.0.7 10.000 0.021844 +255%
5.6.40 10.000 0.008086 +112%
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.3.13 100.000 0.064618 +193%
8.3.10 100.000 0.053942 +198%
8.3.9 100.000 0.062180 +223%
7.3.33 100.000 0.043455 100%
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.19 100.000 0.050422 +118%
7.3.18 100.000 0.048629 +122%
7.3.17 100.000 0.049595 +126%
7.3.16 100.000 0.050147 +137%
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.3.9 100.000 0.046367 +103%
7.3.8 100.000 0.045495 +104%
7.2.29 100.000 0.042641 +113%
8.3.13 10.000 0.005335 +119%
7.2.34 100.000 0.041732 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%
8.3.10 10.000 0.004199 +129%
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%
7.2.21 100.000 0.040950 100%
7.1.33 100.000 0.047745 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.33 100.000 0.101561 +197%
7.0.7 100.000 0.127590 100%
5.6.40 100.000 0.040459 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.3.9 10.000 0.004905 +137%
8.0.30 100.000 0.045583 +217%
8.0.29 100.000 0.033011 +251%
8.0.28 100.000 0.033982 +222%
8.0.27 100.000 0.036581 +216%
8.0.26 100.000 0.038047 +207%
8.0.25 100.000 0.037605 +216%
8.0.24 100.000 0.036700 +229%
8.0.23 100.000 0.033565 +223%
8.0.20 10.000 0.002160 +130%
8.0.20 100.000 0.032326 +219%
8.0.19 10.000 0.002602 +154%
8.0.19 100.000 0.040714 +208%
8.0.17 10.000 0.002013 100%
8.0.17 100.000 0.036080 +199%
8.0.16 10.000 0.002163 +111%
8.0.16 100.000 0.038329 +214%
8.0.14 10.000 0.002621 +126%
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.9 100.000 0.036527 +229%
8.0.8 100.000 0.037262 +210%
8.0.7 100.000 0.039839 +197%
8.0.3 100.000 0.046942 +204%
8.0.2 100.000 0.054210 +220%
8.0.0 100.000 0.040554 +228%
7.4.33 100.000 0.047163 +250%
7.4.32 100.000 0.042686 +260%
7.4.30 100.000 0.038109 +262%
7.4.28 100.000 0.040094 +229%
7.4.27 100.000 0.043796 +238%
7.4.24 100.000 0.041481 +231%
7.4.23 100.000 0.044729 +242%
7.4.22 100.000 0.041000 +263%
8.0.11 10.000 0.002626 +127%
8.0.10 10.000 0.002680 +135%
8.0.0 10.000 0.002639 +121%
7.4.29 100.000 0.045423 +234%
7.4.21 10.000 0.002986 +132%
7.4.21 100.000 0.042571 +219%
7.4.20 10.000 0.002801 +133%
7.4.20 100.000 0.043681 +242%
7.4.16 100.000 0.052958 +251%
7.4.15 100.000 0.061232 +257%
7.4.33 10.000 0.002661 +128%
7.4.32 10.000 0.002533 +151%
7.4.30 10.000 0.001892 +122%
7.4.29 10.000 0.002567 +128%
7.4.24 10.000 0.002484 +132%
7.4.23 10.000 0.002473 +125%
7.4.22 10.000 0.002379 +157%
7.4.13 100.000 0.046081 +275%
7.4.12 100.000 0.046610 +279%
7.4.11 100.000 0.050600 +255%
7.4.10 100.000 0.048856 +286%
8.0.2 10.000 0.003854 +126%
7.4.0 100.000 0.042224 +254%
8.0.30 10.000 0.003310 +133%
8.0.29 10.000 0.001574 +113%
8.0.28 10.000 0.001863 +125%
8.0.27 10.000 0.002089 +117%
8.0.26 10.000 0.002304 +112%
8.0.25 10.000 0.002364 +122%
8.0.24 10.000 0.002223 +133%
8.0.23 10.000 0.001937 +127%
8.0.9 10.000 0.002125 +114%
8.0.8 10.000 0.002273 +117%
8.0.7 10.000 0.002695 +141%
8.0.3 10.000 0.003132 +119%
7.4.28 10.000 0.002274 +133%
7.4.27 10.000 0.002405 +105%
7.4.16 10.000 0.003126 +130%
7.4.15 10.000 0.004206 +142%
7.4.13 10.000 0.002305 +132%
7.4.12 10.000 0.002597 +121%
7.4.11 10.000 0.002895 +144%
7.4.10 10.000 0.003048 +151%
7.4.7 10.000 0.002932 +121%
7.4.7 100.000 0.049988 +274%
7.4.6 10.000 0.002714 +151%
7.4.6 100.000 0.048283 +279%
7.4.5 10.000 0.002845 +150%
7.4.5 100.000 0.049430 +262%
7.4.4 10.000 0.002574 +125%
7.4.4 100.000 0.046830 +268%
7.4.3 10.000 0.003313 +183%
7.4.3 100.000 0.049572 +269%
7.4.1 100.000 0.045241 +217%
7.4.2 10.000 0.003147 +131%
7.4.2 100.000 0.047185 +233%
7.4.1 10.000 0.002942 +148%
7.4.0 10.000 0.001756 +105%
7.3.33 10.000 0.003078 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.2.34 10.000 0.002785 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.002510 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.002735 100%
7.0.7 10.000 0.008574 100%
5.6.40 10.000 0.007191 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%