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.0.30 10.000 0.034476 +127%
8.0.30 100.000 0.296715 +136%
8.0.9 100.000 0.241891 +110%
8.0.8 100.000 0.247518 +113%
7.3.13 100.000 0.247898 +113%
7.3.12 100.000 0.244179 +112%
7.3.11 100.000 0.314720 +144%
7.2.34 100.000 0.241481 +110%
7.2.33 100.000 0.237950 +109%
7.2.31 100.000 0.239950 +110%
7.2.30 100.000 0.224100 +102%
7.2.29 100.000 0.218936 100%
7.2.28 100.000 0.223810 +102%
7.2.27 100.000 0.238561 +109%
7.2.26 100.000 0.227508 +104%
7.2.25 100.000 0.225204 +103%
7.2.24 100.000 0.334930 +153%
7.2.22 100.000 0.394906 +180%
7.2.21 100.000 0.357417 +163%
7.1.33 100.000 0.256812 +117%
7.1.32 100.000 0.399481 +182%
7.1.31 100.000 0.379296 +173%
7.1.0 100.000 1.404468 +641%
7.0.33 100.000 0.266072 +122%
7.0.7 100.000 1.356960 +620%
5.6.40 100.000 0.361585 +165%
5.6.22 100.000 1.292089 +590%
5.5.36 100.000 1.349014 +616%
5.4.45 100.000 1.309404 +598%
5.3.29 100.000 2.072828 +947%
8.0.29 10.000 0.030841 +113%
8.0.29 100.000 0.271976 +124%
8.0.28 100.000 0.262226 +120%
8.0.27 100.000 0.277347 +127%
8.0.26 100.000 0.291462 +133%
8.0.25 100.000 0.233322 +107%
8.0.24 100.000 0.221402 +101%
8.0.23 100.000 0.266815 +122%
8.0.20 100.000 0.261954 +120%
8.0.19 100.000 0.220908 +101%
8.0.17 100.000 0.258603 +118%
8.0.16 100.000 0.255530 +117%
8.0.14 100.000 0.286229 +131%
8.0.11 10.000 0.034606 +127%
8.0.11 100.000 0.262349 +120%
8.0.10 10.000 0.031554 +116%
8.0.10 100.000 0.241064 +110%
7.3.15 100.000 0.247526 +113%
8.0.28 10.000 0.030028 +110%
8.0.27 10.000 0.033959 +125%
8.0.26 10.000 0.033357 +123%
8.0.25 10.000 0.029062 +107%
8.0.24 10.000 0.027183 100%
8.0.23 10.000 0.032632 +120%
8.0.20 10.000 0.029590 +109%
8.0.19 10.000 0.030785 +113%
8.0.17 10.000 0.035676 +131%
8.0.16 10.000 0.035239 +130%
8.0.14 10.000 0.034339 +126%
7.3.14 100.000 0.251322 +115%
8.0.9 10.000 0.030777 +113%
8.0.7 100.000 0.242215 +111%
8.0.8 10.000 0.035315 +130%
8.0.3 100.000 0.312705 +143%
8.0.2 100.000 0.371351 +170%
8.0.0 100.000 0.254294 +116%
7.4.33 100.000 0.279634 +128%
8.0.7 10.000 0.034193 +126%
7.4.32 100.000 0.277772 +127%
7.4.30 100.000 0.265300 +121%
7.4.29 100.000 0.269034 +123%
7.4.27 100.000 0.291263 +133%
8.0.3 10.000 0.043832 +161%
7.4.28 100.000 0.261455 +119%
7.4.24 100.000 0.254119 +116%
7.4.7 100.000 0.259917 +119%
7.4.6 100.000 0.244271 +112%
7.4.5 100.000 0.245185 +112%
7.4.4 100.000 0.238200 +109%
8.0.2 10.000 0.050471 +186%
8.0.0 10.000 0.033729 +124%
7.4.3 100.000 0.235556 +108%
7.4.33 10.000 0.031975 +118%
7.4.32 10.000 0.032532 +120%
7.4.30 10.000 0.030407 +112%
7.4.29 10.000 0.035271 +130%
7.3.17 100.000 0.243858 +111%
7.3.16 100.000 0.246574 +113%
7.4.28 10.000 0.034033 +125%
7.4.23 100.000 0.261493 +119%
7.4.21 100.000 0.245449 +112%
7.4.20 100.000 0.250892 +115%
7.4.24 10.000 0.034545 +127%
7.4.16 100.000 0.306627 +140%
7.4.15 10.000 0.045273 +167%
7.4.15 100.000 0.375464 +171%
7.4.13 100.000 0.258806 +118%
7.4.27 10.000 0.037602 +138%
7.4.23 10.000 0.031594 +116%
7.4.22 10.000 0.031748 +117%
7.4.22 100.000 0.254843 +116%
7.4.21 10.000 0.032649 +120%
7.4.20 10.000 0.034784 +128%
7.4.16 10.000 0.040797 +150%
7.4.13 10.000 0.031459 +116%
7.4.12 10.000 0.030917 +114%
7.4.12 100.000 0.284923 +130%
7.4.11 100.000 0.283733 +130%
7.4.11 10.000 0.035225 +130%
7.4.10 10.000 0.033564 +123%
7.4.10 100.000 0.266292 +122%
7.4.7 10.000 0.033279 +122%
7.4.6 10.000 0.032870 +121%
7.4.5 10.000 0.033274 +122%
7.4.4 10.000 0.032022 +118%
7.4.2 10.000 0.034982 +129%
7.4.2 100.000 0.247431 +113%
7.4.3 10.000 0.032123 +118%
7.4.1 10.000 0.034812 +128%
7.4.1 100.000 0.234967 +107%
7.4.0 100.000 0.351805 +161%
7.3.33 100.000 0.272329 +124%
7.3.31 100.000 0.243290 +111%
7.3.18 100.000 0.245143 +112%
7.3.33 10.000 0.032384 +119%
7.3.30 100.000 0.243982 +111%
7.4.0 10.000 0.036932 +136%
7.3.31 10.000 0.033980 +125%
7.3.29 10.000 0.036662 +135%
7.3.29 100.000 0.251231 +115%
7.3.28 10.000 0.039433 +145%
7.3.28 100.000 0.266903 +122%
7.3.27 10.000 0.041847 +154%
7.3.27 100.000 0.320628 +146%
7.3.30 10.000 0.033846 +125%
7.3.24 10.000 0.034525 +127%
7.3.24 100.000 0.272420 +124%
7.3.23 10.000 0.035503 +131%
7.3.23 100.000 0.268136 +122%
7.3.22 10.000 0.032751 +120%
7.3.22 100.000 0.268616 +123%
7.3.19 10.000 0.034006 +125%
7.3.19 100.000 0.264419 +121%
7.3.18 10.000 0.032970 +121%
7.3.17 10.000 0.034560 +127%
7.3.9 10.000 0.039252 +144%
7.3.9 100.000 0.417689 +191%
7.3.8 10.000 0.037627 +138%
7.3.8 100.000 0.365007 +167%
7.3.16 10.000 0.036094 +133%
7.3.15 10.000 0.072275 +266%
7.3.14 10.000 0.035888 +132%
7.3.13 10.000 0.037608 +138%
7.3.12 10.000 0.032142 +118%
7.3.11 10.000 0.033371 +123%
7.2.34 10.000 0.030907 +114%
7.2.33 10.000 0.030589 +113%
7.2.31 10.000 0.032368 +119%
7.2.30 10.000 0.031323 +115%
7.2.29 10.000 0.032779 +121%
7.2.28 10.000 0.032406 +119%
7.2.27 10.000 0.035241 +130%
7.2.26 10.000 0.034255 +126%
7.2.25 10.000 0.029184 +107%
7.2.24 10.000 0.036878 +136%
7.2.22 10.000 0.036636 +135%
7.2.21 10.000 0.037094 +136%
7.1.33 10.000 0.032963 +121%
7.1.32 10.000 0.041169 +151%
7.1.31 10.000 0.038994 +143%
7.1.0 10.000 0.147100 +541%
7.0.33 10.000 0.033323 +123%
7.0.7 10.000 0.138814 +511%
5.6.40 10.000 0.042425 +156%
5.6.22 10.000 0.133726 +492%
5.5.36 10.000 0.139657 +514%
5.4.45 10.000 0.135519 +499%
5.3.29 10.000 0.212230 +781%