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.30 10.000 0.002250 +162%
8.0.30 100.000 0.018996 +145%
8.0.9 100.000 0.015942 +121%
8.0.8 100.000 0.017748 +135%
7.3.13 100.000 0.043896 +334%
7.3.12 100.000 0.037933 +289%
7.3.11 100.000 0.039526 +301%
7.2.34 100.000 0.049884 +380%
7.2.33 100.000 0.040039 +305%
7.2.31 100.000 0.039411 +300%
7.2.30 100.000 0.037880 +288%
7.2.29 100.000 0.037714 +287%
7.2.28 100.000 0.035650 +271%
7.2.27 100.000 0.041451 +316%
7.2.26 100.000 0.040184 +306%
7.2.25 100.000 0.043390 +330%
7.2.24 100.000 0.038651 +294%
7.2.22 100.000 0.046335 +353%
7.2.21 100.000 0.044643 +340%
7.1.33 100.000 0.050577 +385%
7.1.32 100.000 0.044085 +336%
7.1.31 100.000 0.043907 +334%
7.1.0 100.000 0.218500 +1664%
7.0.33 100.000 0.047827 +364%
7.0.7 100.000 0.209547 +1596%
5.6.40 100.000 0.055908 +426%
5.6.22 100.000 0.317996 +2421%
5.5.36 100.000 0.323381 +2462%
5.4.45 100.000 0.335953 +2558%
5.3.29 100.000 0.395434 +3011%
8.0.29 10.000 0.001391 100%
8.0.29 100.000 0.013133 100%
8.0.28 100.000 0.015317 +117%
8.0.27 100.000 0.016934 +129%
8.0.26 100.000 0.018375 +140%
8.0.25 100.000 0.017418 +133%
8.0.24 100.000 0.016056 +122%
8.0.23 100.000 0.015059 +115%
8.0.20 100.000 0.014772 +112%
8.0.19 100.000 0.019569 +149%
8.0.17 100.000 0.018135 +138%
8.0.16 100.000 0.017900 +136%
8.0.14 100.000 0.018688 +142%
8.0.11 10.000 0.002062 +148%
8.0.11 100.000 0.018539 +141%
8.0.10 10.000 0.001992 +143%
8.0.10 100.000 0.017735 +135%
7.3.15 100.000 0.040756 +310%
8.0.28 10.000 0.001489 +107%
8.0.27 10.000 0.001791 +129%
8.0.26 10.000 0.002060 +148%
8.0.25 10.000 0.001946 +140%
8.0.24 10.000 0.001677 +121%
8.0.23 10.000 0.001523 +109%
8.0.20 10.000 0.001666 +120%
8.0.19 10.000 0.001693 +122%
8.0.17 10.000 0.002176 +156%
8.0.16 10.000 0.001942 +140%
8.0.14 10.000 0.002075 +149%
7.3.14 100.000 0.045150 +344%
8.0.9 10.000 0.001857 +133%
8.0.7 100.000 0.020184 +154%
8.0.8 10.000 0.001941 +140%
8.0.3 100.000 0.023025 +175%
8.0.2 100.000 0.024608 +187%
8.0.0 100.000 0.017753 +135%
7.4.33 100.000 0.016627 +127%
8.0.7 10.000 0.001918 +138%
7.4.32 100.000 0.016410 +125%
7.4.30 100.000 0.014518 +111%
7.4.29 100.000 0.019426 +148%
7.4.27 100.000 0.018398 +140%
8.0.3 10.000 0.002627 +189%
7.4.28 100.000 0.017475 +133%
7.4.24 100.000 0.017969 +137%
7.4.7 100.000 0.018242 +139%
7.4.6 100.000 0.017324 +132%
7.4.5 100.000 0.018851 +144%
7.4.4 100.000 0.017471 +133%
8.0.2 10.000 0.003065 +220%
8.0.0 10.000 0.002175 +156%
7.4.3 100.000 0.018448 +140%
7.4.33 10.000 0.001766 +127%
7.4.32 10.000 0.001679 +121%
7.4.30 10.000 0.001547 +111%
7.4.29 10.000 0.002002 +144%
7.3.17 100.000 0.039335 +300%
7.3.16 100.000 0.036491 +278%
7.4.28 10.000 0.001706 +123%
7.4.23 100.000 0.018467 +141%
7.4.21 100.000 0.019426 +148%
7.4.20 100.000 0.018028 +137%
7.4.24 10.000 0.001888 +136%
7.4.16 100.000 0.021136 +161%
7.4.15 10.000 0.002965 +213%
7.4.15 100.000 0.023843 +182%
7.4.13 100.000 0.016743 +127%
7.4.27 10.000 0.002284 +164%
7.4.23 10.000 0.001979 +142%
7.4.22 10.000 0.001518 +109%
7.4.22 100.000 0.015596 +119%
7.4.21 10.000 0.002257 +162%
7.4.20 10.000 0.002111 +152%
7.4.16 10.000 0.002403 +173%
7.4.13 10.000 0.001749 +126%
7.4.12 10.000 0.002147 +154%
7.4.12 100.000 0.016725 +127%
7.4.11 100.000 0.019859 +151%
7.4.11 10.000 0.002015 +145%
7.4.10 10.000 0.002018 +145%
7.4.10 100.000 0.017065 +130%
7.4.7 10.000 0.002419 +174%
7.4.6 10.000 0.001799 +129%
7.4.5 10.000 0.001893 +136%
7.4.4 10.000 0.002059 +148%
7.4.2 10.000 0.002393 +172%
7.4.2 100.000 0.020284 +154%
7.4.3 10.000 0.001811 +130%
7.4.1 10.000 0.001987 +143%
7.4.1 100.000 0.020853 +159%
7.4.0 100.000 0.016618 +127%
7.3.33 100.000 0.049026 +373%
7.3.31 100.000 0.039339 +300%
7.3.18 100.000 0.039714 +302%
7.3.33 10.000 0.006124 +440%
7.3.30 100.000 0.037628 +287%
7.4.0 10.000 0.001674 +120%
7.3.31 10.000 0.005355 +385%
7.3.29 10.000 0.005249 +377%
7.3.29 100.000 0.037993 +289%
7.3.28 10.000 0.005729 +412%
7.3.28 100.000 0.039404 +300%
7.3.27 10.000 0.007566 +544%
7.3.27 100.000 0.051051 +389%
7.3.30 10.000 0.004713 +339%
7.3.24 10.000 0.005490 +395%
7.3.24 100.000 0.039585 +301%
7.3.23 10.000 0.005822 +419%
7.3.23 100.000 0.035925 +274%
7.3.22 10.000 0.005651 +406%
7.3.22 100.000 0.042131 +321%
7.3.19 10.000 0.006276 +451%
7.3.19 100.000 0.042632 +325%
7.3.18 10.000 0.006137 +441%
7.3.17 10.000 0.006312 +454%
7.3.9 10.000 0.005116 +368%
7.3.9 100.000 0.045113 +344%
7.3.8 10.000 0.004758 +342%
7.3.8 100.000 0.043773 +333%
7.3.16 10.000 0.005019 +361%
7.3.15 10.000 0.005983 +430%
7.3.14 10.000 0.007925 +570%
7.3.13 10.000 0.007657 +550%
7.3.12 10.000 0.006227 +448%
7.3.11 10.000 0.005027 +361%
7.2.34 10.000 0.006654 +478%
7.2.33 10.000 0.005213 +375%
7.2.31 10.000 0.005657 +407%
7.2.30 10.000 0.005218 +375%
7.2.29 10.000 0.005506 +396%
7.2.28 10.000 0.005493 +395%
7.2.27 10.000 0.006605 +475%
7.2.26 10.000 0.006040 +434%
7.2.25 10.000 0.006819 +490%
7.2.24 10.000 0.004530 +326%
7.2.22 10.000 0.005179 +372%
7.2.21 10.000 0.004544 +327%
7.1.33 10.000 0.007133 +513%
7.1.32 10.000 0.005355 +385%
7.1.31 10.000 0.004806 +345%
7.1.0 10.000 0.022669 +1629%
7.0.33 10.000 0.006660 +479%
7.0.7 10.000 0.021844 +1570%
5.6.40 10.000 0.008167 +587%
5.6.22 10.000 0.033387 +2400%
5.5.36 10.000 0.033617 +2416%
5.4.45 10.000 0.035425 +2546%
5.3.29 10.000 0.041090 +2954%