3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php // Make a bit, honkin test array // You may need to adjust this depth to avoid memory limit errors $testArray = fillArray( 0, 5 ); // Time json encoding $start = microtime( true ); json_encode( $testArray ); $jsonTime = microtime( true ) - $start; echo "JSON encoded in $jsonTime seconds\n"; // Time serialization $start = microtime( true ); serialize( $testArray ); $serializeTime = microtime( true ) - $start; echo "PHP serialized in $serializeTime seconds\n"; // Compare them if ( $jsonTime < $serializeTime ) { echo "json_encode() was roughly " . number_format( ($serializeTime / $jsonTime - 1 ) * 100, 2 ) . "% faster than serialize()"; } else if ( $serializeTime < $jsonTime ) { echo "serialize() was roughly " . number_format( ($jsonTime / $serializeTime - 1 ) * 100, 2 ) . "% faster than json_encode()"; } else { echo 'Unpossible!'; } function fillArray( $depth, $max ) { static $seed; if ( is_null( $seed ) ) { $seed = array( 'a', 2, 'c', 4, 'e', 6, 'g', 8, 'i', 10 ); } if ( $depth < $max ) { $node = array(); foreach ( $seed as $key ) { $node[$key] = fillArray( $depth + 1, $max ); } return $node; } return 'empty'; }
based on qFKvT
Output for 7.1.0
JSON encoded in 0.0066828727722168 seconds PHP serialized in 0.00490403175354 seconds serialize() was roughly 36.27% faster than json_encode()
Output for 7.0.14
JSON encoded in 0.0061438083648682 seconds PHP serialized in 0.0052618980407715 seconds serialize() was roughly 16.76% faster than json_encode()
Output for 7.0.9
JSON encoded in 0.005946159362793 seconds PHP serialized in 0.0052931308746338 seconds serialize() was roughly 12.34% faster than json_encode()
Output for 7.0.8
JSON encoded in 0.045938968658447 seconds PHP serialized in 0.041208982467651 seconds serialize() was roughly 11.48% faster than json_encode()
Output for 7.0.7
JSON encoded in 0.042596101760864 seconds PHP serialized in 0.040441036224365 seconds serialize() was roughly 5.33% faster than json_encode()
Output for 7.0.6
JSON encoded in 0.042117118835449 seconds PHP serialized in 0.040745973587036 seconds serialize() was roughly 3.37% faster than json_encode()
Output for 7.0.5
JSON encoded in 0.042089939117432 seconds PHP serialized in 0.040500164031982 seconds serialize() was roughly 3.93% faster than json_encode()
Output for 7.0.4
JSON encoded in 0.004188060760498 seconds PHP serialized in 0.0032830238342285 seconds serialize() was roughly 27.57% faster than json_encode()
Output for 7.0.3
JSON encoded in 0.0036029815673828 seconds PHP serialized in 0.0028331279754639 seconds serialize() was roughly 27.17% faster than json_encode()
Output for 7.0.2
JSON encoded in 0.0042979717254639 seconds PHP serialized in 0.0033888816833496 seconds serialize() was roughly 26.83% faster than json_encode()
Output for 7.0.1
JSON encoded in 0.0038270950317383 seconds PHP serialized in 0.0028750896453857 seconds serialize() was roughly 33.11% faster than json_encode()
Output for 7.0.0
JSON encoded in 0.0046451091766357 seconds PHP serialized in 0.0034489631652832 seconds serialize() was roughly 34.68% faster than json_encode()
Output for hhvm-3.12.0
JSON encoded in 0.0072989463806152 seconds PHP serialized in 0.0095570087432861 seconds json_encode() was roughly 30.94% faster than serialize()
Output for hhvm-3.10.0
JSON encoded in 0.0068759918212891 seconds PHP serialized in 0.0090551376342773 seconds json_encode() was roughly 31.69% faster than serialize()
Output for 5.6.28
JSON encoded in 0.013957977294922 seconds PHP serialized in 0.033510208129883 seconds json_encode() was roughly 140.08% faster than serialize()
Output for 5.6.24
JSON encoded in 0.010431051254272 seconds PHP serialized in 0.029910087585449 seconds json_encode() was roughly 186.74% faster than serialize()
Output for 5.6.23
JSON encoded in 0.010283946990967 seconds PHP serialized in 0.031166076660156 seconds json_encode() was roughly 203.06% faster than serialize()
Output for 5.6.22
JSON encoded in 0.0099890232086182 seconds PHP serialized in 0.027766942977905 seconds json_encode() was roughly 177.97% faster than serialize()
Output for 5.6.21
JSON encoded in 0.010149955749512 seconds PHP serialized in 0.030457973480225 seconds json_encode() was roughly 200.08% faster than serialize()
Output for 5.6.20
JSON encoded in 0.010293006896973 seconds PHP serialized in 0.029115915298462 seconds json_encode() was roughly 182.87% faster than serialize()
Output for 5.6.19
JSON encoded in 0.010197162628174 seconds PHP serialized in 0.030287981033325 seconds json_encode() was roughly 197.02% faster than serialize()
Output for 5.6.18
JSON encoded in 0.010313987731934 seconds PHP serialized in 0.031471967697144 seconds json_encode() was roughly 205.14% faster than serialize()
Output for 5.6.17
JSON encoded in 0.010310173034668 seconds PHP serialized in 0.030490159988403 seconds json_encode() was roughly 195.73% faster than serialize()
Output for 5.6.16
JSON encoded in 0.011771202087402 seconds PHP serialized in 0.030736923217773 seconds json_encode() was roughly 161.12% faster than serialize()
Output for 5.6.15
JSON encoded in 0.010564088821411 seconds PHP serialized in 0.029263019561768 seconds json_encode() was roughly 177.00% faster than serialize()
Output for 5.6.14
JSON encoded in 0.010493040084839 seconds PHP serialized in 0.028259038925171 seconds json_encode() was roughly 169.31% faster than serialize()
Output for 5.6.13
JSON encoded in 0.01016092300415 seconds PHP serialized in 0.028048992156982 seconds json_encode() was roughly 176.05% faster than serialize()
Output for 5.6.12
JSON encoded in 0.010632991790771 seconds PHP serialized in 0.030408143997192 seconds json_encode() was roughly 185.98% faster than serialize()
Output for 5.6.11
JSON encoded in 0.010542154312134 seconds PHP serialized in 0.030454158782959 seconds json_encode() was roughly 188.88% faster than serialize()
Output for 5.6.10
JSON encoded in 0.010378122329712 seconds PHP serialized in 0.030673980712891 seconds json_encode() was roughly 195.56% faster than serialize()
Output for 5.6.9
JSON encoded in 0.01028299331665 seconds PHP serialized in 0.030802011489868 seconds json_encode() was roughly 199.54% faster than serialize()
Output for 5.6.8
JSON encoded in 0.01167893409729 seconds PHP serialized in 0.031344890594482 seconds json_encode() was roughly 168.39% faster than serialize()
Output for 5.6.7
JSON encoded in 0.012085914611816 seconds PHP serialized in 0.030888080596924 seconds json_encode() was roughly 155.57% faster than serialize()
Output for 5.6.6
JSON encoded in 0.012097835540771 seconds PHP serialized in 0.032397985458374 seconds json_encode() was roughly 167.80% faster than serialize()
Output for 5.6.5
JSON encoded in 0.010779142379761 seconds PHP serialized in 0.031434059143066 seconds json_encode() was roughly 191.62% faster than serialize()
Output for 5.6.4
JSON encoded in 0.010128021240234 seconds PHP serialized in 0.027147054672241 seconds json_encode() was roughly 168.04% faster than serialize()
Output for 5.6.3
JSON encoded in 0.009829044342041 seconds PHP serialized in 0.031567096710205 seconds json_encode() was roughly 221.16% faster than serialize()
Output for 5.6.2
JSON encoded in 0.0099599361419678 seconds PHP serialized in 0.028504133224487 seconds json_encode() was roughly 186.19% faster than serialize()
Output for 5.6.1
JSON encoded in 0.010123014450073 seconds PHP serialized in 0.028597116470337 seconds json_encode() was roughly 182.50% faster than serialize()
Output for 5.6.0
JSON encoded in 0.010104894638062 seconds PHP serialized in 0.029687881469727 seconds json_encode() was roughly 193.80% faster than serialize()
Output for 5.5.38
JSON encoded in 0.010282039642334 seconds PHP serialized in 0.030426025390625 seconds json_encode() was roughly 195.91% faster than serialize()
Output for 5.5.37
JSON encoded in 0.011953830718994 seconds PHP serialized in 0.041990041732788 seconds json_encode() was roughly 251.27% faster than serialize()
Output for 5.5.36
JSON encoded in 0.0088939666748047 seconds PHP serialized in 0.029390811920166 seconds json_encode() was roughly 230.46% faster than serialize()
Output for 5.5.35
JSON encoded in 0.0085501670837402 seconds PHP serialized in 0.024889945983887 seconds json_encode() was roughly 191.10% faster than serialize()
Output for 5.5.34
JSON encoded in 0.010199069976807 seconds PHP serialized in 0.029630899429321 seconds json_encode() was roughly 190.53% faster than serialize()
Output for 5.5.33
JSON encoded in 0.0099990367889404 seconds PHP serialized in 0.029937982559204 seconds json_encode() was roughly 199.41% faster than serialize()
Output for 5.5.32
JSON encoded in 0.010051012039185 seconds PHP serialized in 0.029984951019287 seconds json_encode() was roughly 198.33% faster than serialize()
Output for 5.5.31
JSON encoded in 0.011559963226318 seconds PHP serialized in 0.031386137008667 seconds json_encode() was roughly 171.51% faster than serialize()
Output for 5.5.30
JSON encoded in 0.010472059249878 seconds PHP serialized in 0.029028177261353 seconds json_encode() was roughly 177.20% faster than serialize()
Output for 5.5.29
JSON encoded in 0.0099709033966064 seconds PHP serialized in 0.028203964233398 seconds json_encode() was roughly 182.86% faster than serialize()
Output for 5.5.28
JSON encoded in 0.011582136154175 seconds PHP serialized in 0.031906127929688 seconds json_encode() was roughly 175.48% faster than serialize()
Output for 5.5.27
JSON encoded in 0.012773990631104 seconds PHP serialized in 0.035870790481567 seconds json_encode() was roughly 180.81% faster than serialize()
Output for 5.5.26
JSON encoded in 0.010267972946167 seconds PHP serialized in 0.02979588508606 seconds json_encode() was roughly 190.18% faster than serialize()
Output for 5.5.25
JSON encoded in 0.010526180267334 seconds PHP serialized in 0.030214071273804 seconds json_encode() was roughly 187.04% faster than serialize()
Output for 5.5.24
JSON encoded in 0.010676860809326 seconds PHP serialized in 0.029541015625 seconds json_encode() was roughly 176.68% faster than serialize()
Output for 5.5.23
JSON encoded in 0.010236978530884 seconds PHP serialized in 0.029079914093018 seconds json_encode() was roughly 184.07% faster than serialize()
Output for 5.5.22
JSON encoded in 0.010447978973389 seconds PHP serialized in 0.039236068725586 seconds json_encode() was roughly 275.54% faster than serialize()
Output for 5.5.21
JSON encoded in 0.010828018188477 seconds PHP serialized in 0.032000780105591 seconds json_encode() was roughly 195.54% faster than serialize()
Output for 5.5.20
JSON encoded in 0.010538816452026 seconds PHP serialized in 0.029993057250977 seconds json_encode() was roughly 184.60% faster than serialize()
Output for 5.5.19
JSON encoded in 0.010233879089355 seconds PHP serialized in 0.028990983963013 seconds json_encode() was roughly 183.28% faster than serialize()
Output for 5.5.18
JSON encoded in 0.01098895072937 seconds PHP serialized in 0.029109001159668 seconds json_encode() was roughly 164.89% faster than serialize()
Output for 5.5.16
JSON encoded in 0.010382175445557 seconds PHP serialized in 0.028874158859253 seconds json_encode() was roughly 178.11% faster than serialize()
Output for 5.5.15
JSON encoded in 0.012300968170166 seconds PHP serialized in 0.033607959747314 seconds json_encode() was roughly 173.21% faster than serialize()
Output for 5.5.14
JSON encoded in 0.010471105575562 seconds PHP serialized in 0.029404878616333 seconds json_encode() was roughly 180.82% faster than serialize()
Output for 5.5.13
JSON encoded in 0.010478019714355 seconds PHP serialized in 0.028857946395874 seconds json_encode() was roughly 175.41% faster than serialize()
Output for 5.5.12
JSON encoded in 0.010693788528442 seconds PHP serialized in 0.02980899810791 seconds json_encode() was roughly 178.75% faster than serialize()
Output for 5.5.11
JSON encoded in 0.010004997253418 seconds PHP serialized in 0.028956890106201 seconds json_encode() was roughly 189.42% faster than serialize()
Output for 5.5.10
JSON encoded in 0.010036945343018 seconds PHP serialized in 0.027236938476562 seconds json_encode() was roughly 171.37% faster than serialize()
Output for 5.5.9
JSON encoded in 0.010656118392944 seconds PHP serialized in 0.030613899230957 seconds json_encode() was roughly 187.29% faster than serialize()
Output for 5.5.8
JSON encoded in 0.0099778175354004 seconds PHP serialized in 0.030025959014893 seconds json_encode() was roughly 200.93% faster than serialize()
Output for 5.5.7
JSON encoded in 0.010442018508911 seconds PHP serialized in 0.030041933059692 seconds json_encode() was roughly 187.70% faster than serialize()
Output for 5.5.6
JSON encoded in 0.010075092315674 seconds PHP serialized in 0.030282974243164 seconds json_encode() was roughly 200.57% faster than serialize()
Output for 5.5.5
JSON encoded in 0.010077953338623 seconds PHP serialized in 0.030864953994751 seconds json_encode() was roughly 206.26% faster than serialize()
Output for 5.5.4
JSON encoded in 0.011189937591553 seconds PHP serialized in 0.032256841659546 seconds json_encode() was roughly 188.27% faster than serialize()
Output for 5.5.3
JSON encoded in 0.010292053222656 seconds PHP serialized in 0.030524015426636 seconds json_encode() was roughly 196.58% faster than serialize()
Output for 5.5.2
JSON encoded in 0.010317087173462 seconds PHP serialized in 0.030410051345825 seconds json_encode() was roughly 194.75% faster than serialize()
Output for 5.5.1
JSON encoded in 0.010021924972534 seconds PHP serialized in 0.030088901519775 seconds json_encode() was roughly 200.23% faster than serialize()
Output for 5.5.0
JSON encoded in 0.01129412651062 seconds PHP serialized in 0.031467199325562 seconds json_encode() was roughly 178.62% faster than serialize()
Output for 5.4.45
JSON encoded in 0.011445045471191 seconds PHP serialized in 0.032126903533936 seconds json_encode() was roughly 180.71% faster than serialize()
Output for 5.4.44
JSON encoded in 0.010714054107666 seconds PHP serialized in 0.031105995178223 seconds json_encode() was roughly 190.33% faster than serialize()
Output for 5.4.43
JSON encoded in 0.010190010070801 seconds PHP serialized in 0.030866861343384 seconds json_encode() was roughly 202.91% faster than serialize()
Output for 5.4.42
JSON encoded in 0.011074066162109 seconds PHP serialized in 0.030242919921875 seconds json_encode() was roughly 173.10% faster than serialize()
Output for 5.4.41
JSON encoded in 0.011422157287598 seconds PHP serialized in 0.031953096389771 seconds json_encode() was roughly 179.75% faster than serialize()
Output for 5.4.40
JSON encoded in 0.01170015335083 seconds PHP serialized in 0.032821893692017 seconds json_encode() was roughly 180.53% faster than serialize()
Output for 5.4.39
JSON encoded in 0.010271072387695 seconds PHP serialized in 0.027750968933105 seconds json_encode() was roughly 170.19% faster than serialize()
Output for 5.4.38
JSON encoded in 0.010126829147339 seconds PHP serialized in 0.028984069824219 seconds json_encode() was roughly 186.21% faster than serialize()
Output for 5.4.37
JSON encoded in 0.011636018753052 seconds PHP serialized in 0.038871049880981 seconds json_encode() was roughly 234.06% faster than serialize()
Output for 5.4.36
JSON encoded in 0.0099987983703613 seconds PHP serialized in 0.029057025909424 seconds json_encode() was roughly 190.61% faster than serialize()
Output for 5.4.35
JSON encoded in 0.012881994247437 seconds PHP serialized in 0.034346103668213 seconds json_encode() was roughly 166.62% faster than serialize()
Output for 5.4.34
JSON encoded in 0.010133028030396 seconds PHP serialized in 0.028425931930542 seconds json_encode() was roughly 180.53% faster than serialize()
Output for 5.4.32
JSON encoded in 0.01038384437561 seconds PHP serialized in 0.028988122940063 seconds json_encode() was roughly 179.17% faster than serialize()
Output for 5.4.31
JSON encoded in 0.010142087936401 seconds PHP serialized in 0.029011011123657 seconds json_encode() was roughly 186.05% faster than serialize()
Output for 5.4.30
JSON encoded in 0.010427951812744 seconds PHP serialized in 0.029448986053467 seconds json_encode() was roughly 182.40% faster than serialize()
Output for 5.4.29
JSON encoded in 0.010498046875 seconds PHP serialized in 0.028944969177246 seconds json_encode() was roughly 175.72% faster than serialize()
Output for 5.4.28
JSON encoded in 0.010074853897095 seconds PHP serialized in 0.028465986251831 seconds json_encode() was roughly 182.54% faster than serialize()
Output for 5.4.27
JSON encoded in 0.010231971740723 seconds PHP serialized in 0.028954982757568 seconds json_encode() was roughly 182.99% faster than serialize()
Output for 5.4.26
JSON encoded in 0.0098540782928467 seconds PHP serialized in 0.028419017791748 seconds json_encode() was roughly 188.40% faster than serialize()
Output for 5.4.25
JSON encoded in 0.010077953338623 seconds PHP serialized in 0.028424024581909 seconds json_encode() was roughly 182.04% faster than serialize()
Output for 5.4.24
JSON encoded in 0.010694026947021 seconds PHP serialized in 0.0312659740448 seconds json_encode() was roughly 192.37% faster than serialize()
Output for 5.4.23
JSON encoded in 0.011209964752197 seconds PHP serialized in 0.032476902008057 seconds json_encode() was roughly 189.71% faster than serialize()
Output for 5.4.22
JSON encoded in 0.010257005691528 seconds PHP serialized in 0.030231952667236 seconds json_encode() was roughly 194.74% faster than serialize()
Output for 5.4.21
JSON encoded in 0.009843111038208 seconds PHP serialized in 0.029881000518799 seconds json_encode() was roughly 203.57% faster than serialize()
Output for 5.4.20
JSON encoded in 0.011062860488892 seconds PHP serialized in 0.031891107559204 seconds json_encode() was roughly 188.27% faster than serialize()
Output for 5.4.19
JSON encoded in 0.010200977325439 seconds PHP serialized in 0.030840873718262 seconds json_encode() was roughly 202.33% faster than serialize()
Output for 5.4.18
JSON encoded in 0.0099020004272461 seconds PHP serialized in 0.031420946121216 seconds json_encode() was roughly 217.32% faster than serialize()
Output for 5.4.17
JSON encoded in 0.010388851165771 seconds PHP serialized in 0.029453039169312 seconds json_encode() was roughly 183.51% faster than serialize()
Output for 5.4.16
JSON encoded in 0.010147094726562 seconds PHP serialized in 0.030698776245117 seconds json_encode() was roughly 202.54% faster than serialize()
Output for 5.4.15
JSON encoded in 0.011369943618774 seconds PHP serialized in 0.033463001251221 seconds json_encode() was roughly 194.31% faster than serialize()
Output for 5.4.14
JSON encoded in 0.0099470615386963 seconds PHP serialized in 0.029850006103516 seconds json_encode() was roughly 200.09% faster than serialize()
Output for 5.4.13
JSON encoded in 0.010355949401855 seconds PHP serialized in 0.029881000518799 seconds json_encode() was roughly 188.54% faster than serialize()
Output for 5.4.12
JSON encoded in 0.01275110244751 seconds PHP serialized in 0.057871103286743 seconds json_encode() was roughly 353.85% faster than serialize()
Output for 5.4.11
JSON encoded in 0.010662078857422 seconds PHP serialized in 0.031599044799805 seconds json_encode() was roughly 196.37% faster than serialize()
Output for 5.4.10
JSON encoded in 0.010436058044434 seconds PHP serialized in 0.029644012451172 seconds json_encode() was roughly 184.05% faster than serialize()
Output for 5.4.9
JSON encoded in 0.010095119476318 seconds PHP serialized in 0.031105041503906 seconds json_encode() was roughly 208.12% faster than serialize()
Output for 5.4.8
JSON encoded in 0.01099419593811 seconds PHP serialized in 0.032011985778809 seconds json_encode() was roughly 191.17% faster than serialize()
Output for 5.4.7
JSON encoded in 0.011307001113892 seconds PHP serialized in 0.032668113708496 seconds json_encode() was roughly 188.92% faster than serialize()
Output for 5.4.6
JSON encoded in 0.010032892227173 seconds PHP serialized in 0.029624938964844 seconds json_encode() was roughly 195.28% faster than serialize()
Output for 5.4.5
JSON encoded in 0.012591123580933 seconds PHP serialized in 0.037726163864136 seconds json_encode() was roughly 199.63% faster than serialize()
Output for 5.4.4
JSON encoded in 0.010478973388672 seconds PHP serialized in 0.02975606918335 seconds json_encode() was roughly 183.96% faster than serialize()
Output for 5.4.3
JSON encoded in 0.011296033859253 seconds PHP serialized in 0.030161142349243 seconds json_encode() was roughly 167.01% faster than serialize()
Output for 5.4.2
JSON encoded in 0.011552810668945 seconds PHP serialized in 0.031402111053467 seconds json_encode() was roughly 171.81% faster than serialize()
Output for 5.4.1
JSON encoded in 0.010642051696777 seconds PHP serialized in 0.030150175094604 seconds json_encode() was roughly 183.31% faster than serialize()
Output for 5.4.0
JSON encoded in 0.0098190307617188 seconds PHP serialized in 0.029541969299316 seconds json_encode() was roughly 200.86% faster than serialize()
Output for 5.3.29
JSON encoded in 0.0094699859619141 seconds PHP serialized in 0.028372049331665 seconds json_encode() was roughly 199.60% faster than serialize()
Output for 5.3.28
JSON encoded in 0.0095899105072021 seconds PHP serialized in 0.028956174850464 seconds json_encode() was roughly 201.94% faster than serialize()
Output for 5.3.27
JSON encoded in 0.0094881057739258 seconds PHP serialized in 0.029555797576904 seconds json_encode() was roughly 211.50% faster than serialize()
Output for 5.3.26
JSON encoded in 0.012227058410645 seconds PHP serialized in 0.038374900817871 seconds json_encode() was roughly 213.85% faster than serialize()
Output for 5.3.25
JSON encoded in 0.0098040103912354 seconds PHP serialized in 0.029709815979004 seconds json_encode() was roughly 203.04% faster than serialize()
Output for 5.3.24
JSON encoded in 0.010819911956787 seconds PHP serialized in 0.033162117004395 seconds json_encode() was roughly 206.49% faster than serialize()
Output for 5.3.23
JSON encoded in 0.010970830917358 seconds PHP serialized in 0.033337116241455 seconds json_encode() was roughly 203.87% faster than serialize()
Output for 5.3.22
JSON encoded in 0.0095999240875244 seconds PHP serialized in 0.029551029205322 seconds json_encode() was roughly 207.83% faster than serialize()
Output for 5.3.21
JSON encoded in 0.0096330642700195 seconds PHP serialized in 0.029601812362671 seconds json_encode() was roughly 207.29% faster than serialize()
Output for 5.3.20
JSON encoded in 0.010819911956787 seconds PHP serialized in 0.034217119216919 seconds json_encode() was roughly 216.24% faster than serialize()
Output for 5.3.19
JSON encoded in 0.010432004928589 seconds PHP serialized in 0.031380891799927 seconds json_encode() was roughly 200.81% faster than serialize()
Output for 5.3.18
JSON encoded in 0.0095720291137695 seconds PHP serialized in 0.029887914657593 seconds json_encode() was roughly 212.24% faster than serialize()
Output for 5.3.17
JSON encoded in 0.0099821090698242 seconds PHP serialized in 0.028966188430786 seconds json_encode() was roughly 190.18% faster than serialize()
Output for 5.3.16
JSON encoded in 0.0095810890197754 seconds PHP serialized in 0.029206991195679 seconds json_encode() was roughly 204.84% faster than serialize()
Output for 5.3.15
JSON encoded in 0.010262012481689 seconds PHP serialized in 0.029879093170166 seconds json_encode() was roughly 191.16% faster than serialize()
Output for 5.3.14
JSON encoded in 0.012339115142822 seconds PHP serialized in 0.036545038223267 seconds json_encode() was roughly 196.17% faster than serialize()
Output for 5.3.13
JSON encoded in 0.0097939968109131 seconds PHP serialized in 0.029438972473145 seconds json_encode() was roughly 200.58% faster than serialize()
Output for 5.3.12
JSON encoded in 0.010607957839966 seconds PHP serialized in 0.03015398979187 seconds json_encode() was roughly 184.26% faster than serialize()
Output for 5.3.11
JSON encoded in 0.0099780559539795 seconds PHP serialized in 0.030018091201782 seconds json_encode() was roughly 200.84% faster than serialize()
Output for 5.3.10
JSON encoded in 0.0096621513366699 seconds PHP serialized in 0.032082796096802 seconds json_encode() was roughly 232.05% faster than serialize()
Output for 5.3.9
JSON encoded in 0.010110855102539 seconds PHP serialized in 0.029842138290405 seconds json_encode() was roughly 195.15% faster than serialize()
Output for 5.3.8
JSON encoded in 0.0098750591278076 seconds PHP serialized in 0.029948949813843 seconds json_encode() was roughly 203.28% faster than serialize()
Output for 5.3.7
JSON encoded in 0.010106086730957 seconds PHP serialized in 0.029906988143921 seconds json_encode() was roughly 195.93% faster than serialize()
Output for 5.3.6
JSON encoded in 0.010117053985596 seconds PHP serialized in 0.029559850692749 seconds json_encode() was roughly 192.18% faster than serialize()
Output for 5.3.5
JSON encoded in 0.010354042053223 seconds PHP serialized in 0.030375003814697 seconds json_encode() was roughly 193.36% faster than serialize()
Output for 5.3.4
JSON encoded in 0.010308980941772 seconds PHP serialized in 0.029690027236938 seconds json_encode() was roughly 188.00% faster than serialize()
Output for 5.3.3
JSON encoded in 0.010360956192017 seconds PHP serialized in 0.030282974243164 seconds json_encode() was roughly 192.28% faster than serialize()
Output for 5.3.2
JSON encoded in 0.010244846343994 seconds PHP serialized in 0.029881000518799 seconds json_encode() was roughly 191.67% faster than serialize()
Output for 5.3.1
JSON encoded in 0.0099320411682129 seconds PHP serialized in 0.028447866439819 seconds json_encode() was roughly 186.43% faster than serialize()
Output for 5.3.0
JSON encoded in 0.010274171829224 seconds PHP serialized in 0.028480052947998 seconds json_encode() was roughly 177.20% faster than serialize()
Output for 5.2.17
JSON encoded in 0.0095889568328857 seconds PHP serialized in 0.030841112136841 seconds json_encode() was roughly 221.63% faster than serialize()
Output for 5.2.16
JSON encoded in 0.0098459720611572 seconds PHP serialized in 0.030752897262573 seconds json_encode() was roughly 212.34% faster than serialize()
Output for 5.2.15
JSON encoded in 0.0096909999847412 seconds PHP serialized in 0.031170845031738 seconds json_encode() was roughly 221.65% faster than serialize()
Output for 5.2.14
JSON encoded in 0.010671854019165 seconds PHP serialized in 0.031863927841187 seconds json_encode() was roughly 198.58% faster than serialize()
Output for 5.2.13
JSON encoded in 0.0088632106781006 seconds PHP serialized in 0.028455018997192 seconds json_encode() was roughly 221.05% faster than serialize()
Output for 5.2.12
JSON encoded in 0.0095958709716797 seconds PHP serialized in 0.029335021972656 seconds json_encode() was roughly 205.70% faster than serialize()
Output for 5.2.11
JSON encoded in 0.0090420246124268 seconds PHP serialized in 0.028891086578369 seconds json_encode() was roughly 219.52% faster than serialize()
Output for 5.2.10
JSON encoded in 0.0095639228820801 seconds PHP serialized in 0.028950929641724 seconds json_encode() was roughly 202.71% faster than serialize()
Output for 5.2.9
JSON encoded in 0.0095450878143311 seconds PHP serialized in 0.028136968612671 seconds json_encode() was roughly 194.78% faster than serialize()
Output for 5.2.8
JSON encoded in 0.0096421241760254 seconds PHP serialized in 0.031358003616333 seconds json_encode() was roughly 225.22% faster than serialize()
Output for 5.2.7
JSON encoded in 0.0082001686096191 seconds PHP serialized in 0.026186943054199 seconds json_encode() was roughly 219.35% faster than serialize()
Output for 5.2.6
JSON encoded in 0.0095062255859375 seconds PHP serialized in 0.029422998428345 seconds json_encode() was roughly 209.51% faster than serialize()
Output for 5.2.5
JSON encoded in 0.010082960128784 seconds PHP serialized in 0.032512903213501 seconds json_encode() was roughly 222.45% faster than serialize()
Output for 5.2.4
JSON encoded in 0.0097939968109131 seconds PHP serialized in 0.032270908355713 seconds json_encode() was roughly 229.50% faster than serialize()
Output for 5.2.3
JSON encoded in 0.0095810890197754 seconds PHP serialized in 0.032093048095703 seconds json_encode() was roughly 234.96% faster than serialize()
Output for 5.2.2
JSON encoded in 0.010833978652954 seconds PHP serialized in 0.038005113601685 seconds json_encode() was roughly 250.80% faster than serialize()
Output for 5.2.1
JSON encoded in 0.013903141021729 seconds PHP serialized in 0.038560152053833 seconds json_encode() was roughly 177.35% faster than serialize()
Output for 5.2.0
JSON encoded in 5.9604644775391E-06 seconds PHP serialized in 9.0599060058594E-06 seconds json_encode() was roughly 52.00% faster than serialize()
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/TmiXl on line 9
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/TmiXl on line 9
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/TmiXl on line 9
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/TmiXl on line 9