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 +135%
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 +107%
7.3.24 100.000 0.039585 +103%
7.3.23 100.000 0.035925 100%
7.3.22 100.000 0.042131 +104%
7.3.19 100.000 0.042632 +101%
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 +109%
7.3.13 100.000 0.043896 +103%
7.3.12 100.000 0.037933 +102%
7.3.11 100.000 0.039526 +101%
7.3.9 100.000 0.045113 100%
7.3.8 100.000 0.043773 100%
7.2.29 100.000 0.037714 +101%
8.3.13 10.000 0.004479 +122%
7.2.34 100.000 0.054413 +139%
7.2.33 100.000 0.040039 +111%
7.2.31 100.000 0.039411 +103%
7.2.30 100.000 0.037880 +108%
8.3.10 10.000 0.003267 100%
7.2.28 100.000 0.035650 100%
7.2.27 100.000 0.041451 +108%
7.2.26 100.000 0.040184 +103%
7.2.25 100.000 0.043390 +126%
7.2.24 100.000 0.038651 +101%
7.2.22 100.000 0.046335 +106%
7.2.21 100.000 0.044643 100%
7.1.33 100.000 0.053908 +126%
7.1.32 100.000 0.044085 100%
7.1.31 100.000 0.043907 100%
7.1.0 100.000 0.218500 +139%
7.0.33 100.000 0.051595 100%
7.0.7 100.000 0.209547 +134%
5.6.40 100.000 0.056151 +175%
5.6.22 100.000 0.317996 +243%
5.5.36 100.000 0.323381 +255%
5.4.45 100.000 0.335953 +246%
5.3.29 100.000 0.395434 +311%
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 +106%
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 +104%
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 +103%
8.0.24 10.000 0.001677 100%
8.0.23 10.000 0.001523 +105%
8.0.9 10.000 0.001857 +116%
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 +102%
7.4.16 10.000 0.002403 +102%
7.4.15 10.000 0.002965 100%
7.4.13 10.000 0.001749 100%
7.4.12 10.000 0.002147 +102%
7.4.11 10.000 0.002015 100%
7.4.10 10.000 0.002018 +101%
7.4.7 10.000 0.002419 +105%
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 +114%
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 +110%
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 +302%
7.3.31 10.000 0.005355 +237%
7.3.30 10.000 0.004713 +203%
7.3.29 10.000 0.005249 +213%
7.3.28 10.000 0.005729 +237%
7.3.27 10.000 0.007566 +250%
7.3.24 10.000 0.005490 +230%
7.3.23 10.000 0.005822 +249%
7.3.22 10.000 0.005651 +260%
7.3.19 10.000 0.006276 +287%
7.3.18 10.000 0.006137 +267%
7.3.17 10.000 0.006312 +238%
7.3.16 10.000 0.005019 +281%
7.3.15 10.000 0.005983 +324%
7.3.14 10.000 0.007925 +294%
7.3.13 10.000 0.007657 +300%
7.3.12 10.000 0.006227 +277%
7.3.11 10.000 0.005027 +226%
7.3.9 10.000 0.005116 +233%
7.3.8 10.000 0.004758 +223%
7.2.34 10.000 0.007205 +288%
7.2.33 10.000 0.005213 +245%
7.2.31 10.000 0.005657 +237%
7.2.30 10.000 0.005218 +248%
7.2.29 10.000 0.005506 +231%
7.2.28 10.000 0.005493 +276%
7.2.27 10.000 0.006605 +226%
7.2.26 10.000 0.006040 +230%
7.2.25 10.000 0.006819 +282%
7.2.24 10.000 0.004530 +219%
7.2.22 10.000 0.005179 +231%
7.2.21 10.000 0.004544 +229%
7.1.33 10.000 0.007583 +295%
7.1.32 10.000 0.005355 +227%
7.1.31 10.000 0.004806 +223%
7.1.0 10.000 0.022669 +206%
7.0.33 10.000 0.007171 +274%
7.0.7 10.000 0.021844 +197%
5.6.40 10.000 0.008086 +164%
5.6.22 10.000 0.033387 +241%
5.5.36 10.000 0.033617 +244%
5.4.45 10.000 0.035425 +242%
5.3.29 10.000 0.041090 +298%

PrintSingleQuoteCodeConcatTest

