3v4l.org

run code in 300+ PHP versions simultaneously
<?php $str = '{ "inbound.json": [ { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003494427473", "posted_by": "100003494427473", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "669424943082868_3226642", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\ucd5c\ud76c\uacbd \ud55c\uc794 \ub561\uae34\ub2e4", "link": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226642", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:24", "notes": "", "posted_on": "2013-10-23 15:15:57", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003217312194", "posted_by": "100003217312194", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "669424943082868_3226660", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uc774\ub3d9\uc601\ud55c\uc794\ud558\uc9c0\uce5c\uad6c", "link": "https://www.facebook.com/photo.php?fbid=669424943082868&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226660", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:27", "notes": "", "posted_on": "2013-10-23 15:21:27", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100000970955565", "posted_by": "Kiwon Park", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "672868479405181_3226723", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uceac \uba4b\uc9c4\uc0ac\uc9c4", "link": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226723", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:29", "notes": "", "posted_on": "2013-10-23 15:45:14", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003661095274", "posted_by": "\uc720\uc778\ubc94", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "672868479405181_3226728", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uc784\uc120\ucca0 \uae30\ub124\uc2a4\ub97c \ubcf4\uba74 \ud615\uc774 \ub5a0\uc62c\ub77c", "link": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226728", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:32", "notes": "", "posted_on": "2013-10-23 15:49:41", "reply_date": "" }, { "status": "archived", "replied_from": "", "sentiment": "", "tags": "", "posted_by_id": "100003576594217", "posted_by": "\uc784\uc120\ucca0", "replies": "", "link_parent": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1", "platform_id": "672868479405181_3226739", "channel_name": "\uae30\ub124\uc2a4 \ucf54\ub9ac\uc544 (Guinness Korea)", "followers": "", "replied_by": "", "content_type": "comment", "text": "\uc720\uc778\ubc94 \u314b\u314b \ub0b4 \uc0dd\uba85\uc218", "link": "https://www.facebook.com/photo.php?fbid=672868479405181&set=a.393340390691326.95949.391522957539736&type=1&comment_id=3226739", "moderated_by": "Hyegyeong Ha", "moderation_date": "2013-10-24 07:34:35", "notes": "", "posted_on": "2013-10-23 15:53:35", "reply_date": "" } ] }'; $encoded = json_encode($str); var_dump($encoded); $decoded = json_decode($encoded); var_dump($decoded);

Here you find the average performance (time & memory) of each version. A grayed out version indicates it didn't complete successfully (based on exit-code).

