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.162520 +107%
8.3.9 100.000 0.192958 +126%
7.4.1 100.000 0.234967 +154%
7.4.0 100.000 0.351805 +231%
7.3.33 100.000 0.274279 +180%
7.3.31 100.000 0.243290 +159%
7.3.30 100.000 0.243982 +160%
7.3.29 100.000 0.251231 +165%
7.3.28 100.000 0.266903 +175%
7.3.27 100.000 0.320628 +210%
7.3.24 100.000 0.272420 +179%
7.3.23 100.000 0.268136 +176%
7.3.22 100.000 0.268616 +176%
7.3.19 100.000 0.264419 +173%
7.3.18 100.000 0.245143 +161%
7.3.17 100.000 0.243858 +160%
7.3.16 100.000 0.246574 +162%
7.3.15 100.000 0.247526 +162%
7.3.14 100.000 0.251322 +165%
7.3.13 100.000 0.247898 +163%
7.3.12 100.000 0.244179 +160%
7.3.11 100.000 0.314720 +206%
7.3.9 100.000 0.417689 +274%
7.3.8 100.000 0.365007 +239%
7.2.34 100.000 0.254106 +167%
7.2.33 100.000 0.237950 +156%
7.2.31 100.000 0.239950 +157%
7.2.30 100.000 0.224100 +147%
7.2.29 100.000 0.218936 +144%
7.2.28 100.000 0.223810 +147%
7.2.27 100.000 0.238561 +156%
7.2.26 100.000 0.227508 +149%
7.2.25 100.000 0.225204 +148%
7.2.24 100.000 0.334930 +220%
7.2.22 100.000 0.394906 +259%
7.2.21 100.000 0.357417 +234%
7.1.33 100.000 0.265381 +174%
7.1.32 100.000 0.399481 +262%
7.1.31 100.000 0.379296 +249%
7.1.0 100.000 1.404468 +921%
7.0.33 100.000 0.277279 +182%
7.0.7 100.000 1.356960 +890%
5.6.40 100.000 0.392529 +257%
5.6.22 100.000 1.292089 +847%
5.5.36 100.000 1.349014 +884%
5.4.45 100.000 1.309404 +858%
5.3.29 100.000 2.072828 +1359%
8.4.4 10.000 0.021507 +114%
8.3.16 100.000 0.152552 100%
8.3.13 100.000 0.214526 +141%
8.3.10 10.000 0.026278 +139%
8.3.10 100.000 0.198262 +130%
8.0.29 100.000 0.271976 +178%
8.0.28 100.000 0.262226 +172%
8.0.27 100.000 0.277347 +182%
8.0.26 100.000 0.291462 +191%
8.0.25 100.000 0.233322 +153%
8.0.24 100.000 0.221402 +145%
8.0.23 100.000 0.266815 +175%
8.0.20 100.000 0.261954 +172%
8.3.16 10.000 0.018880 100%
8.3.13 10.000 0.024288 +129%
8.0.19 100.000 0.220908 +145%
8.0.17 100.000 0.258603 +170%
8.0.16 100.000 0.255530 +168%
8.0.14 100.000 0.286229 +188%
8.0.11 100.000 0.262349 +172%
8.0.9 100.000 0.241891 +159%
8.0.8 100.000 0.247518 +162%
7.4.10 100.000 0.266292 +175%
8.3.9 10.000 0.028123 +149%
8.0.30 100.000 0.284348 +186%
7.4.11 100.000 0.283733 +186%
8.0.30 10.000 0.033378 +177%
8.0.29 10.000 0.030841 +163%
8.0.28 10.000 0.030028 +159%
8.0.27 10.000 0.033959 +180%
8.0.26 10.000 0.033357 +177%
8.0.25 10.000 0.029062 +154%
8.0.24 10.000 0.027183 +144%
8.0.23 10.000 0.032632 +173%
8.0.20 10.000 0.029590 +157%
8.0.19 10.000 0.030785 +163%
8.0.17 10.000 0.035676 +189%
8.0.16 10.000 0.035239 +187%
8.0.14 10.000 0.034339 +182%
8.0.11 10.000 0.034606 +183%
8.0.7 100.000 0.242215 +159%
8.0.10 10.000 0.031554 +167%
8.0.10 100.000 0.241064 +158%
8.0.3 100.000 0.312705 +205%
8.0.2 100.000 0.371351 +243%
8.0.0 100.000 0.254294 +167%
7.4.29 100.000 0.269034 +176%
8.0.0 10.000 0.033729 +179%
7.4.33 100.000 0.279220 +183%
7.4.32 100.000 0.277772 +182%
8.0.2 10.000 0.050471 +267%
7.4.33 10.000 0.032575 +173%
7.4.30 10.000 0.030407 +161%
7.4.30 100.000 0.265300 +174%
7.4.29 10.000 0.035271 +187%
7.4.28 10.000 0.034033 +180%
7.4.28 100.000 0.261455 +171%
7.4.27 100.000 0.291263 +191%
7.4.24 10.000 0.034545 +183%
7.4.24 100.000 0.254119 +167%
7.4.23 100.000 0.261493 +171%
7.4.22 10.000 0.031748 +168%
7.4.22 100.000 0.254843 +167%
7.4.21 100.000 0.245449 +161%
8.0.9 10.000 0.030777 +163%
7.4.27 10.000 0.037602 +199%
7.4.21 10.000 0.032649 +173%
7.4.20 10.000 0.034784 +184%
7.4.20 100.000 0.250892 +164%
7.4.16 100.000 0.306627 +201%
8.0.8 10.000 0.035315 +187%
8.0.7 10.000 0.034193 +181%
8.0.3 10.000 0.043832 +232%
7.4.32 10.000 0.032532 +172%
7.4.23 10.000 0.031594 +167%
7.4.16 10.000 0.040797 +216%
7.4.15 10.000 0.045273 +240%
7.4.15 100.000 0.375464 +246%
7.4.13 100.000 0.258806 +170%
7.4.13 10.000 0.031459 +167%
7.4.12 100.000 0.284923 +187%
7.4.6 100.000 0.244271 +160%
7.4.12 10.000 0.030917 +164%
7.4.11 10.000 0.035225 +187%
7.4.10 10.000 0.033564 +178%
7.4.7 10.000 0.033279 +176%
7.4.7 100.000 0.259917 +170%
7.4.6 10.000 0.032870 +174%
7.4.5 10.000 0.033274 +176%
7.4.5 100.000 0.245185 +161%
7.4.4 10.000 0.032022 +170%
7.4.4 100.000 0.238200 +156%
7.4.3 100.000 0.235556 +154%
7.4.3 10.000 0.032123 +170%
7.4.2 10.000 0.034982 +185%
7.4.2 100.000 0.247431 +162%
7.4.1 10.000 0.034812 +184%
7.4.0 10.000 0.036932 +196%
7.3.33 10.000 0.032607 +173%
7.3.31 10.000 0.033980 +180%
7.3.30 10.000 0.033846 +179%
7.3.29 10.000 0.036662 +194%
7.3.28 10.000 0.039433 +209%
7.3.27 10.000 0.041847 +222%
7.3.24 10.000 0.034525 +183%
7.3.23 10.000 0.035503 +188%
7.3.22 10.000 0.032751 +173%
7.3.19 10.000 0.034006 +180%
7.3.18 10.000 0.032970 +175%
7.3.17 10.000 0.034560 +183%
7.3.16 10.000 0.036094 +191%
7.3.15 10.000 0.072275 +383%
7.3.14 10.000 0.035888 +190%
7.3.13 10.000 0.037608 +199%
7.3.12 10.000 0.032142 +170%
7.3.11 10.000 0.033371 +177%
7.3.9 10.000 0.039252 +208%
7.3.8 10.000 0.037627 +199%
7.2.34 10.000 0.031918 +169%
7.2.33 10.000 0.030589 +162%
7.2.31 10.000 0.032368 +171%
7.2.30 10.000 0.031323 +166%
7.2.29 10.000 0.032779 +174%
7.2.28 10.000 0.032406 +172%
7.2.27 10.000 0.035241 +187%
7.2.26 10.000 0.034255 +181%
7.2.25 10.000 0.029184 +155%
7.2.24 10.000 0.036878 +195%
7.2.22 10.000 0.036636 +194%
7.2.21 10.000 0.037094 +196%
7.1.33 10.000 0.033735 +179%
7.1.32 10.000 0.041169 +218%
7.1.31 10.000 0.038994 +207%
7.1.0 10.000 0.147100 +779%
7.0.33 10.000 0.034101 +181%
7.0.7 10.000 0.138814 +735%
5.6.40 10.000 0.045211 +239%
5.6.22 10.000 0.133726 +708%
5.5.36 10.000 0.139657 +740%
5.4.45 10.000 0.135519 +718%
5.3.29 10.000 0.212230 +1124%