Print message with single quotes and code concatenated with 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.058538 +175%
8.3.10 100.000 0.050552 +186%
8.3.9 100.000 0.051646 +185%
7.3.33 100.000 0.040136 100%
7.3.31 100.000 0.039205 100%
7.3.30 100.000 0.039572 +105%
7.3.29 100.000 0.042042 +111%
7.3.28 100.000 0.042665 +108%
7.3.27 100.000 0.047720 100%
7.3.24 100.000 0.038547 100%
7.3.23 100.000 0.039824 +111%
7.3.22 100.000 0.040423 100%
7.3.19 100.000 0.042249 100%
7.3.18 100.000 0.039793 100%
7.3.17 100.000 0.040482 +103%
7.3.16 100.000 0.037703 +103%
7.3.15 100.000 0.041084 +101%
7.3.14 100.000 0.041349 100%
7.3.13 100.000 0.042772 100%
7.3.12 100.000 0.037226 100%
7.3.11 100.000 0.039197 100%
7.3.9 100.000 0.048300 +107%
7.3.8 100.000 0.046543 +106%
7.2.29 100.000 0.037513 100%
8.3.13 10.000 0.003658 100%
7.2.34 100.000 0.039207 100%
7.2.33 100.000 0.035983 100%
7.2.31 100.000 0.038425 100%
7.2.30 100.000 0.034941 100%
8.3.10 10.000 0.003933 +120%
7.2.28 100.000 0.035933 +101%
7.2.27 100.000 0.038271 100%
7.2.26 100.000 0.038891 100%
7.2.25 100.000 0.034487 100%
7.2.24 100.000 0.038309 100%
7.2.22 100.000 0.043738 100%
7.2.21 100.000 0.044974 +101%
7.1.33 100.000 0.042646 100%
7.1.32 100.000 0.077371 +176%
7.1.31 100.000 0.074087 +169%
7.1.0 100.000 0.157122 100%
7.0.33 100.000 0.094386 +183%
7.0.7 100.000 0.156301 100%
5.6.40 100.000 0.032091 100%
5.6.22 100.000 0.130867 100%
5.5.36 100.000 0.127050 100%
5.4.45 100.000 0.136775 100%
5.3.29 100.000 0.127001 100%
8.3.9 10.000 0.003602 +101%
8.0.30 100.000 0.042231 +201%
8.0.29 100.000 0.030189 +230%
8.0.28 100.000 0.030904 +202%
8.0.27 100.000 0.036080 +213%
8.0.26 100.000 0.033253 +181%
8.0.25 100.000 0.034366 +197%
8.0.24 100.000 0.032244 +201%
8.0.23 100.000 0.035223 +234%
8.0.20 10.000 0.001745 +105%
8.0.20 100.000 0.030133 +204%
8.0.19 10.000 0.002765 +163%
8.0.19 100.000 0.036308 +186%
8.0.17 10.000 0.002047 100%
8.0.17 100.000 0.036745 +203%
8.0.16 10.000 0.002194 +113%
8.0.16 100.000 0.036000 +201%
8.0.14 10.000 0.002207 +106%
8.0.14 100.000 0.036387 +195%
8.0.11 100.000 0.035781 +193%
8.0.10 100.000 0.038187 +215%
8.0.9 100.000 0.045430 +285%
8.0.8 100.000 0.038445 +217%
8.0.7 100.000 0.038678 +192%
8.0.3 100.000 0.043741 +190%
8.0.2 100.000 0.047428 +193%
8.0.0 100.000 0.034279 +193%
7.4.33 100.000 0.041944 +222%
7.4.32 100.000 0.038517 +235%
7.4.30 100.000 0.034902 +240%
7.4.28 100.000 0.040122 +230%
7.4.27 100.000 0.039669 +216%
7.4.24 100.000 0.041796 +233%
7.4.23 100.000 0.038914 +211%
7.4.22 100.000 0.038008 +244%
8.0.11 10.000 0.002204 +107%
8.0.10 10.000 0.002235 +112%
8.0.0 10.000 0.002211 +102%
7.4.29 100.000 0.041367 +213%
7.4.21 10.000 0.002172 100%
7.4.21 100.000 0.039516 +203%
7.4.20 10.000 0.002416 +114%
7.4.20 100.000 0.041387 +230%
7.4.16 100.000 0.047685 +226%
7.4.15 100.000 0.052909 +222%
7.4.33 10.000 0.002151 +103%
7.4.32 10.000 0.001889 +113%
7.4.30 10.000 0.001622 +105%
7.4.29 10.000 0.002322 +116%
7.4.24 10.000 0.001991 +105%
7.4.23 10.000 0.002108 +107%
7.4.22 10.000 0.002100 +138%
7.4.13 100.000 0.038444 +230%
7.4.12 100.000 0.041697 +249%
7.4.11 100.000 0.038624 +194%
7.4.10 100.000 0.039663 +232%
8.0.2 10.000 0.003587 +117%
7.4.0 100.000 0.043937 +264%
8.0.30 10.000 0.002726 +109%
8.0.29 10.000 0.001458 +105%
8.0.28 10.000 0.001583 +106%
8.0.27 10.000 0.002175 +121%
8.0.26 10.000 0.002138 +104%
8.0.25 10.000 0.001895 100%
8.0.24 10.000 0.002116 +126%
8.0.23 10.000 0.001452 100%
8.0.9 10.000 0.001604 100%
8.0.8 10.000 0.002122 +109%
8.0.7 10.000 0.002414 +126%
8.0.3 10.000 0.002778 +106%
7.4.28 10.000 0.001958 +115%
7.4.27 10.000 0.002229 100%
7.4.16 10.000 0.002355 100%
7.4.15 10.000 0.002953 100%
7.4.13 10.000 0.001914 +109%
7.4.12 10.000 0.002103 100%
7.4.11 10.000 0.002313 +115%
7.4.10 10.000 0.002007 100%
7.4.7 10.000 0.002295 100%
7.4.7 100.000 0.041173 +226%
7.4.6 10.000 0.001960 +109%
7.4.6 100.000 0.038456 +222%
7.4.5 10.000 0.001976 +104%
7.4.5 100.000 0.038511 +204%
7.4.4 10.000 0.001805 100%
7.4.4 100.000 0.039086 +224%
7.4.3 10.000 0.002054 +113%
7.4.3 100.000 0.039432 +214%
7.4.1 100.000 0.041044 +197%
7.4.2 10.000 0.002179 100%
7.4.2 100.000 0.041677 +205%
7.4.1 10.000 0.002270 +114%
7.4.0 10.000 0.001903 +114%
7.3.33 10.000 0.002308 100%
7.3.31 10.000 0.002260 100%
7.3.30 10.000 0.002324 100%
7.3.29 10.000 0.002470 100%
7.3.28 10.000 0.002415 100%
7.3.27 10.000 0.003021 100%
7.3.24 10.000 0.002388 100%
7.3.23 10.000 0.002342 100%
7.3.22 10.000 0.002170 100%
7.3.19 10.000 0.002189 100%
7.3.18 10.000 0.002302 100%
7.3.17 10.000 0.002651 100%
7.3.16 10.000 0.001789 100%
7.3.15 10.000 0.001845 100%
7.3.14 10.000 0.002693 100%
7.3.13 10.000 0.002549 100%
7.3.12 10.000 0.002251 100%
7.3.11 10.000 0.002227 100%
7.3.9 10.000 0.002192 100%
7.3.8 10.000 0.002131 100%
7.2.34 10.000 0.002503 100%
7.2.33 10.000 0.002127 100%
7.2.31 10.000 0.002383 100%
7.2.30 10.000 0.002104 100%
7.2.29 10.000 0.002386 100%
7.2.28 10.000 0.001993 100%
7.2.27 10.000 0.002917 100%
7.2.26 10.000 0.002623 100%
7.2.25 10.000 0.002420 100%
7.2.24 10.000 0.002066 100%
7.2.22 10.000 0.002245 100%
7.2.21 10.000 0.001986 100%
7.1.33 10.000 0.002572 100%
7.1.32 10.000 0.002363 100%
7.1.31 10.000 0.002159 100%
7.1.0 10.000 0.010987 100%
7.0.33 10.000 0.002613 100%
7.0.7 10.000 0.011085 100%
5.6.40 10.000 0.004934 100%
5.6.22 10.000 0.013846 100%
5.5.36 10.000 0.013750 100%
5.4.45 10.000 0.014619 100%
5.3.29 10.000 0.013776 100%