JsonDecodeObjectTest

Decode a string as object using json_decode


<?php 

$encoded 
json_encode($this);

$this->start($loop);

for (
$i 0$i $this->loop; ++$i) {
    
$value json_decode($encoded);
}

return 
$this->end();
PHP Loops Seconds Percent
8.0.30 10.000 0.002934 +147%
8.0.30 100.000 0.025396 +130%
8.0.9 100.000 0.025604 +131%
8.0.8 100.000 0.024561 +126%
7.3.13 100.000 0.031470 +162%
7.3.12 100.000 0.026482 +136%
7.3.11 100.000 0.024436 +125%
7.2.34 100.000 0.027927 +143%
7.2.33 100.000 0.028988 +149%
7.2.31 100.000 0.029719 +153%
7.2.30 100.000 0.031996 +164%
7.2.29 100.000 0.030001 +154%
7.2.28 100.000 0.029209 +150%
7.2.27 100.000 0.029924 +154%
7.2.26 100.000 0.032605 +167%
7.2.25 100.000 0.028436 +146%
7.2.24 100.000 0.025794 +132%
7.2.22 100.000 0.031892 +164%
7.2.21 100.000 0.032191 +165%
7.1.33 100.000 0.034485 +177%
7.1.32 100.000 0.041709 +214%
7.1.31 100.000 0.041068 +211%
7.1.0 100.000 0.139210 +714%
7.0.33 100.000 0.033550 +172%
7.0.7 100.000 0.123108 +632%
5.6.40 100.000 0.052734 +271%
5.6.22 100.000 0.280279 +1438%
5.5.36 100.000 0.300419 +1542%
5.4.45 100.000 0.308278 +1582%
5.3.29 100.000 0.372710 +1913%
8.0.29 10.000 0.002364 +119%
8.0.29 100.000 0.021115 +108%
8.0.28 100.000 0.021467 +110%
8.0.27 100.000 0.024727 +127%
8.0.26 100.000 0.023377 +120%
8.0.25 100.000 0.023262 +119%
8.0.24 100.000 0.019869 +102%
8.0.23 100.000 0.019485 100%
8.0.20 100.000 0.020211 +104%
8.0.19 100.000 0.026472 +136%
8.0.17 100.000 0.027524 +141%
8.0.16 100.000 0.027025 +139%
8.0.14 100.000 0.028856 +148%
8.0.11 10.000 0.003286 +165%
8.0.11 100.000 0.025234 +130%
8.0.10 10.000 0.003385 +170%
8.0.10 100.000 0.027759 +142%
7.3.15 100.000 0.027806 +143%
8.0.28 10.000 0.002307 +116%
8.0.27 10.000 0.003013 +151%
8.0.26 10.000 0.003074 +154%
8.0.25 10.000 0.002641 +132%
8.0.24 10.000 0.002059 +103%
8.0.23 10.000 0.001994 100%
8.0.20 10.000 0.002371 +119%
8.0.19 10.000 0.003192 +160%
8.0.17 10.000 0.003177 +159%
8.0.16 10.000 0.002974 +149%
8.0.14 10.000 0.003721 +187%
7.3.14 100.000 0.030350 +156%
8.0.9 10.000 0.003066 +154%
8.0.7 100.000 0.028702 +147%
8.0.8 10.000 0.002997 +150%
8.0.3 100.000 0.032900 +169%
8.0.2 100.000 0.038819 +199%
8.0.0 100.000 0.025585 +131%
7.4.33 100.000 0.024237 +124%
8.0.7 10.000 0.003153 +158%
7.4.32 100.000 0.023562 +121%
7.4.30 100.000 0.022483 +115%
7.4.29 100.000 0.029045 +149%
7.4.27 100.000 0.027123 +139%
8.0.3 10.000 0.004078 +205%
7.4.28 100.000 0.028036 +144%
7.4.24 100.000 0.026377 +135%
7.4.7 100.000 0.026509 +136%
7.4.6 100.000 0.028681 +147%
7.4.5 100.000 0.027650 +142%
7.4.4 100.000 0.027395 +141%
8.0.2 10.000 0.005576 +280%
8.0.0 10.000 0.003121 +157%
7.4.3 100.000 0.028468 +146%
7.4.33 10.000 0.002921 +147%
7.4.32 10.000 0.003085 +155%
7.4.30 10.000 0.002764 +139%
7.4.29 10.000 0.003772 +189%
7.3.17 100.000 0.026572 +136%
7.3.16 100.000 0.025826 +133%
7.4.28 10.000 0.003892 +195%
7.4.23 100.000 0.026986 +138%
7.4.21 100.000 0.029147 +150%
7.4.20 100.000 0.029816 +153%
7.4.24 10.000 0.003302 +166%
7.4.16 100.000 0.034985 +180%
7.4.15 10.000 0.005111 +256%
7.4.15 100.000 0.039636 +203%
7.4.13 100.000 0.025646 +132%
7.4.27 10.000 0.003708 +186%
7.4.23 10.000 0.003570 +179%
7.4.22 10.000 0.003267 +164%
7.4.22 100.000 0.028586 +147%
7.4.21 10.000 0.003575 +179%
7.4.20 10.000 0.003585 +180%
7.4.16 10.000 0.004502 +226%
7.4.13 10.000 0.003147 +158%
7.4.12 10.000 0.003133 +157%
7.4.12 100.000 0.025291 +130%
7.4.11 100.000 0.027723 +142%
7.4.11 10.000 0.003959 +199%
7.4.10 10.000 0.003749 +188%
7.4.10 100.000 0.024160 +124%
7.4.7 10.000 0.003910 +196%
7.4.6 10.000 0.003422 +172%
7.4.5 10.000 0.003368 +169%
7.4.4 10.000 0.003344 +168%
7.4.2 10.000 0.004395 +220%
7.4.2 100.000 0.028861 +148%
7.4.3 10.000 0.003254 +163%
7.4.1 10.000 0.003647 +183%
7.4.1 100.000 0.029676 +152%
7.4.0 100.000 0.027230 +140%
7.3.33 100.000 0.025335 +130%
7.3.31 100.000 0.026904 +138%
7.3.18 100.000 0.028691 +147%
7.3.33 10.000 0.002938 +147%
7.3.30 100.000 0.026743 +137%
7.4.0 10.000 0.003183 +160%
7.3.31 10.000 0.003394 +170%
7.3.29 10.000 0.003339 +168%
7.3.29 100.000 0.026789 +137%
7.3.28 10.000 0.003952 +198%
7.3.28 100.000 0.028507 +146%
7.3.27 10.000 0.004565 +229%
7.3.27 100.000 0.035277 +181%
7.3.30 10.000 0.003461 +174%
7.3.24 10.000 0.003341 +168%
7.3.24 100.000 0.026171 +134%
7.3.23 10.000 0.003862 +194%
7.3.23 100.000 0.028102 +144%
7.3.22 10.000 0.003511 +176%
7.3.22 100.000 0.027698 +142%
7.3.19 10.000 0.003812 +191%
7.3.19 100.000 0.028814 +148%
7.3.18 10.000 0.003515 +176%
7.3.17 10.000 0.003517 +176%
7.3.9 10.000 0.003090 +155%
7.3.9 100.000 0.028177 +145%
7.3.8 10.000 0.002900 +145%
7.3.8 100.000 0.027093 +139%
7.3.16 10.000 0.003256 +163%
7.3.15 10.000 0.003957 +198%
7.3.14 10.000 0.005259 +264%
7.3.13 10.000 0.004111 +206%
7.3.12 10.000 0.003437 +172%
7.3.11 10.000 0.002971 +149%
7.2.34 10.000 0.003391 +170%
7.2.33 10.000 0.004218 +212%
7.2.31 10.000 0.003953 +198%
7.2.30 10.000 0.003738 +187%
7.2.29 10.000 0.004015 +201%
7.2.28 10.000 0.003160 +159%
7.2.27 10.000 0.005150 +258%
7.2.26 10.000 0.004021 +202%
7.2.25 10.000 0.003488 +175%
7.2.24 10.000 0.002850 +143%
7.2.22 10.000 0.003700 +186%
7.2.21 10.000 0.003281 +165%
7.1.33 10.000 0.004601 +231%
7.1.32 10.000 0.004385 +220%
7.1.31 10.000 0.004463 +224%
7.1.0 10.000 0.014586 +732%
7.0.33 10.000 0.004418 +222%
7.0.7 10.000 0.012890 +647%
5.6.40 10.000 0.007387 +371%
5.6.22 10.000 0.028661 +1438%
5.5.36 10.000 0.031976 +1604%
5.4.45 10.000 0.032185 +1614%
5.3.29 10.000 0.039588 +1986%