StrtrTest

Replace a text with strtr


<?php 

$text 
$this->getTextLarge();

$this->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
$value strtr($text, array('Lorem ipsum' => 'Ipsum lorem'));
}

return 
$this->end();
PHP Loops Seconds Percent
8.3.13 100.000 0.132970 +134%
8.3.10 100.000 0.120123 +121%
8.3.9 100.000 0.115894 +117%
7.3.33 100.000 0.108635 +110%
7.3.31 100.000 0.109241 +110%
7.3.30 100.000 0.114564 +116%
7.3.29 100.000 0.110701 +112%
7.3.28 100.000 0.117339 +118%
7.3.27 100.000 0.135662 +137%
7.3.24 100.000 0.112141 +113%
7.3.23 100.000 0.113259 +114%
7.3.22 100.000 0.112214 +113%
7.3.19 100.000 0.113792 +115%
7.3.18 100.000 0.107742 +109%
7.3.17 100.000 0.108337 +109%
7.3.16 100.000 0.104804 +106%
7.3.15 100.000 0.105269 +106%
7.3.14 100.000 0.113362 +114%
7.3.13 100.000 0.110769 +112%
7.3.12 100.000 0.108399 +109%
7.3.11 100.000 0.157572 +159%
7.3.9 100.000 0.207351 +209%
7.3.8 100.000 0.204360 +206%
7.2.29 100.000 0.108712 +110%
8.3.13 10.000 0.017027 +149%
7.2.34 100.000 0.112038 +113%
7.2.33 100.000 0.112808 +114%
7.2.31 100.000 0.112347 +113%
7.2.30 100.000 0.107134 +108%
8.3.10 10.000 0.015966 +140%
7.2.28 100.000 0.110160 +111%
7.2.27 100.000 0.111455 +112%
7.2.26 100.000 0.109008 +110%
7.2.25 100.000 0.107439 +108%
7.2.24 100.000 0.159193 +161%
7.2.22 100.000 0.212980 +215%
7.2.21 100.000 0.208082 +210%
7.1.33 100.000 0.113675 +115%
7.1.32 100.000 0.221546 +224%
7.1.31 100.000 0.206723 +209%
7.1.0 100.000 0.442320 +446%
7.0.33 100.000 0.118480 +120%
7.0.7 100.000 0.468787 +473%
5.6.40 100.000 1.061540 +1071%
5.6.22 100.000 5.723067 +5774%
5.5.36 100.000 5.738591 +5790%
5.4.45 100.000 5.781564 +5833%
5.3.29 100.000 15.298476 +15434%
8.3.9 10.000 0.014625 +128%
8.0.30 100.000 0.110814 +112%
8.0.29 100.000 0.099120 100%
8.0.28 100.000 0.104144 +105%
8.0.27 100.000 0.109204 +110%
8.0.26 100.000 0.113137 +114%
8.0.25 100.000 0.108591 +110%
8.0.24 100.000 0.105256 +106%
8.0.23 100.000 0.109072 +110%
8.0.20 10.000 0.012911 +113%
8.0.20 100.000 0.103766 +105%
8.0.19 10.000 0.019704 +173%
8.0.19 100.000 0.109214 +110%
8.0.17 10.000 0.017657 +155%
8.0.17 100.000 0.110586 +112%
8.0.16 10.000 0.017986 +158%
8.0.16 100.000 0.113188 +114%
8.0.14 10.000 0.016808 +148%
8.0.14 100.000 0.115878 +117%
8.0.11 100.000 0.109300 +110%
8.0.10 100.000 0.108368 +109%
8.0.9 100.000 0.111497 +112%
8.0.8 100.000 0.112929 +114%
8.0.7 100.000 0.111317 +112%
8.0.3 100.000 0.130701 +132%
8.0.2 100.000 0.151283 +153%
8.0.0 100.000 0.108535 +109%
7.4.33 100.000 0.109149 +110%
7.4.32 100.000 0.103928 +105%
7.4.30 100.000 0.104249 +105%
7.4.28 100.000 0.111380 +112%
7.4.27 100.000 0.112904 +114%
7.4.24 100.000 0.108269 +109%
7.4.23 100.000 0.120305 +121%
7.4.22 100.000 0.110318 +111%
8.0.11 10.000 0.018010 +158%
8.0.10 10.000 0.017773 +156%
8.0.0 10.000 0.016630 +146%
7.4.29 100.000 0.107916 +109%
7.4.21 10.000 0.018974 +167%
7.4.21 100.000 0.109865 +111%
7.4.20 10.000 0.017542 +154%
7.4.20 100.000 0.107293 +108%
7.4.16 100.000 0.133628 +135%
7.4.15 100.000 0.162097 +164%
7.4.33 10.000 0.014086 +124%
7.4.32 10.000 0.013515 +119%
7.4.30 10.000 0.012393 +109%
7.4.29 10.000 0.016061 +141%
7.4.24 10.000 0.015836 +139%
7.4.23 10.000 0.017334 +152%
7.4.22 10.000 0.015560 +137%
7.4.13 100.000 0.110919 +112%
7.4.12 100.000 0.118221 +119%
7.4.11 100.000 0.111502 +112%
7.4.10 100.000 0.115551 +117%
8.0.2 10.000 0.022764 +200%
7.4.0 100.000 0.184560 +186%
8.0.30 10.000 0.014869 +130%
8.0.29 10.000 0.011394 100%
8.0.28 10.000 0.013277 +117%
8.0.27 10.000 0.013995 +123%
8.0.26 10.000 0.014998 +132%
8.0.25 10.000 0.014638 +128%
8.0.24 10.000 0.014616 +128%
8.0.23 10.000 0.013849 +122%
8.0.9 10.000 0.015860 +139%
8.0.8 10.000 0.016397 +144%
8.0.7 10.000 0.018058 +158%
8.0.3 10.000 0.020186 +177%
7.4.28 10.000 0.017436 +153%
7.4.27 10.000 0.017368 +152%
7.4.16 10.000 0.019729 +173%
7.4.15 10.000 0.021348 +187%
7.4.13 10.000 0.015924 +140%
7.4.12 10.000 0.014279 +125%
7.4.11 10.000 0.016777 +147%
7.4.10 10.000 0.015017 +132%
7.4.7 10.000 0.016417 +144%
7.4.7 100.000 0.112940 +114%
7.4.6 10.000 0.016830 +148%
7.4.6 100.000 0.105885 +107%
7.4.5 10.000 0.016874 +148%
7.4.5 100.000 0.104786 +106%
7.4.4 10.000 0.016894 +148%
7.4.4 100.000 0.107495 +108%
7.4.3 10.000 0.018128 +159%
7.4.3 100.000 0.106011 +107%
7.4.1 100.000 0.108384 +109%
7.4.2 10.000 0.018568 +163%
7.4.2 100.000 0.113844 +115%
7.4.1 10.000 0.018023 +158%
7.4.0 10.000 0.019616 +172%
7.3.33 10.000 0.014634 +128%
7.3.31 10.000 0.016834 +148%
7.3.30 10.000 0.015305 +134%
7.3.29 10.000 0.017150 +151%
7.3.28 10.000 0.018661 +164%
7.3.27 10.000 0.021704 +190%
7.3.24 10.000 0.015324 +134%
7.3.23 10.000 0.014894 +131%
7.3.22 10.000 0.015910 +140%
7.3.19 10.000 0.017230 +151%
7.3.18 10.000 0.016948 +149%
7.3.17 10.000 0.016491 +145%
7.3.16 10.000 0.015814 +139%
7.3.15 10.000 0.017084 +150%
7.3.14 10.000 0.019871 +174%
7.3.13 10.000 0.018663 +164%
7.3.12 10.000 0.016147 +142%
7.3.11 10.000 0.016998 +149%
7.3.9 10.000 0.022561 +198%
7.3.8 10.000 0.021064 +185%
7.2.34 10.000 0.015241 +134%
7.2.33 10.000 0.016835 +148%
7.2.31 10.000 0.016709 +147%
7.2.30 10.000 0.016249 +143%
7.2.29 10.000 0.016893 +148%
7.2.28 10.000 0.016287 +143%
7.2.27 10.000 0.018175 +160%
7.2.26 10.000 0.019022 +167%
7.2.25 10.000 0.017249 +151%
7.2.24 10.000 0.017440 +153%
7.2.22 10.000 0.022544 +198%
7.2.21 10.000 0.020762 +182%
7.1.33 10.000 0.015635 +137%
7.1.32 10.000 0.023143 +203%
7.1.31 10.000 0.020865 +183%
7.1.0 10.000 0.045043 +395%
7.0.33 10.000 0.016036 +141%
7.0.7 10.000 0.047840 +420%
5.6.40 10.000 0.113767 +998%
5.6.22 10.000 0.575471 +5051%
5.5.36 10.000 0.578090 +5074%
5.4.45 10.000 0.581899 +5107%
5.3.29 10.000 1.533183 +13456%