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.4.4 100.000 0.196939 +105%
8.3.9 100.000 0.192958 +103%
7.4.1 100.000 0.234967 +125%
7.4.0 100.000 0.351805 +187%
7.3.33 100.000 0.280482 +149%
7.3.31 100.000 0.243290 +130%
7.3.30 100.000 0.243982 +130%
7.3.29 100.000 0.251231 +134%
7.3.28 100.000 0.266903 +142%
7.3.27 100.000 0.320628 +171%
7.3.24 100.000 0.272420 +145%
7.3.23 100.000 0.268136 +143%
7.3.22 100.000 0.268616 +143%
7.3.19 100.000 0.264419 +141%
7.3.18 100.000 0.245143 +131%
7.3.17 100.000 0.243858 +130%
7.3.16 100.000 0.246574 +131%
7.3.15 100.000 0.247526 +132%
7.3.14 100.000 0.251322 +134%
7.3.13 100.000 0.247898 +132%
7.3.12 100.000 0.244179 +130%
7.3.11 100.000 0.314720 +168%
7.3.9 100.000 0.417689 +223%
7.3.8 100.000 0.365007 +194%
7.2.34 100.000 0.261959 +140%
7.2.33 100.000 0.237950 +127%
7.2.31 100.000 0.239950 +128%
7.2.30 100.000 0.224100 +119%
7.2.29 100.000 0.218936 +117%
7.2.28 100.000 0.223810 +119%
7.2.27 100.000 0.238561 +127%
7.2.26 100.000 0.227508 +121%
7.2.25 100.000 0.225204 +120%
7.2.24 100.000 0.334930 +178%
7.2.22 100.000 0.394906 +210%
7.2.21 100.000 0.357417 +190%
7.1.33 100.000 0.272283 +145%
7.1.32 100.000 0.399481 +213%
7.1.31 100.000 0.379296 +202%
7.1.0 100.000 1.404468 +748%
7.0.33 100.000 0.282906 +151%
7.0.7 100.000 1.356960 +723%
5.6.40 100.000 0.403389 +215%
5.6.22 100.000 1.292089 +688%
5.5.36 100.000 1.349014 +719%
5.4.45 100.000 1.309404 +698%
5.3.29 100.000 2.072828 +1105%
8.4.4 10.000 0.025577 +111%
8.3.16 100.000 0.187668 100%
8.3.13 100.000 0.214526 +114%
8.3.10 10.000 0.026278 +114%
8.3.10 100.000 0.198262 +106%
8.0.29 100.000 0.271976 +145%
8.0.28 100.000 0.262226 +140%
8.0.27 100.000 0.277347 +148%
8.0.26 100.000 0.291462 +155%
8.0.25 100.000 0.233322 +124%
8.0.24 100.000 0.221402 +118%
8.0.23 100.000 0.266815 +142%
8.0.20 100.000 0.261954 +140%
8.3.16 10.000 0.022954 100%
8.3.13 10.000 0.024288 +106%
8.0.19 100.000 0.220908 +118%
8.0.17 100.000 0.258603 +138%
8.0.16 100.000 0.255530 +136%
8.0.14 100.000 0.286229 +153%
8.0.11 100.000 0.262349 +140%
8.0.9 100.000 0.241891 +129%
8.0.8 100.000 0.247518 +132%
7.4.10 100.000 0.266292 +142%
8.3.9 10.000 0.028123 +123%
8.0.30 100.000 0.290683 +155%
7.4.11 100.000 0.283733 +151%
8.0.30 10.000 0.034078 +148%
8.0.29 10.000 0.030841 +134%
8.0.28 10.000 0.030028 +131%
8.0.27 10.000 0.033959 +148%
8.0.26 10.000 0.033357 +145%
8.0.25 10.000 0.029062 +127%
8.0.24 10.000 0.027183 +118%
8.0.23 10.000 0.032632 +142%
8.0.20 10.000 0.029590 +129%
8.0.19 10.000 0.030785 +134%
8.0.17 10.000 0.035676 +155%
8.0.16 10.000 0.035239 +154%
8.0.14 10.000 0.034339 +150%
8.0.11 10.000 0.034606 +151%
8.0.7 100.000 0.242215 +129%
8.0.10 10.000 0.031554 +137%
8.0.10 100.000 0.241064 +128%
8.0.3 100.000 0.312705 +167%
8.0.2 100.000 0.371351 +198%
8.0.0 100.000 0.254294 +136%
7.4.29 100.000 0.269034 +143%
8.0.0 10.000 0.033729 +147%
7.4.33 100.000 0.285661 +152%
7.4.32 100.000 0.277772 +148%
8.0.2 10.000 0.050471 +220%
7.4.33 10.000 0.033349 +145%
7.4.30 10.000 0.030407 +132%
7.4.30 100.000 0.265300 +141%
7.4.29 10.000 0.035271 +154%
7.4.28 10.000 0.034033 +148%
7.4.28 100.000 0.261455 +139%
7.4.27 100.000 0.291263 +155%
7.4.24 10.000 0.034545 +150%
7.4.24 100.000 0.254119 +135%
7.4.23 100.000 0.261493 +139%
7.4.22 10.000 0.031748 +138%
7.4.22 100.000 0.254843 +136%
7.4.21 100.000 0.245449 +131%
8.0.9 10.000 0.030777 +134%
7.4.27 10.000 0.037602 +164%
7.4.21 10.000 0.032649 +142%
7.4.20 10.000 0.034784 +152%
7.4.20 100.000 0.250892 +134%
7.4.16 100.000 0.306627 +163%
8.0.8 10.000 0.035315 +154%
8.0.7 10.000 0.034193 +149%
8.0.3 10.000 0.043832 +191%
7.4.32 10.000 0.032532 +142%
7.4.23 10.000 0.031594 +138%
7.4.16 10.000 0.040797 +178%
7.4.15 10.000 0.045273 +197%
7.4.15 100.000 0.375464 +200%
7.4.13 100.000 0.258806 +138%
7.4.13 10.000 0.031459 +137%
7.4.12 100.000 0.284923 +152%
7.4.6 100.000 0.244271 +130%
7.4.12 10.000 0.030917 +135%
7.4.11 10.000 0.035225 +153%
7.4.10 10.000 0.033564 +146%
7.4.7 10.000 0.033279 +145%
7.4.7 100.000 0.259917 +138%
7.4.6 10.000 0.032870 +143%
7.4.5 10.000 0.033274 +145%
7.4.5 100.000 0.245185 +131%
7.4.4 10.000 0.032022 +140%
7.4.4 100.000 0.238200 +127%
7.4.3 100.000 0.235556 +126%
7.4.3 10.000 0.032123 +140%
7.4.2 10.000 0.034982 +152%
7.4.2 100.000 0.247431 +132%
7.4.1 10.000 0.034812 +152%
7.4.0 10.000 0.036932 +161%
7.3.33 10.000 0.033150 +144%
7.3.31 10.000 0.033980 +148%
7.3.30 10.000 0.033846 +147%
7.3.29 10.000 0.036662 +160%
7.3.28 10.000 0.039433 +172%
7.3.27 10.000 0.041847 +182%
7.3.24 10.000 0.034525 +150%
7.3.23 10.000 0.035503 +155%
7.3.22 10.000 0.032751 +143%
7.3.19 10.000 0.034006 +148%
7.3.18 10.000 0.032970 +144%
7.3.17 10.000 0.034560 +151%
7.3.16 10.000 0.036094 +157%
7.3.15 10.000 0.072275 +315%
7.3.14 10.000 0.035888 +156%
7.3.13 10.000 0.037608 +164%
7.3.12 10.000 0.032142 +140%
7.3.11 10.000 0.033371 +145%
7.3.9 10.000 0.039252 +171%
7.3.8 10.000 0.037627 +164%
7.2.34 10.000 0.032657 +142%
7.2.33 10.000 0.030589 +133%
7.2.31 10.000 0.032368 +141%
7.2.30 10.000 0.031323 +136%
7.2.29 10.000 0.032779 +143%
7.2.28 10.000 0.032406 +141%
7.2.27 10.000 0.035241 +154%
7.2.26 10.000 0.034255 +149%
7.2.25 10.000 0.029184 +127%
7.2.24 10.000 0.036878 +161%
7.2.22 10.000 0.036636 +160%
7.2.21 10.000 0.037094 +162%
7.1.33 10.000 0.034376 +150%
7.1.32 10.000 0.041169 +179%
7.1.31 10.000 0.038994 +170%
7.1.0 10.000 0.147100 +641%
7.0.33 10.000 0.034615 +151%
7.0.7 10.000 0.138814 +605%
5.6.40 10.000 0.046114 +201%
5.6.22 10.000 0.133726 +583%
5.5.36 10.000 0.139657 +608%
5.4.45 10.000 0.135519 +590%
5.3.29 10.000 0.212230 +925%