JsonEncodeObjectTest

Encode an object as string using json_encode


<?php 

$this
->start($loop);

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

return 
$this->end();
PHP Loops Seconds Percent
8.0.30 10.000 0.001675 +142%
8.0.30 100.000 0.015862 +144%
8.0.9 100.000 0.012183 +110%
8.0.8 100.000 0.017091 +155%
7.3.13 100.000 0.018590 +169%
7.3.12 100.000 0.015681 +142%
7.3.11 100.000 0.013572 +123%
7.2.34 100.000 0.015749 +143%
7.2.33 100.000 0.016877 +153%
7.2.31 100.000 0.016785 +152%
7.2.30 100.000 0.017903 +162%
7.2.29 100.000 0.018108 +164%
7.2.28 100.000 0.017686 +160%
7.2.27 100.000 0.019021 +172%
7.2.26 100.000 0.018475 +167%
7.2.25 100.000 0.016931 +154%
7.2.24 100.000 0.015034 +136%
7.2.22 100.000 0.015646 +142%
7.2.21 100.000 0.014438 +131%
7.1.33 100.000 0.021200 +192%
7.1.32 100.000 0.020192 +183%
7.1.31 100.000 0.019447 +176%
7.1.0 100.000 0.103930 +942%
7.0.33 100.000 0.020509 +186%
7.0.7 100.000 0.090793 +823%
5.6.40 100.000 0.039783 +361%
5.6.22 100.000 0.157993 +1432%
5.5.36 100.000 0.169972 +1541%
5.4.45 100.000 0.174579 +1583%
5.3.29 100.000 0.187330 +1698%
8.0.29 10.000 0.001271 +108%
8.0.29 100.000 0.011198 +102%
8.0.28 100.000 0.012729 +115%
8.0.27 100.000 0.015340 +139%
8.0.26 100.000 0.014167 +128%
8.0.25 100.000 0.014053 +127%
8.0.24 100.000 0.012722 +115%
8.0.23 100.000 0.011969 +109%
8.0.20 100.000 0.011030 100%
8.0.19 100.000 0.016565 +150%
8.0.17 100.000 0.016685 +151%
8.0.16 100.000 0.015910 +144%
8.0.14 100.000 0.016181 +147%
8.0.11 10.000 0.001775 +151%
8.0.11 100.000 0.015898 +144%
8.0.10 10.000 0.001685 +143%
8.0.10 100.000 0.015874 +144%
7.3.15 100.000 0.016279 +148%
8.0.28 10.000 0.001338 +114%
8.0.27 10.000 0.001732 +147%
8.0.26 10.000 0.001387 +118%
8.0.25 10.000 0.001583 +134%
8.0.24 10.000 0.001315 +112%
8.0.23 10.000 0.001544 +131%
8.0.20 10.000 0.001177 100%
8.0.19 10.000 0.001816 +154%
8.0.17 10.000 0.001688 +143%
8.0.16 10.000 0.001823 +155%
8.0.14 10.000 0.001759 +149%
7.3.14 100.000 0.018073 +164%
8.0.9 10.000 0.001552 +132%
8.0.7 100.000 0.017860 +162%
8.0.8 10.000 0.001698 +144%
8.0.3 100.000 0.018822 +171%
8.0.2 100.000 0.019800 +180%
8.0.0 100.000 0.014131 +128%
7.4.33 100.000 0.014633 +133%
8.0.7 10.000 0.001699 +144%
7.4.32 100.000 0.013462 +122%
7.4.30 100.000 0.012114 +110%
7.4.29 100.000 0.017953 +163%
7.4.27 100.000 0.016182 +147%
8.0.3 10.000 0.002000 +170%
7.4.28 100.000 0.016327 +148%
7.4.24 100.000 0.015441 +140%
7.4.7 100.000 0.016172 +147%
7.4.6 100.000 0.016827 +153%
7.4.5 100.000 0.015748 +143%
7.4.4 100.000 0.015831 +144%
8.0.2 10.000 0.002411 +205%
8.0.0 10.000 0.001525 +130%
7.4.3 100.000 0.016603 +151%
7.4.33 10.000 0.001566 +133%
7.4.32 10.000 0.001558 +132%
7.4.30 10.000 0.001321 +112%
7.4.29 10.000 0.001873 +159%
7.3.17 100.000 0.015561 +141%
7.3.16 100.000 0.014670 +133%
7.4.28 10.000 0.001615 +137%
7.4.23 100.000 0.015567 +141%
7.4.21 100.000 0.018580 +168%
7.4.20 100.000 0.018243 +165%
7.4.24 10.000 0.001414 +120%
7.4.16 100.000 0.020364 +185%
7.4.15 10.000 0.002657 +226%
7.4.15 100.000 0.023323 +211%
7.4.13 100.000 0.015624 +142%
7.4.27 10.000 0.001727 +147%
7.4.23 10.000 0.001643 +140%
7.4.22 10.000 0.001504 +128%
7.4.22 100.000 0.013776 +125%
7.4.21 10.000 0.001303 +111%
7.4.20 10.000 0.002132 +181%
7.4.16 10.000 0.002215 +188%
7.4.13 10.000 0.001674 +142%
7.4.12 10.000 0.001417 +120%
7.4.12 100.000 0.014267 +129%
7.4.11 100.000 0.014931 +135%
7.4.11 10.000 0.001654 +140%
7.4.10 10.000 0.001885 +160%
7.4.10 100.000 0.015983 +145%
7.4.7 10.000 0.001769 +150%
7.4.6 10.000 0.001765 +150%
7.4.5 10.000 0.001604 +136%
7.4.4 10.000 0.001574 +134%
7.4.2 10.000 0.002163 +184%
7.4.2 100.000 0.019907 +180%
7.4.3 10.000 0.001597 +136%
7.4.1 10.000 0.001907 +162%
7.4.1 100.000 0.019098 +173%
7.4.0 100.000 0.014162 +128%
7.3.33 100.000 0.014411 +131%
7.3.31 100.000 0.016080 +146%
7.3.18 100.000 0.015667 +142%
7.3.33 10.000 0.001515 +129%
7.3.30 100.000 0.015468 +140%
7.4.0 10.000 0.001494 +127%
7.3.31 10.000 0.001739 +148%
7.3.29 10.000 0.001690 +144%
7.3.29 100.000 0.015530 +141%
7.3.28 10.000 0.002307 +196%
7.3.28 100.000 0.017038 +154%
7.3.27 10.000 0.002335 +198%
7.3.27 100.000 0.020149 +183%
7.3.30 10.000 0.001638 +139%
7.3.24 10.000 0.001717 +146%
7.3.24 100.000 0.014983 +136%
7.3.23 10.000 0.001918 +163%
7.3.23 100.000 0.017520 +159%
7.3.22 10.000 0.001675 +142%
7.3.22 100.000 0.017104 +155%
7.3.19 10.000 0.001774 +151%
7.3.19 100.000 0.016439 +149%
7.3.18 10.000 0.001887 +160%
7.3.17 10.000 0.001501 +127%
7.3.9 10.000 0.001542 +131%
7.3.9 100.000 0.015492 +140%
7.3.8 10.000 0.001395 +118%
7.3.8 100.000 0.014816 +134%
7.3.16 10.000 0.001699 +144%
7.3.15 10.000 0.001886 +160%
7.3.14 10.000 0.002202 +187%
7.3.13 10.000 0.001820 +155%
7.3.12 10.000 0.001610 +137%
7.3.11 10.000 0.001442 +122%
7.2.34 10.000 0.001733 +147%
7.2.33 10.000 0.001822 +155%
7.2.31 10.000 0.001908 +162%
7.2.30 10.000 0.001802 +153%
7.2.29 10.000 0.001507 +128%
7.2.28 10.000 0.001694 +144%
7.2.27 10.000 0.002138 +182%
7.2.26 10.000 0.002490 +212%
7.2.25 10.000 0.001618 +137%
7.2.24 10.000 0.001538 +131%
7.2.22 10.000 0.001608 +137%
7.2.21 10.000 0.001385 +118%
7.1.33 10.000 0.002478 +210%
7.1.32 10.000 0.002135 +181%
7.1.31 10.000 0.001968 +167%
7.1.0 10.000 0.010740 +912%
7.0.33 10.000 0.002346 +199%
7.0.7 10.000 0.009455 +803%
5.6.40 10.000 0.005503 +467%
5.6.22 10.000 0.016826 +1429%
5.5.36 10.000 0.017625 +1497%
5.4.45 10.000 0.018395 +1562%
5.3.29 10.000 0.019748 +1677%