DateStrtotimeTest

Generate a date from date string with strtotime and date


<?php 

$this
->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
$value date('Y-m-d'strtotime('2016-07-01 23:59:59'));
}

return 
$this->end();
PHP Loops Seconds Percent
8.3.13 100.000 0.276990 +144%
8.3.10 100.000 0.198262 +103%
8.3.9 100.000 0.192958 100%
7.3.33 100.000 0.273428 +142%
7.3.31 100.000 0.243290 +126%
7.3.30 100.000 0.243982 +126%
7.3.29 100.000 0.251231 +130%
7.3.28 100.000 0.266903 +138%
7.3.27 100.000 0.320628 +166%
7.3.24 100.000 0.272420 +141%
7.3.23 100.000 0.268136 +139%
7.3.22 100.000 0.268616 +139%
7.3.19 100.000 0.264419 +137%
7.3.18 100.000 0.245143 +127%
7.3.17 100.000 0.243858 +126%
7.3.16 100.000 0.246574 +128%
7.3.15 100.000 0.247526 +128%
7.3.14 100.000 0.251322 +130%
7.3.13 100.000 0.247898 +128%
7.3.12 100.000 0.244179 +127%
7.3.11 100.000 0.314720 +163%
7.3.9 100.000 0.417689 +216%
7.3.8 100.000 0.365007 +189%
7.2.29 100.000 0.218936 +113%
8.3.13 10.000 0.029725 +113%
7.2.34 100.000 0.249851 +129%
7.2.33 100.000 0.237950 +123%
7.2.31 100.000 0.239950 +124%
7.2.30 100.000 0.224100 +116%
8.3.10 10.000 0.026278 100%
7.2.28 100.000 0.223810 +116%
7.2.27 100.000 0.238561 +124%
7.2.26 100.000 0.227508 +118%
7.2.25 100.000 0.225204 +117%
7.2.24 100.000 0.334930 +174%
7.2.22 100.000 0.394906 +205%
7.2.21 100.000 0.357417 +185%
7.1.33 100.000 0.262625 +136%
7.1.32 100.000 0.399481 +207%
7.1.31 100.000 0.379296 +197%
7.1.0 100.000 1.404468 +728%
7.0.33 100.000 0.275172 +143%
7.0.7 100.000 1.356960 +703%
5.6.40 100.000 0.380728 +197%
5.6.22 100.000 1.292089 +670%
5.5.36 100.000 1.349014 +699%
5.4.45 100.000 1.309404 +679%
5.3.29 100.000 2.072828 +1074%
8.3.9 10.000 0.028123 +107%
8.0.30 100.000 0.288669 +150%
8.0.29 100.000 0.271976 +141%
8.0.28 100.000 0.262226 +136%
8.0.27 100.000 0.277347 +144%
8.0.26 100.000 0.291462 +151%
8.0.25 100.000 0.233322 +121%
8.0.24 100.000 0.221402 +115%
8.0.23 100.000 0.266815 +138%
8.0.20 10.000 0.029590 +113%
8.0.20 100.000 0.261954 +136%
8.0.19 10.000 0.030785 +117%
8.0.19 100.000 0.220908 +114%
8.0.17 10.000 0.035676 +136%
8.0.17 100.000 0.258603 +134%
8.0.16 10.000 0.035239 +134%
8.0.16 100.000 0.255530 +132%
8.0.14 10.000 0.034339 +131%
8.0.14 100.000 0.286229 +148%
8.0.11 100.000 0.262349 +136%
8.0.10 100.000 0.241064 +125%
8.0.9 100.000 0.241891 +125%
8.0.8 100.000 0.247518 +128%
8.0.7 100.000 0.242215 +126%
8.0.3 100.000 0.312705 +162%
8.0.2 100.000 0.371351 +192%
8.0.0 100.000 0.254294 +132%
7.4.33 100.000 0.280977 +146%
7.4.32 100.000 0.277772 +144%
7.4.30 100.000 0.265300 +137%
7.4.28 100.000 0.261455 +135%
7.4.27 100.000 0.291263 +151%
7.4.24 100.000 0.254119 +132%
7.4.23 100.000 0.261493 +136%
7.4.22 100.000 0.254843 +132%
8.0.11 10.000 0.034606 +132%
8.0.10 10.000 0.031554 +120%
8.0.0 10.000 0.033729 +128%
7.4.29 100.000 0.269034 +139%
7.4.21 10.000 0.032649 +124%
7.4.21 100.000 0.245449 +127%
7.4.20 10.000 0.034784 +132%
7.4.20 100.000 0.250892 +130%
7.4.16 100.000 0.306627 +159%
7.4.15 100.000 0.375464 +195%
7.4.33 10.000 0.032600 +124%
7.4.32 10.000 0.032532 +124%
7.4.30 10.000 0.030407 +116%
7.4.29 10.000 0.035271 +134%
7.4.24 10.000 0.034545 +131%
7.4.23 10.000 0.031594 +120%
7.4.22 10.000 0.031748 +121%
7.4.13 100.000 0.258806 +134%
7.4.12 100.000 0.284923 +148%
7.4.11 100.000 0.283733 +147%
7.4.10 100.000 0.266292 +138%
8.0.2 10.000 0.050471 +192%
7.4.0 100.000 0.351805 +182%
8.0.30 10.000 0.034012 +129%
8.0.29 10.000 0.030841 +117%
8.0.28 10.000 0.030028 +114%
8.0.27 10.000 0.033959 +129%
8.0.26 10.000 0.033357 +127%
8.0.25 10.000 0.029062 +111%
8.0.24 10.000 0.027183 +103%
8.0.23 10.000 0.032632 +124%
8.0.9 10.000 0.030777 +117%
8.0.8 10.000 0.035315 +134%
8.0.7 10.000 0.034193 +130%
8.0.3 10.000 0.043832 +167%
7.4.28 10.000 0.034033 +130%
7.4.27 10.000 0.037602 +143%
7.4.16 10.000 0.040797 +155%
7.4.15 10.000 0.045273 +172%
7.4.13 10.000 0.031459 +120%
7.4.12 10.000 0.030917 +118%
7.4.11 10.000 0.035225 +134%
7.4.10 10.000 0.033564 +128%
7.4.7 10.000 0.033279 +127%
7.4.7 100.000 0.259917 +135%
7.4.6 10.000 0.032870 +125%
7.4.6 100.000 0.244271 +127%
7.4.5 10.000 0.033274 +127%
7.4.5 100.000 0.245185 +127%
7.4.4 10.000 0.032022 +122%
7.4.4 100.000 0.238200 +123%
7.4.3 10.000 0.032123 +122%
7.4.3 100.000 0.235556 +122%
7.4.1 100.000 0.234967 +122%
7.4.2 10.000 0.034982 +133%
7.4.2 100.000 0.247431 +128%
7.4.1 10.000 0.034812 +132%
7.4.0 10.000 0.036932 +141%
7.3.33 10.000 0.032712 +124%
7.3.31 10.000 0.033980 +129%
7.3.30 10.000 0.033846 +129%
7.3.29 10.000 0.036662 +140%
7.3.28 10.000 0.039433 +150%
7.3.27 10.000 0.041847 +159%
7.3.24 10.000 0.034525 +131%
7.3.23 10.000 0.035503 +135%
7.3.22 10.000 0.032751 +125%
7.3.19 10.000 0.034006 +129%
7.3.18 10.000 0.032970 +125%
7.3.17 10.000 0.034560 +132%
7.3.16 10.000 0.036094 +137%
7.3.15 10.000 0.072275 +275%
7.3.14 10.000 0.035888 +137%
7.3.13 10.000 0.037608 +143%
7.3.12 10.000 0.032142 +122%
7.3.11 10.000 0.033371 +127%
7.3.9 10.000 0.039252 +149%
7.3.8 10.000 0.037627 +143%
7.2.34 10.000 0.031658 +120%
7.2.33 10.000 0.030589 +116%
7.2.31 10.000 0.032368 +123%
7.2.30 10.000 0.031323 +119%
7.2.29 10.000 0.032779 +125%
7.2.28 10.000 0.032406 +123%
7.2.27 10.000 0.035241 +134%
7.2.26 10.000 0.034255 +130%
7.2.25 10.000 0.029184 +111%
7.2.24 10.000 0.036878 +140%
7.2.22 10.000 0.036636 +139%
7.2.21 10.000 0.037094 +141%
7.1.33 10.000 0.033438 +127%
7.1.32 10.000 0.041169 +157%
7.1.31 10.000 0.038994 +148%
7.1.0 10.000 0.147100 +560%
7.0.33 10.000 0.033933 +129%
7.0.7 10.000 0.138814 +528%
5.6.40 10.000 0.044231 +168%
5.6.22 10.000 0.133726 +509%
5.5.36 10.000 0.139657 +531%
5.4.45 10.000 0.135519 +516%
5.3.29 10.000 0.212230 +808%