VersionSystem time (s)User time (s)Memory (MiB)
8.3.60.0030.01418.33
8.3.50.0130.00821.09
8.3.40.0140.00018.77
8.3.30.0070.00720.39
8.3.20.0100.01023.48
8.3.10.0100.00621.77
8.2.180.0040.01118.06
8.2.170.0060.01122.96
8.2.160.0030.01020.53
8.2.150.0150.00319.20
8.2.140.0100.00320.35
8.1.280.0150.00625.92
8.1.270.0030.01022.09
7.4.10.0040.01414.79
7.4.00.0050.01014.95
7.3.130.0040.01514.88
7.3.120.0070.00914.86
7.3.110.0080.00814.87
7.3.100.0070.00314.61
7.3.90.0000.01414.28
7.3.80.0030.01014.59
7.3.70.0140.00014.65
7.3.60.0000.01014.54
7.3.50.0000.01514.75
7.3.40.0040.00814.79
7.3.30.0000.01314.54
7.3.20.0060.00916.17
7.3.10.0040.00416.30
7.3.00.0030.01216.14
7.2.260.0090.00915.03
7.2.250.0060.00915.09
7.2.240.0100.00615.02
7.2.230.0070.00315.04
7.2.220.0040.00815.09
7.2.210.0070.00715.15
7.2.200.0110.00314.90
7.2.190.0050.00514.63
7.2.180.0070.00415.00
7.2.170.0060.00614.95
7.2.160.0040.00814.72
7.2.150.0030.01016.84
7.2.140.0080.00616.95
7.2.130.0060.00916.85
7.2.120.0000.01416.83
7.2.110.0070.00716.87
7.2.100.0000.01516.68
7.2.90.0070.00416.58
7.2.80.0000.01316.58
7.2.70.0070.00716.99
7.2.60.0030.01316.91
7.2.50.0070.01116.77
7.2.40.0070.00716.80
7.2.30.0090.00616.71
7.2.20.0090.00916.88
7.2.10.0030.00917.01
7.2.00.0090.00616.90
7.1.330.0070.00715.65
7.1.320.0030.00715.80
7.1.310.0030.00915.59
7.1.300.0030.01015.68
7.1.290.0070.00715.75
7.1.280.0000.00815.89
7.1.270.0060.00615.57
7.1.260.0070.00715.54
7.1.250.0060.00915.69
7.1.240.0030.01015.69
7.1.230.0030.01215.74
7.1.220.0060.00915.66
7.1.210.0070.00415.71
7.1.200.0070.00715.57
7.1.190.0000.01115.70
7.1.180.0070.00715.63
7.1.170.0080.00315.81
7.1.160.0100.00615.64
7.1.150.0110.00415.57
7.1.140.0080.00015.70
7.1.130.0040.01115.44
7.1.120.0030.01215.68
7.1.110.0000.01415.81
7.1.100.0070.00415.87
7.1.90.0000.01415.59
7.1.80.0060.00915.77
7.1.70.0070.00616.37
7.1.60.0090.00617.37
7.1.50.0060.00816.09
7.1.40.0120.00315.78
7.1.30.0000.01615.79
7.1.20.0070.01015.79
7.1.10.0070.00715.62
7.1.00.0060.01619.08
7.0.330.0130.00315.28
7.0.320.0080.00515.00
7.0.310.0060.00315.05
7.0.300.0110.00615.34
7.0.290.0110.00615.10
7.0.280.0070.00715.45
7.0.270.0070.00715.08
7.0.260.0000.00915.12
7.0.250.0040.00715.11
7.0.240.0090.00015.44
7.0.230.0080.00815.60
7.0.220.0130.00315.13
7.0.210.0090.00315.27
7.0.200.0030.00816.04
7.0.190.0040.00815.27
7.0.180.0040.00715.26
7.0.170.0080.00815.21
7.0.160.0080.00814.97
7.0.150.0060.00915.30
7.0.140.0060.03818.81
7.0.130.0140.00315.54
7.0.120.0040.01215.22
7.0.110.0110.00615.40
7.0.100.0070.00715.46
7.0.90.0020.02717.62
7.0.80.0080.02817.62
7.0.70.0350.03817.65
7.0.60.0300.04517.66
7.0.50.0340.04717.80
7.0.40.0080.04416.82
7.0.30.0070.02516.65
7.0.20.0070.04716.71
7.0.10.0020.05116.81
7.0.00.0030.05016.63
5.6.400.0030.00614.39
5.6.390.0060.00614.08
5.6.380.0000.01114.22
5.6.370.0030.01314.20
5.6.360.0030.01014.25
5.6.350.0030.00614.22
5.6.340.0000.00914.15
5.6.330.0040.01114.31
5.6.320.0030.01014.46
5.6.310.0030.01314.18
5.6.300.0070.01014.29
5.6.290.0060.00614.26
5.6.280.0080.04017.50
5.6.270.0060.01214.15
5.6.260.0070.01114.20
5.6.250.0030.01314.24
5.6.240.0030.02817.34
5.6.230.0110.03617.49
5.6.220.0070.04417.29
5.6.210.0100.04217.32
5.6.200.0070.04517.67
5.6.190.0070.04617.78
5.6.180.0070.03817.60
5.6.170.0100.02517.59
5.6.160.0050.04817.77
5.6.150.0100.03417.55
5.6.140.0120.03817.71
5.6.130.0080.04217.57
5.6.120.0050.04817.54
5.6.110.0060.04717.73
5.6.100.0050.04517.55
5.6.90.0080.04517.72
5.6.80.0080.02317.15
5.6.70.0130.03817.28
5.6.60.0020.02817.33
5.6.50.0140.02617.30
5.6.40.0060.04117.25
5.6.30.0090.03617.29
5.6.20.0140.03917.14
5.6.10.0050.04517.31
5.6.00.0060.02617.35
5.5.380.0110.03917.26
5.5.370.0090.02517.35
5.5.360.0100.04217.25
5.5.350.0050.04917.14
5.5.340.0090.04417.31
5.5.330.0020.03317.41
5.5.320.0030.02817.54
5.5.310.0020.03417.59
5.5.300.0060.03617.24
5.5.290.0080.04717.41
5.5.280.0030.04517.51
5.5.270.0110.04317.67
5.5.260.0040.04517.60
5.5.250.0090.04317.25
5.5.240.0090.03817.05
5.5.230.0030.04717.15
5.5.220.0080.04017.21
5.5.210.0050.04817.12
5.5.200.0030.04417.18
5.5.190.0070.04517.23
5.5.180.0100.03717.12
5.5.170.0000.01114.18
5.5.160.0040.04617.01
5.5.150.0050.04717.16
5.5.140.0100.03817.15
5.5.130.0080.02717.14
5.5.120.0080.03517.14
5.5.110.0030.04917.13
5.5.100.0120.03816.93
5.5.90.0120.03717.14
5.5.80.0070.04416.92
5.5.70.0080.02716.97
5.5.60.0070.04517.12
5.5.50.0050.04417.12
5.5.40.0070.03816.97
5.5.30.0090.02217.06
5.5.20.0120.02517.07
5.5.10.0050.03317.07
5.5.00.0050.04217.16
5.4.450.0050.03815.30
5.4.440.0050.02715.20
5.4.430.0050.04315.24
5.4.420.0110.03715.29
5.4.410.0070.04315.21
5.4.400.0070.04215.10
5.4.390.0070.03515.08
5.4.380.0060.02815.12
5.4.370.0020.04015.13
5.4.360.0070.04215.13
5.4.350.0080.04015.08
5.4.340.0070.04315.01
5.4.330.0000.00611.13
5.4.320.0050.04514.97
5.4.310.0060.03715.11
5.4.300.0050.04315.10
5.4.290.0090.04014.96
5.4.280.0080.03715.13
5.4.270.0090.03715.01
5.4.260.0070.03715.10
5.4.250.0050.03815.13
5.4.240.0080.03715.01
5.4.230.0080.04014.95
5.4.220.0050.04015.13
5.4.210.0130.03215.08
5.4.200.0050.03714.96
5.4.190.0030.03415.07
5.4.180.0060.02515.11
5.4.170.0050.04115.07
5.4.160.0080.03715.10
5.4.150.0080.03815.03
5.4.140.0160.03313.74
5.4.130.0060.03813.74
5.4.120.0060.01913.73
5.4.110.0030.02113.77
5.4.100.0120.03013.78
5.4.90.0060.03313.75
5.4.80.0040.03913.65
5.4.70.0050.03813.76
5.4.60.0100.03513.69
5.4.50.0080.03813.78
5.4.40.0050.04113.70
5.4.30.0050.03213.73
5.4.20.0020.04213.72
5.4.10.0080.03513.69
5.4.00.0030.04213.45
5.3.290.0070.03812.90
5.3.280.0050.03112.86
5.3.270.0080.04112.89
5.3.260.0040.04012.87
5.3.250.0050.03512.85
5.3.240.0080.02012.88
5.3.230.0050.04112.81
5.3.220.0070.02812.85
5.3.210.0070.03512.78
5.3.200.0030.03612.86
5.3.190.0020.03812.85
5.3.180.0050.03512.84
5.3.170.0070.02312.79
5.3.160.0120.03312.86
5.3.150.0070.03312.84
5.3.140.0050.04412.85
5.3.130.0060.04312.84
5.3.120.0010.03312.77
5.3.110.0030.03212.78
5.3.100.0090.03912.60
5.3.90.0040.03912.51
5.3.80.0050.03812.56
5.3.70.0020.02512.57
5.3.60.0030.04512.58
5.3.50.0030.02512.51
5.3.40.0080.03812.52
5.3.30.0090.02012.53
5.3.20.0020.04012.42
5.3.10.0070.02512.29
5.3.00.0030.02512.37
5.2.170.0000.06311.22
5.2.160.0000.04011.00
5.2.150.0000.04311.16
5.2.140.0070.04711.00
5.2.130.0070.05711.00
5.2.120.0030.04710.97
5.2.110.0070.06311.00
5.2.100.0100.04311.21
5.2.90.0030.03311.12
5.2.80.0100.03711.15
5.2.70.0070.06311.13
5.2.60.0070.05711.09
5.2.50.0070.06011.00
5.2.40.0030.04311.06
5.2.30.0070.04710.85
5.2.20.0030.05710.79
5.2.10.0130.03310.91
5.2.00.0030.06310.81
5.1.60.0000.03310.00
5.1.50.0070.0539.99
5.1.40.0100.0279.98
5.1.30.0000.03010.39
5.1.20.0000.06010.37
5.1.10.0000.06010.09
5.1.00.0100.0539.91
5.0.50.0100.0408.56
5.0.40.0000.0308.27
5.0.30.0000.0578.23
5.0.20.0000.0238.32
5.0.10.0000.0378.26
5.0.00.0000.0378.00
4.4.90.0070.0307.80
4.4.80.0030.0277.80
4.4.70.0000.0207.80
4.4.60.0000.0377.80
4.4.50.0030.0337.80
4.4.40.0030.0477.80
4.4.30.0000.0237.80
4.4.20.0030.0177.80
4.4.10.0030.0337.80
4.4.00.0030.0537.80
4.3.110.0070.0307.80
4.3.100.0000.0177.80
4.3.90.0030.0137.80
4.3.80.0000.0237.80
4.3.70.0030.0137.80
4.3.60.0000.0177.80
4.3.50.0070.0207.80
4.3.40.0030.0307.80
4.3.30.0000.0177.80
4.3.20.0000.0177.80
4.3.10.0030.0237.80
4.3.00.0070.0107.80

preferences:
39.47 ms | 401 KiB | 5 Q