3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set( 'display_errors', 1 ); error_reporting( E_ALL ); // 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<br>"; // Time serialization $start = microtime( true ); serialize( $testArray ); $serializeTime = microtime( true ) - $start; echo "PHP serialized in $serializeTime seconds<br>"; // 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 t76V9
Output for 7.2.2
JSON encoded in 0.017138004302979 seconds<br>PHP serialized in 0.017315864562988 seconds<br>json_encode() was roughly 1.04% faster than serialize()
Output for 7.2.1
JSON encoded in 0.014975070953369 seconds<br>PHP serialized in 0.012789011001587 seconds<br>serialize() was roughly 17.09% faster than json_encode()
Output for 7.2.0
JSON encoded in 0.015519142150879 seconds<br>PHP serialized in 0.013533115386963 seconds<br>serialize() was roughly 14.68% faster than json_encode()
Output for 7.1.14
JSON encoded in 0.016946077346802 seconds<br>PHP serialized in 0.017278909683228 seconds<br>json_encode() was roughly 1.96% faster than serialize()
Output for 7.1.13
JSON encoded in 0.011800050735474 seconds<br>PHP serialized in 0.011409044265747 seconds<br>serialize() was roughly 3.43% faster than json_encode()
Output for 7.1.12
JSON encoded in 0.018082141876221 seconds<br>PHP serialized in 0.016967058181763 seconds<br>serialize() was roughly 6.57% faster than json_encode()
Output for 7.1.11
JSON encoded in 0.011123895645142 seconds<br>PHP serialized in 0.022181987762451 seconds<br>json_encode() was roughly 99.41% faster than serialize()
Output for 7.1.10
JSON encoded in 0.014932870864868 seconds<br>PHP serialized in 0.0089948177337646 seconds<br>serialize() was roughly 66.02% faster than json_encode()
Output for 7.1.9
JSON encoded in 0.017117023468018 seconds<br>PHP serialized in 0.0057649612426758 seconds<br>serialize() was roughly 196.91% faster than json_encode()
Output for 7.1.8
JSON encoded in 0.010215997695923 seconds<br>PHP serialized in 0.0068371295928955 seconds<br>serialize() was roughly 49.42% faster than json_encode()
Output for 7.1.7
JSON encoded in 0.011260032653809 seconds<br>PHP serialized in 0.0093939304351807 seconds<br>serialize() was roughly 19.86% faster than json_encode()
Output for 7.1.6
JSON encoded in 0.014940023422241 seconds<br>PHP serialized in 0.015334129333496 seconds<br>json_encode() was roughly 2.64% faster than serialize()
Output for 7.1.5
JSON encoded in 0.007371187210083 seconds<br>PHP serialized in 0.0058069229125977 seconds<br>serialize() was roughly 26.94% faster than json_encode()
Output for 7.1.4
JSON encoded in 0.0081131458282471 seconds<br>PHP serialized in 0.00732421875 seconds<br>serialize() was roughly 10.77% faster than json_encode()
Output for 7.1.3
JSON encoded in 0.0088400840759277 seconds<br>PHP serialized in 0.0057120323181152 seconds<br>serialize() was roughly 54.76% faster than json_encode()
Output for 7.1.2
JSON encoded in 0.0068290233612061 seconds<br>PHP serialized in 0.0050609111785889 seconds<br>serialize() was roughly 34.94% faster than json_encode()
Output for 7.1.1
JSON encoded in 0.0080509185791016 seconds<br>PHP serialized in 0.0053181648254395 seconds<br>serialize() was roughly 51.39% faster than json_encode()
Output for 7.1.0
JSON encoded in 0.011431932449341 seconds<br>PHP serialized in 0.010953187942505 seconds<br>serialize() was roughly 4.37% faster than json_encode()
Output for 7.0.27
JSON encoded in 0.017338991165161 seconds<br>PHP serialized in 0.013558149337769 seconds<br>serialize() was roughly 27.89% faster than json_encode()
Output for 7.0.26
JSON encoded in 0.021074056625366 seconds<br>PHP serialized in 0.010215044021606 seconds<br>serialize() was roughly 106.30% faster than json_encode()
Output for 7.0.25
JSON encoded in 0.01140308380127 seconds<br>PHP serialized in 0.0096781253814697 seconds<br>serialize() was roughly 17.82% faster than json_encode()
Output for 7.0.24
JSON encoded in 0.017339944839478 seconds<br>PHP serialized in 0.017956972122192 seconds<br>json_encode() was roughly 3.56% faster than serialize()
Output for 7.0.23
JSON encoded in 0.014620065689087 seconds<br>PHP serialized in 0.0088090896606445 seconds<br>serialize() was roughly 65.97% faster than json_encode()
Output for 7.0.22
JSON encoded in 0.010278940200806 seconds<br>PHP serialized in 0.0083448886871338 seconds<br>serialize() was roughly 23.18% faster than json_encode()
Output for 7.0.21
JSON encoded in 0.015014171600342 seconds<br>PHP serialized in 0.01309609413147 seconds<br>serialize() was roughly 14.65% faster than json_encode()
Output for 7.0.20
JSON encoded in 0.02084493637085 seconds<br>PHP serialized in 0.0049459934234619 seconds<br>serialize() was roughly 321.45% faster than json_encode()
Output for 7.0.19
JSON encoded in 0.0062689781188965 seconds<br>PHP serialized in 0.0077500343322754 seconds<br>json_encode() was roughly 23.63% faster than serialize()
Output for 7.0.18
JSON encoded in 0.0070970058441162 seconds<br>PHP serialized in 0.0056350231170654 seconds<br>serialize() was roughly 25.94% faster than json_encode()
Output for 7.0.17
JSON encoded in 0.006756067276001 seconds<br>PHP serialized in 0.0051770210266113 seconds<br>serialize() was roughly 30.50% faster than json_encode()
Output for 7.0.16
JSON encoded in 0.0067269802093506 seconds<br>PHP serialized in 0.0051639080047607 seconds<br>serialize() was roughly 30.27% faster than json_encode()
Output for 7.0.15
JSON encoded in 0.014317989349365 seconds<br>PHP serialized in 0.014178991317749 seconds<br>serialize() was roughly 0.98% faster than json_encode()
Output for 7.0.14
JSON encoded in 0.01079797744751 seconds<br>PHP serialized in 0.0072081089019775 seconds<br>serialize() was roughly 49.80% faster than json_encode()
Output for 7.0.13
JSON encoded in 0.023908138275146 seconds<br>PHP serialized in 0.015880107879639 seconds<br>serialize() was roughly 50.55% faster than json_encode()
Output for 7.0.12
JSON encoded in 0.012017011642456 seconds<br>PHP serialized in 0.0093481540679932 seconds<br>serialize() was roughly 28.55% faster than json_encode()
Output for 7.0.11
JSON encoded in 0.0076181888580322 seconds<br>PHP serialized in 0.0076451301574707 seconds<br>json_encode() was roughly 0.35% faster than serialize()
Output for 7.0.10
JSON encoded in 0.0076808929443359 seconds<br>PHP serialized in 0.011423110961914 seconds<br>json_encode() was roughly 48.72% faster than serialize()
Output for 7.0.9
JSON encoded in 0.0067629814147949 seconds<br>PHP serialized in 0.0061070919036865 seconds<br>serialize() was roughly 10.74% faster than json_encode()
Output for 7.0.8
JSON encoded in 0.010646820068359 seconds<br>PHP serialized in 0.0098710060119629 seconds<br>serialize() was roughly 7.86% faster than json_encode()
Output for 7.0.7
JSON encoded in 0.01131010055542 seconds<br>PHP serialized in 0.0089130401611328 seconds<br>serialize() was roughly 26.89% faster than json_encode()
Output for 7.0.6
JSON encoded in 0.010162830352783 seconds<br>PHP serialized in 0.00655198097229 seconds<br>serialize() was roughly 55.11% faster than json_encode()
Output for 7.0.5
JSON encoded in 0.010596990585327 seconds<br>PHP serialized in 0.0075058937072754 seconds<br>serialize() was roughly 41.18% faster than json_encode()
Output for 7.0.4
JSON encoded in 0.0077140331268311 seconds<br>PHP serialized in 0.0054609775543213 seconds<br>serialize() was roughly 41.26% faster than json_encode()
Output for 7.0.3
JSON encoded in 0.010200023651123 seconds<br>PHP serialized in 0.0086109638214111 seconds<br>serialize() was roughly 18.45% faster than json_encode()
Output for 7.0.2
JSON encoded in 0.0096790790557861 seconds<br>PHP serialized in 0.0075891017913818 seconds<br>serialize() was roughly 27.54% faster than json_encode()
Output for 7.0.1
JSON encoded in 0.0085771083831787 seconds<br>PHP serialized in 0.0060970783233643 seconds<br>serialize() was roughly 40.68% faster than json_encode()
Output for 7.0.0
JSON encoded in 0.0076041221618652 seconds<br>PHP serialized in 0.0054051876068115 seconds<br>serialize() was roughly 40.68% faster than json_encode()
Output for hhvm-3.22.0
JSON encoded in 0.013846158981323 seconds<br>PHP serialized in 0.015794515609741 seconds<br>json_encode() was roughly 14.07% faster than serialize()
Output for hhvm-3.21.3
JSON encoded in 0.021467924118042 seconds<br>PHP serialized in 0.022419214248657 seconds<br>json_encode() was roughly 4.43% faster than serialize()
Output for hhvm-3.21.0
JSON encoded in 0.014685392379761 seconds<br>PHP serialized in 0.015581846237183 seconds<br>json_encode() was roughly 6.10% faster than serialize()
Output for hhvm-3.20.2
JSON encoded in 0.01555347442627 seconds<br>PHP serialized in 0.0173659324646 seconds<br>json_encode() was roughly 11.65% faster than serialize()
Output for hhvm-3.19.2
JSON encoded in 0.013513088226318 seconds<br>PHP serialized in 0.015291213989258 seconds<br>json_encode() was roughly 13.16% faster than serialize()
Output for hhvm-3.18.5
JSON encoded in 0.014057874679565 seconds<br>PHP serialized in 0.016463041305542 seconds<br>json_encode() was roughly 17.11% faster than serialize()
Output for hhvm-3.18.4
JSON encoded in 0.015379905700684 seconds<br>PHP serialized in 0.016869068145752 seconds<br>json_encode() was roughly 9.68% faster than serialize()
Output for hhvm-3.17.3
JSON encoded in 0.019013166427612 seconds<br>PHP serialized in 0.024883031845093 seconds<br>json_encode() was roughly 30.87% faster than serialize()
Output for hhvm-3.15.4
JSON encoded in 0.022268056869507 seconds<br>PHP serialized in 0.034030914306641 seconds<br>json_encode() was roughly 52.82% faster than serialize()
Output for hhvm-3.13.2
JSON encoded in 0.014976024627686 seconds<br>PHP serialized in 0.02068018913269 seconds<br>json_encode() was roughly 38.09% faster than serialize()
Output for hhvm-3.12.14
JSON encoded in 0.024935007095337 seconds<br>PHP serialized in 0.022488117218018 seconds<br>serialize() was roughly 10.88% faster than json_encode()
Output for hhvm-3.11.1
JSON encoded in 0.020065069198608 seconds<br>PHP serialized in 0.029435873031616 seconds<br>json_encode() was roughly 46.70% faster than serialize()
Output for hhvm-3.10.1
JSON encoded in 0.016633033752441 seconds<br>PHP serialized in 0.02878999710083 seconds<br>json_encode() was roughly 73.09% faster than serialize()
Output for 5.6.30
JSON encoded in 0.023859024047852 seconds<br>PHP serialized in 0.077416181564331 seconds<br>json_encode() was roughly 224.47% faster than serialize()
Output for 5.6.29
JSON encoded in 0.038437128067017 seconds<br>PHP serialized in 0.086647033691406 seconds<br>json_encode() was roughly 125.43% faster than serialize()
Output for 5.6.28
JSON encoded in 0.053535938262939 seconds<br>PHP serialized in 0.11415100097656 seconds<br>json_encode() was roughly 113.22% faster than serialize()
Output for 5.6.27
JSON encoded in 0.040274143218994 seconds<br>PHP serialized in 0.082702875137329 seconds<br>json_encode() was roughly 105.35% faster than serialize()
Output for 5.6.26
JSON encoded in 0.032840013504028 seconds<br>PHP serialized in 0.10039210319519 seconds<br>json_encode() was roughly 205.70% faster than serialize()
Output for 5.6.25
JSON encoded in 0.024985074996948 seconds<br>PHP serialized in 0.076503992080688 seconds<br>json_encode() was roughly 206.20% faster than serialize()
Output for 5.6.24
JSON encoded in 0.034806966781616 seconds<br>PHP serialized in 0.10430097579956 seconds<br>json_encode() was roughly 199.66% faster than serialize()
Output for 5.6.23
JSON encoded in 0.032516002655029 seconds<br>PHP serialized in 0.092337846755981 seconds<br>json_encode() was roughly 183.98% faster than serialize()
Output for 5.6.22
JSON encoded in 0.021921873092651 seconds<br>PHP serialized in 0.060378789901733 seconds<br>json_encode() was roughly 175.43% faster than serialize()
Output for 5.6.21
JSON encoded in 0.020030975341797 seconds<br>PHP serialized in 0.06318187713623 seconds<br>json_encode() was roughly 215.42% faster than serialize()
Output for 5.6.20
JSON encoded in 0.033318996429443 seconds<br>PHP serialized in 0.10455298423767 seconds<br>json_encode() was roughly 213.79% faster than serialize()
Output for 5.6.19
JSON encoded in 0.031275033950806 seconds<br>PHP serialized in 0.08099102973938 seconds<br>json_encode() was roughly 158.96% faster than serialize()
Output for 5.6.18
JSON encoded in 0.021655082702637 seconds<br>PHP serialized in 0.067256927490234 seconds<br>json_encode() was roughly 210.58% faster than serialize()
Output for 5.6.17
JSON encoded in 0.033773899078369 seconds<br>PHP serialized in 0.082242012023926 seconds<br>json_encode() was roughly 143.51% faster than serialize()
Output for 5.6.16
JSON encoded in 0.021397829055786 seconds<br>PHP serialized in 0.07308292388916 seconds<br>json_encode() was roughly 241.54% faster than serialize()
Output for 5.6.15
JSON encoded in 0.023914813995361 seconds<br>PHP serialized in 0.089998960494995 seconds<br>json_encode() was roughly 276.33% faster than serialize()
Output for 5.6.14
JSON encoded in 0.030911922454834 seconds<br>PHP serialized in 0.14648509025574 seconds<br>json_encode() was roughly 373.88% faster than serialize()
Output for 5.6.13
JSON encoded in 0.030293941497803 seconds<br>PHP serialized in 0.074189901351929 seconds<br>json_encode() was roughly 144.90% faster than serialize()
Output for 5.6.12
JSON encoded in 0.035550832748413 seconds<br>PHP serialized in 0.086434125900269 seconds<br>json_encode() was roughly 143.13% faster than serialize()
Output for 5.6.11
JSON encoded in 0.021470069885254 seconds<br>PHP serialized in 0.07197093963623 seconds<br>json_encode() was roughly 235.22% faster than serialize()
Output for 5.6.10
JSON encoded in 0.020200967788696 seconds<br>PHP serialized in 0.063601016998291 seconds<br>json_encode() was roughly 214.84% faster than serialize()
Output for 5.6.9
JSON encoded in 0.019683837890625 seconds<br>PHP serialized in 0.060957908630371 seconds<br>json_encode() was roughly 209.69% faster than serialize()
Output for 5.6.8
JSON encoded in 0.028643131256104 seconds<br>PHP serialized in 0.063019037246704 seconds<br>json_encode() was roughly 120.01% faster than serialize()
Output for 5.6.7
JSON encoded in 0.019407033920288 seconds<br>PHP serialized in 0.06148099899292 seconds<br>json_encode() was roughly 216.80% faster than serialize()
Output for 5.6.6
JSON encoded in 0.021109104156494 seconds<br>PHP serialized in 0.063580989837646 seconds<br>json_encode() was roughly 201.20% faster than serialize()
Output for 5.6.5
JSON encoded in 0.02449893951416 seconds<br>PHP serialized in 0.064629077911377 seconds<br>json_encode() was roughly 163.80% faster than serialize()
Output for 5.6.4
JSON encoded in 0.020005941390991 seconds<br>PHP serialized in 0.059477090835571 seconds<br>json_encode() was roughly 197.30% faster than serialize()
Output for 5.6.3
JSON encoded in 0.020283937454224 seconds<br>PHP serialized in 0.063449144363403 seconds<br>json_encode() was roughly 212.80% faster than serialize()
Output for 5.6.2
JSON encoded in 0.021607875823975 seconds<br>PHP serialized in 0.073961973190308 seconds<br>json_encode() was roughly 242.29% faster than serialize()
Output for 5.6.1
JSON encoded in 0.024075031280518 seconds<br>PHP serialized in 0.11402797698975 seconds<br>json_encode() was roughly 373.64% faster than serialize()
Output for 5.6.0
JSON encoded in 0.022209882736206 seconds<br>PHP serialized in 0.081041812896729 seconds<br>json_encode() was roughly 264.89% faster than serialize()
Output for 5.5.38
JSON encoded in 0.030975103378296 seconds<br>PHP serialized in 0.084502935409546 seconds<br>json_encode() was roughly 172.81% faster than serialize()
Output for 5.5.37
JSON encoded in 0.020527124404907 seconds<br>PHP serialized in 0.066971063613892 seconds<br>json_encode() was roughly 226.26% faster than serialize()
Output for 5.5.36
JSON encoded in 0.021003007888794 seconds<br>PHP serialized in 0.075057983398438 seconds<br>json_encode() was roughly 257.37% faster than serialize()
Output for 5.5.35
JSON encoded in 0.019735097885132 seconds<br>PHP serialized in 0.065389156341553 seconds<br>json_encode() was roughly 231.33% faster than serialize()
Output for 5.5.34
JSON encoded in 0.022142887115479 seconds<br>PHP serialized in 0.071997880935669 seconds<br>json_encode() was roughly 225.15% faster than serialize()
Output for 5.5.33
JSON encoded in 0.020738840103149 seconds<br>PHP serialized in 0.074510097503662 seconds<br>json_encode() was roughly 259.28% faster than serialize()
Output for 5.5.32
JSON encoded in 0.023488998413086 seconds<br>PHP serialized in 0.079325914382935 seconds<br>json_encode() was roughly 237.72% faster than serialize()
Output for 5.5.31
JSON encoded in 0.034101963043213 seconds<br>PHP serialized in 0.093420028686523 seconds<br>json_encode() was roughly 173.94% faster than serialize()
Output for 5.5.30
JSON encoded in 0.055222988128662 seconds<br>PHP serialized in 0.096749067306519 seconds<br>json_encode() was roughly 75.20% faster than serialize()
Output for 5.5.29
JSON encoded in 0.020267009735107 seconds<br>PHP serialized in 0.073983907699585 seconds<br>json_encode() was roughly 265.05% faster than serialize()
Output for 5.5.28
JSON encoded in 0.022156000137329 seconds<br>PHP serialized in 0.10558700561523 seconds<br>json_encode() was roughly 376.56% faster than serialize()
Output for 5.5.27
JSON encoded in 0.02198600769043 seconds<br>PHP serialized in 0.066650867462158 seconds<br>json_encode() was roughly 203.15% faster than serialize()
Output for 5.5.26
JSON encoded in 0.019911050796509 seconds<br>PHP serialized in 0.072911977767944 seconds<br>json_encode() was roughly 266.19% faster than serialize()
Output for 5.5.25
JSON encoded in 0.020026922225952 seconds<br>PHP serialized in 0.063853979110718 seconds<br>json_encode() was roughly 218.84% faster than serialize()
Output for 5.5.24
JSON encoded in 0.019685983657837 seconds<br>PHP serialized in 0.063852071762085 seconds<br>json_encode() was roughly 224.35% faster than serialize()
Output for 5.5.23
JSON encoded in 0.019695997238159 seconds<br>PHP serialized in 0.075438976287842 seconds<br>json_encode() was roughly 283.02% faster than serialize()
Output for 5.5.22
JSON encoded in 0.020137071609497 seconds<br>PHP serialized in 0.066601991653442 seconds<br>json_encode() was roughly 230.74% faster than serialize()
Output for 5.5.21
JSON encoded in 0.019940137863159 seconds<br>PHP serialized in 0.065135955810547 seconds<br>json_encode() was roughly 226.66% faster than serialize()
Output for 5.5.20
JSON encoded in 0.021136045455933 seconds<br>PHP serialized in 0.06318998336792 seconds<br>json_encode() was roughly 198.97% faster than serialize()
Output for 5.5.19
JSON encoded in 0.019035816192627 seconds<br>PHP serialized in 0.059816837310791 seconds<br>json_encode() was roughly 214.23% faster than serialize()
Output for 5.5.18
JSON encoded in 0.022241830825806 seconds<br>PHP serialized in 0.081793069839478 seconds<br>json_encode() was roughly 267.74% faster than serialize()
Output for 5.5.16
JSON encoded in 0.021040916442871 seconds<br>PHP serialized in 0.075510025024414 seconds<br>json_encode() was roughly 258.87% faster than serialize()
Output for 5.5.15
JSON encoded in 0.029226064682007 seconds<br>PHP serialized in 0.082749128341675 seconds<br>json_encode() was roughly 183.13% faster than serialize()
Output for 5.5.14
JSON encoded in 0.019922971725464 seconds<br>PHP serialized in 0.067137956619263 seconds<br>json_encode() was roughly 236.99% faster than serialize()
Output for 5.5.13
JSON encoded in 0.021667003631592 seconds<br>PHP serialized in 0.07478404045105 seconds<br>json_encode() was roughly 245.15% faster than serialize()
Output for 5.5.12
JSON encoded in 0.019178152084351 seconds<br>PHP serialized in 0.063447952270508 seconds<br>json_encode() was roughly 230.83% faster than serialize()
Output for 5.5.11
JSON encoded in 0.018383979797363 seconds<br>PHP serialized in 0.064212083816528 seconds<br>json_encode() was roughly 249.28% faster than serialize()
Output for 5.5.10
JSON encoded in 0.017744064331055 seconds<br>PHP serialized in 0.061969041824341 seconds<br>json_encode() was roughly 249.24% faster than serialize()
Output for 5.5.9
JSON encoded in 0.031929969787598 seconds<br>PHP serialized in 0.091796159744263 seconds<br>json_encode() was roughly 187.49% faster than serialize()
Output for 5.5.8
JSON encoded in 0.01966404914856 seconds<br>PHP serialized in 0.069125175476074 seconds<br>json_encode() was roughly 251.53% faster than serialize()
Output for 5.5.7
JSON encoded in 0.019253969192505 seconds<br>PHP serialized in 0.077219009399414 seconds<br>json_encode() was roughly 301.06% faster than serialize()
Output for 5.5.6
JSON encoded in 0.031553983688354 seconds<br>PHP serialized in 0.072512149810791 seconds<br>json_encode() was roughly 129.80% faster than serialize()
Output for 5.5.5
JSON encoded in 0.03187108039856 seconds<br>PHP serialized in 0.090611934661865 seconds<br>json_encode() was roughly 184.31% faster than serialize()
Output for 5.5.4
JSON encoded in 0.020320892333984 seconds<br>PHP serialized in 0.060413122177124 seconds<br>json_encode() was roughly 197.30% faster than serialize()
Output for 5.5.3
JSON encoded in 0.023998975753784 seconds<br>PHP serialized in 0.077782154083252 seconds<br>json_encode() was roughly 224.11% faster than serialize()
Output for 5.5.2
JSON encoded in 0.02299690246582 seconds<br>PHP serialized in 0.08536696434021 seconds<br>json_encode() was roughly 271.21% faster than serialize()
Output for 5.5.1
JSON encoded in 0.026376008987427 seconds<br>PHP serialized in 0.082742929458618 seconds<br>json_encode() was roughly 213.71% faster than serialize()
Output for 5.5.0
JSON encoded in 0.040864944458008 seconds<br>PHP serialized in 0.088425874710083 seconds<br>json_encode() was roughly 116.39% faster than serialize()
Output for 5.4.45
JSON encoded in 0.021209001541138 seconds<br>PHP serialized in 0.075862169265747 seconds<br>json_encode() was roughly 257.69% faster than serialize()
Output for 5.4.44
JSON encoded in 0.021416902542114 seconds<br>PHP serialized in 0.095968008041382 seconds<br>json_encode() was roughly 348.09% faster than serialize()
Output for 5.4.43
JSON encoded in 0.028362035751343 seconds<br>PHP serialized in 0.068916082382202 seconds<br>json_encode() was roughly 142.99% faster than serialize()
Output for 5.4.42
JSON encoded in 0.020563125610352 seconds<br>PHP serialized in 0.068948030471802 seconds<br>json_encode() was roughly 235.30% faster than serialize()
Output for 5.4.41
JSON encoded in 0.0211181640625 seconds<br>PHP serialized in 0.072156190872192 seconds<br>json_encode() was roughly 241.68% faster than serialize()
Output for 5.4.40
JSON encoded in 0.019174098968506 seconds<br>PHP serialized in 0.06330680847168 seconds<br>json_encode() was roughly 230.17% faster than serialize()
Output for 5.4.39
JSON encoded in 0.031116962432861 seconds<br>PHP serialized in 0.091545104980469 seconds<br>json_encode() was roughly 194.20% faster than serialize()
Output for 5.4.38
JSON encoded in 0.020352125167847 seconds<br>PHP serialized in 0.072041988372803 seconds<br>json_encode() was roughly 253.98% faster than serialize()
Output for 5.4.37
JSON encoded in 0.018483877182007 seconds<br>PHP serialized in 0.063777208328247 seconds<br>json_encode() was roughly 245.04% faster than serialize()
Output for 5.4.36
JSON encoded in 0.021617889404297 seconds<br>PHP serialized in 0.076419830322266 seconds<br>json_encode() was roughly 253.50% faster than serialize()
Output for 5.4.35
JSON encoded in 0.022861003875732 seconds<br>PHP serialized in 0.10599303245544 seconds<br>json_encode() was roughly 363.64% faster than serialize()
Output for 5.4.34
JSON encoded in 0.019222974777222 seconds<br>PHP serialized in 0.061408996582031 seconds<br>json_encode() was roughly 219.46% faster than serialize()
Output for 5.4.32
JSON encoded in 0.019822835922241 seconds<br>PHP serialized in 0.069048881530762 seconds<br>json_encode() was roughly 248.33% faster than serialize()
Output for 5.4.31
JSON encoded in 0.029145002365112 seconds<br>PHP serialized in 0.080304861068726 seconds<br>json_encode() was roughly 175.54% faster than serialize()
Output for 5.4.30
JSON encoded in 0.019831895828247 seconds<br>PHP serialized in 0.06868314743042 seconds<br>json_encode() was roughly 246.33% faster than serialize()
Output for 5.4.29
JSON encoded in 0.018831968307495 seconds<br>PHP serialized in 0.064521074295044 seconds<br>json_encode() was roughly 242.61% faster than serialize()
Output for 5.4.28
JSON encoded in 0.019216060638428 seconds<br>PHP serialized in 0.060691833496094 seconds<br>json_encode() was roughly 215.84% faster than serialize()
Output for 5.4.27
JSON encoded in 0.018772125244141 seconds<br>PHP serialized in 0.063336849212646 seconds<br>json_encode() was roughly 237.40% faster than serialize()
Output for 5.4.26
JSON encoded in 0.020853042602539 seconds<br>PHP serialized in 0.073391914367676 seconds<br>json_encode() was roughly 251.95% faster than serialize()
Output for 5.4.25
JSON encoded in 0.024914026260376 seconds<br>PHP serialized in 0.071452856063843 seconds<br>json_encode() was roughly 186.80% faster than serialize()
Output for 5.4.24
JSON encoded in 0.020514011383057 seconds<br>PHP serialized in 0.085810899734497 seconds<br>json_encode() was roughly 318.30% faster than serialize()
Output for 5.4.23
JSON encoded in 0.019598960876465 seconds<br>PHP serialized in 0.071931838989258 seconds<br>json_encode() was roughly 267.02% faster than serialize()
Output for 5.4.22
JSON encoded in 0.02359414100647 seconds<br>PHP serialized in 0.085477113723755 seconds<br>json_encode() was roughly 262.28% faster than serialize()
Output for 5.4.21
JSON encoded in 0.020241975784302 seconds<br>PHP serialized in 0.081333160400391 seconds<br>json_encode() was roughly 301.80% faster than serialize()
Output for 5.4.20
JSON encoded in 0.018439054489136 seconds<br>PHP serialized in 0.064048051834106 seconds<br>json_encode() was roughly 247.35% faster than serialize()
Output for 5.4.19
JSON encoded in 0.030678987503052 seconds<br>PHP serialized in 0.12214398384094 seconds<br>json_encode() was roughly 298.14% faster than serialize()
Output for 5.4.18
JSON encoded in 0.03426718711853 seconds<br>PHP serialized in 0.1052520275116 seconds<br>json_encode() was roughly 207.15% faster than serialize()
Output for 5.4.17
JSON encoded in 0.027962923049927 seconds<br>PHP serialized in 0.067929029464722 seconds<br>json_encode() was roughly 142.93% faster than serialize()
Output for 5.4.16
JSON encoded in 0.033427953720093 seconds<br>PHP serialized in 0.11946702003479 seconds<br>json_encode() was roughly 257.39% faster than serialize()
Output for 5.4.15
JSON encoded in 0.021515130996704 seconds<br>PHP serialized in 0.07499098777771 seconds<br>json_encode() was roughly 248.55% faster than serialize()
Output for 5.4.14
JSON encoded in 0.020509958267212 seconds<br>PHP serialized in 0.070898771286011 seconds<br>json_encode() was roughly 245.68% faster than serialize()
Output for 5.4.13
JSON encoded in 0.023303985595703 seconds<br>PHP serialized in 0.064819812774658 seconds<br>json_encode() was roughly 178.15% faster than serialize()
Output for 5.4.12
JSON encoded in 0.022104024887085 seconds<br>PHP serialized in 0.068786144256592 seconds<br>json_encode() was roughly 211.19% faster than serialize()
Output for 5.4.11
JSON encoded in 0.022602081298828 seconds<br>PHP serialized in 0.065988779067993 seconds<br>json_encode() was roughly 191.96% faster than serialize()
Output for 5.4.10
JSON encoded in 0.024917125701904 seconds<br>PHP serialized in 0.072826862335205 seconds<br>json_encode() was roughly 192.28% faster than serialize()
Output for 5.4.9
JSON encoded in 0.037100076675415 seconds<br>PHP serialized in 0.089524030685425 seconds<br>json_encode() was roughly 141.30% faster than serialize()
Output for 5.4.8
JSON encoded in 0.02959418296814 seconds<br>PHP serialized in 0.14314985275269 seconds<br>json_encode() was roughly 383.71% faster than serialize()
Output for 5.4.7
JSON encoded in 0.047749042510986 seconds<br>PHP serialized in 0.11664795875549 seconds<br>json_encode() was roughly 144.29% faster than serialize()
Output for 5.4.6
JSON encoded in 0.036993980407715 seconds<br>PHP serialized in 0.11386489868164 seconds<br>json_encode() was roughly 207.79% faster than serialize()
Output for 5.4.5
JSON encoded in 0.037796020507812 seconds<br>PHP serialized in 0.12902617454529 seconds<br>json_encode() was roughly 241.38% faster than serialize()
Output for 5.4.4
JSON encoded in 0.043761968612671 seconds<br>PHP serialized in 0.14548778533936 seconds<br>json_encode() was roughly 232.45% faster than serialize()
Output for 5.4.3
JSON encoded in 0.024059057235718 seconds<br>PHP serialized in 0.09972095489502 seconds<br>json_encode() was roughly 314.48% faster than serialize()
Output for 5.4.2
JSON encoded in 0.03189492225647 seconds<br>PHP serialized in 0.084674835205078 seconds<br>json_encode() was roughly 165.48% faster than serialize()
Output for 5.4.1
JSON encoded in 0.030457019805908 seconds<br>PHP serialized in 0.091695070266724 seconds<br>json_encode() was roughly 201.06% faster than serialize()
Output for 5.4.0
JSON encoded in 0.032901048660278 seconds<br>PHP serialized in 0.084115982055664 seconds<br>json_encode() was roughly 155.66% faster than serialize()
Output for 5.3.29
JSON encoded in 0.016983985900879 seconds<br>PHP serialized in 0.061094045639038 seconds<br>json_encode() was roughly 259.72% faster than serialize()
Output for 5.3.28
JSON encoded in 0.018960952758789 seconds<br>PHP serialized in 0.067399978637695 seconds<br>json_encode() was roughly 255.47% faster than serialize()
Output for 5.3.27
JSON encoded in 0.022171974182129 seconds<br>PHP serialized in 0.064733028411865 seconds<br>json_encode() was roughly 191.96% faster than serialize()
Output for 5.3.26
JSON encoded in 0.02720308303833 seconds<br>PHP serialized in 0.089493036270142 seconds<br>json_encode() was roughly 228.98% faster than serialize()
Output for 5.3.25
JSON encoded in 0.026072978973389 seconds<br>PHP serialized in 0.069010972976685 seconds<br>json_encode() was roughly 164.68% faster than serialize()
Output for 5.3.24
JSON encoded in 0.019685029983521 seconds<br>PHP serialized in 0.068527936935425 seconds<br>json_encode() was roughly 248.12% faster than serialize()
Output for 5.3.23
JSON encoded in 0.019752979278564 seconds<br>PHP serialized in 0.06108283996582 seconds<br>json_encode() was roughly 209.23% faster than serialize()
Output for 5.3.22
JSON encoded in 0.01596212387085 seconds<br>PHP serialized in 0.077101945877075 seconds<br>json_encode() was roughly 383.03% faster than serialize()
Output for 5.3.21
JSON encoded in 0.023340940475464 seconds<br>PHP serialized in 0.08352518081665 seconds<br>json_encode() was roughly 257.85% faster than serialize()
Output for 5.3.20
JSON encoded in 0.027140140533447 seconds<br>PHP serialized in 0.083822011947632 seconds<br>json_encode() was roughly 208.85% faster than serialize()
Output for 5.3.19
JSON encoded in 0.024905920028687 seconds<br>PHP serialized in 0.1539158821106 seconds<br>json_encode() was roughly 517.99% faster than serialize()
Output for 5.3.18
JSON encoded in 0.021982908248901 seconds<br>PHP serialized in 0.11579012870789 seconds<br>json_encode() was roughly 426.73% faster than serialize()
Output for 5.3.17
JSON encoded in 0.028535127639771 seconds<br>PHP serialized in 0.099077224731445 seconds<br>json_encode() was roughly 247.21% faster than serialize()
Output for 5.3.16
JSON encoded in 0.030537128448486 seconds<br>PHP serialized in 0.099123954772949 seconds<br>json_encode() was roughly 224.60% faster than serialize()
Output for 5.3.15
JSON encoded in 0.028397083282471 seconds<br>PHP serialized in 0.095931053161621 seconds<br>json_encode() was roughly 237.82% faster than serialize()
Output for 5.3.14
JSON encoded in 0.031804084777832 seconds<br>PHP serialized in 0.10320401191711 seconds<br>json_encode() was roughly 224.50% faster than serialize()
Output for 5.3.13
JSON encoded in 0.031641006469727 seconds<br>PHP serialized in 0.093173980712891 seconds<br>json_encode() was roughly 194.47% faster than serialize()
Output for 5.3.12
JSON encoded in 0.03042197227478 seconds<br>PHP serialized in 0.087739944458008 seconds<br>json_encode() was roughly 188.41% faster than serialize()
Output for 5.3.11
JSON encoded in 0.030781030654907 seconds<br>PHP serialized in 0.099285125732422 seconds<br>json_encode() was roughly 222.55% faster than serialize()
Output for 5.3.10
JSON encoded in 0.030144929885864 seconds<br>PHP serialized in 0.095060110092163 seconds<br>json_encode() was roughly 215.34% faster than serialize()
Output for 5.3.9
JSON encoded in 0.028814077377319 seconds<br>PHP serialized in 0.089133977890015 seconds<br>json_encode() was roughly 209.34% faster than serialize()
Output for 5.3.8
JSON encoded in 0.032037019729614 seconds<br>PHP serialized in 0.11400890350342 seconds<br>json_encode() was roughly 255.87% faster than serialize()
Output for 5.3.7
JSON encoded in 0.027318000793457 seconds<br>PHP serialized in 0.094297885894775 seconds<br>json_encode() was roughly 245.19% faster than serialize()
Output for 5.3.6
JSON encoded in 0.027323961257935 seconds<br>PHP serialized in 0.099527835845947 seconds<br>json_encode() was roughly 264.25% faster than serialize()
Output for 5.3.5
JSON encoded in 0.0327308177948 seconds<br>PHP serialized in 0.12236881256104 seconds<br>json_encode() was roughly 273.86% faster than serialize()
Output for 5.3.4
JSON encoded in 0.024587869644165 seconds<br>PHP serialized in 0.079836845397949 seconds<br>json_encode() was roughly 224.70% faster than serialize()
Output for 5.3.3
JSON encoded in 0.027782201766968 seconds<br>PHP serialized in 0.10069489479065 seconds<br>json_encode() was roughly 262.44% faster than serialize()
Output for 5.3.2
JSON encoded in 0.030035018920898 seconds<br>PHP serialized in 0.100093126297 seconds<br>json_encode() was roughly 233.25% faster than serialize()
Output for 5.3.1
JSON encoded in 0.030459880828857 seconds<br>PHP serialized in 0.11996006965637 seconds<br>json_encode() was roughly 293.83% faster than serialize()
Output for 5.3.0
JSON encoded in 0.027122974395752 seconds<br>PHP serialized in 0.075369119644165 seconds<br>json_encode() was roughly 177.88% faster than serialize()
Output for 5.2.17
JSON encoded in 0.032021999359131 seconds<br>PHP serialized in 0.088133096694946 seconds<br>json_encode() was roughly 175.23% faster than serialize()
Output for 5.2.16
JSON encoded in 0.031301021575928 seconds<br>PHP serialized in 0.093532800674438 seconds<br>json_encode() was roughly 198.82% faster than serialize()
Output for 5.2.15
JSON encoded in 0.029835939407349 seconds<br>PHP serialized in 0.11336207389832 seconds<br>json_encode() was roughly 279.95% faster than serialize()
Output for 5.2.14
JSON encoded in 0.035132884979248 seconds<br>PHP serialized in 0.084539890289307 seconds<br>json_encode() was roughly 140.63% faster than serialize()
Output for 5.2.13
JSON encoded in 0.03289008140564 seconds<br>PHP serialized in 0.091066122055054 seconds<br>json_encode() was roughly 176.88% faster than serialize()
Output for 5.2.12
JSON encoded in 0.023355960845947 seconds<br>PHP serialized in 0.10551905632019 seconds<br>json_encode() was roughly 351.79% faster than serialize()
Output for 5.2.11
JSON encoded in 0.022499084472656 seconds<br>PHP serialized in 0.087706089019775 seconds<br>json_encode() was roughly 289.82% faster than serialize()
Output for 5.2.10
JSON encoded in 0.029309988021851 seconds<br>PHP serialized in 0.1130108833313 seconds<br>json_encode() was roughly 285.57% faster than serialize()
Output for 5.2.9
JSON encoded in 0.021007061004639 seconds<br>PHP serialized in 0.098403930664062 seconds<br>json_encode() was roughly 368.43% faster than serialize()
Output for 5.2.8
JSON encoded in 0.020863056182861 seconds<br>PHP serialized in 0.08833909034729 seconds<br>json_encode() was roughly 323.42% faster than serialize()
Output for 5.2.7
JSON encoded in 0.026646852493286 seconds<br>PHP serialized in 0.086101055145264 seconds<br>json_encode() was roughly 223.12% faster than serialize()
Output for 5.2.6
JSON encoded in 0.027371168136597 seconds<br>PHP serialized in 0.076013803482056 seconds<br>json_encode() was roughly 177.71% faster than serialize()
Output for 5.2.5
JSON encoded in 0.023247003555298 seconds<br>PHP serialized in 0.090800046920776 seconds<br>json_encode() was roughly 290.59% faster than serialize()
Output for 5.2.4
JSON encoded in 0.025426149368286 seconds<br>PHP serialized in 0.081630945205688 seconds<br>json_encode() was roughly 221.05% faster than serialize()
Output for 5.2.3
JSON encoded in 0.033466815948486 seconds<br>PHP serialized in 0.10916090011597 seconds<br>json_encode() was roughly 226.18% faster than serialize()
Output for 5.2.2
JSON encoded in 0.023772001266479 seconds<br>PHP serialized in 0.098742008209229 seconds<br>json_encode() was roughly 315.37% faster than serialize()
Output for 5.2.1
JSON encoded in 0.020570993423462 seconds<br>PHP serialized in 0.070503950119019 seconds<br>json_encode() was roughly 242.73% faster than serialize()
Output for 5.2.0
JSON encoded in 7.8678131103516E-06 seconds<br>PHP serialized in 1.1205673217773E-05 seconds<br>json_encode() was roughly 42.42% faster than serialize()
Output for 5.0.0 - 5.1.6
Fatal error: Call to undefined function json_encode() in /in/qFKvT on line 12
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: json_encode() in /in/qFKvT on line 12
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: json_encode() in /in/qFKvT on line 12
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: json_encode() in /in/qFKvT on line 12