3v4l.org

run code in 300+ PHP versions simultaneously
<?php $jsndata = '{ "success":true, "data":"{\"campaign_name\":\"helloworld\",\"download_link\":\"https:\\\/\\\/google.com\\\/accesskey\\\/getfile\\\/m-spqn-e61-2aef2575a0b5250354f2b0fda033e703?token=HUSYjdC5jyJskXUHiKn13l1A1BaAjH2R&dcma=5ecceb0522bcd0db\",\"link\":\"http:\\\/\\\/www.lol.com\\\/remove\\\/remove.php\"}", "message":null }'; // Decode the main json object $jsn = json_decode($jsndata,true); // Since 'data' is another serialized object, you need to decode that as well: $data = json_decode($jsn['data'], true); // Now you can access the contents of 'data' echo $data['download_link'];

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.130.0040.00418.38
8.3.120.0130.00320.70
8.3.110.0090.00620.94
8.3.100.0120.00324.06
8.3.90.0000.00826.77
8.3.80.0090.00016.38
8.3.70.0090.00618.18
8.3.60.0040.01118.15
8.3.50.0160.00818.13
8.3.40.0090.00618.68
8.3.30.0090.00618.76
8.3.20.0040.00419.10
8.3.10.0070.00019.28
8.3.00.0040.00421.77
8.2.250.0080.00017.23
8.2.240.0040.00417.38
8.2.230.0060.00322.58
8.2.220.0030.00637.54
8.2.210.0080.00026.77
8.2.200.0060.00316.75
8.2.190.0100.00616.74
8.2.180.0100.00318.43
8.2.170.0030.01222.96
8.2.160.0040.01121.20
8.2.150.0080.00024.18
8.2.140.0040.00424.66
8.2.130.0040.00419.83
8.2.120.0080.00026.35
8.2.110.0030.00720.82
8.2.100.0030.01017.91
8.2.90.0000.00819.19
8.2.80.0030.00617.97
8.2.70.0000.00817.50
8.2.60.0030.00617.50
8.2.50.0000.00817.55
8.2.40.0040.00418.35
8.2.30.0040.00418.10
8.2.20.0080.00018.13
8.2.10.0040.00418.07
8.2.00.0000.00719.48
8.1.300.0060.00318.29
8.1.290.0030.00618.88
8.1.280.0110.00325.92
8.1.270.0000.00823.86
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0040.00422.25
8.1.230.0120.00017.88
8.1.220.0050.00317.79
8.1.210.0040.00418.77
8.1.200.0000.00917.53
8.1.190.0050.00317.23
8.1.180.0000.00918.10
8.1.170.0000.00717.62
8.1.160.0040.00418.88
8.1.150.0070.00018.71
8.1.140.0040.00417.63
8.1.130.0050.00318.94
8.1.120.0050.00317.45
8.1.110.0000.00717.39
8.1.100.0000.00817.40
8.1.90.0040.00417.42
8.1.80.0070.00017.46
8.1.70.0000.00717.40
8.1.60.0030.00717.41
8.1.50.0060.00317.41
8.1.40.0030.00617.46
8.1.30.0080.00017.58
8.1.20.0040.00417.62
8.1.10.0000.00717.52
8.1.00.0000.00917.53
8.0.300.0000.00718.77
8.0.290.0070.00016.75
8.0.280.0000.00718.46
8.0.270.0030.00317.27
8.0.260.0050.00319.05
8.0.250.0000.00716.87
8.0.240.0000.00716.97
8.0.230.0070.00016.86
8.0.220.0000.00716.85
8.0.210.0040.00416.83
8.0.200.0060.00016.89
8.0.190.0030.00616.82
8.0.180.0050.00216.74
8.0.170.0080.00016.78
8.0.160.0050.00316.92
8.0.150.0030.00616.70
8.0.140.0000.00716.82
8.0.130.0060.00013.20
8.0.120.0000.00816.69
8.0.110.0080.00016.79
8.0.100.0000.00716.71
8.0.90.0000.00716.90
8.0.80.0040.01116.81
8.0.70.0040.00416.79
8.0.60.0050.00316.89
8.0.50.0040.00416.90
8.0.30.0130.01316.89
8.0.20.0120.00917.40
8.0.10.0070.00016.86
8.0.00.0130.00816.69
7.4.330.0000.00615.55
7.4.320.0040.00416.31
7.4.300.0000.00716.48
7.4.290.0070.00016.57
7.4.280.0040.00316.54
7.4.270.0070.00216.46
7.4.260.0070.00016.41
7.4.250.0040.00416.52
7.4.240.0030.00316.38
7.4.230.0000.00616.65
7.4.220.0000.00816.56
7.4.210.0070.00716.38
7.4.200.0040.00416.64
7.4.160.0050.01316.57
7.4.140.0160.01317.86
7.4.130.0170.00316.68
7.4.120.0110.00816.45
7.4.110.0060.01216.43
7.4.100.0070.01116.51
7.4.90.0100.00716.53
7.4.80.0130.01019.39
7.4.70.0110.00716.45
7.4.60.0070.01016.32
7.4.50.0100.00616.63
7.4.40.0060.01216.27
7.4.10.0110.00415.00
7.4.00.0060.01115.02
7.3.330.0030.00313.14
7.3.320.0030.00312.95
7.3.310.0000.00716.03
7.3.300.0030.00316.25
7.3.290.0000.00716.18
7.3.280.0060.01116.21
7.3.260.0110.00916.29
7.3.240.0070.01016.29
7.3.230.0110.00616.37
7.3.210.0070.01616.29
7.3.200.0060.00916.39
7.3.190.0070.01016.34
7.3.180.0110.01016.18
7.3.170.0160.00016.52
7.3.160.0080.01516.52
7.3.130.0030.01314.95
7.3.120.0050.01114.84
7.3.110.0030.01414.68
7.3.100.0040.01114.92
7.3.90.0070.00514.81
7.3.80.0050.00714.60
7.3.70.0050.00714.80
7.3.60.0040.01014.66
7.3.50.0050.00814.76
7.3.40.0070.00414.56
7.3.30.0000.01514.80
7.3.20.0070.00216.73
7.3.10.0020.00916.34
7.3.00.0100.00316.48
7.2.330.0090.00916.29
7.2.320.0060.01116.54
7.2.310.0170.00716.77
7.2.300.0140.00516.67
7.2.290.0150.00316.62
7.2.260.0100.00714.91
7.2.250.0100.00915.05
7.2.240.0070.01014.80
7.2.230.0080.00615.02
7.2.220.0060.00814.73
7.2.210.0030.01014.92
7.2.200.0090.00514.89
7.2.190.0020.00715.02
7.2.180.0030.00714.86
7.2.170.0070.00514.93
7.2.160.0030.01015.14
7.2.150.0050.00516.91
7.2.140.0030.01016.87
7.2.130.0000.01317.05
7.2.120.0000.01116.83
7.2.110.0060.01016.74
7.2.100.0100.00616.79
7.2.90.0060.00917.16
7.2.80.0150.00016.83
7.2.70.0000.01116.82
7.2.60.1110.01015.76
7.2.50.1640.00516.03
7.2.40.0990.00716.02
7.2.30.1360.01215.97
7.2.20.1320.00916.10
7.2.10.1230.00716.05
7.2.00.1350.01016.11
7.1.330.0030.01015.68
7.1.320.0070.00615.75
7.1.310.0070.00715.78
7.1.300.0060.00615.68
7.1.290.0060.00615.68
7.1.280.0070.00715.75
7.1.270.0090.00515.62
7.1.260.0020.00615.85
7.1.250.0000.01515.77
7.1.240.0030.00615.80
7.1.230.0080.00315.54
7.1.220.0030.00915.89
7.1.210.0090.00615.52
7.1.200.0030.01115.67
7.1.190.0040.00415.91
7.1.180.0030.00915.65
7.1.170.1250.01014.90
7.1.160.1050.00616.42
7.1.150.1030.00916.04
7.1.140.1260.00916.13
7.1.130.1500.01216.36
7.1.120.1430.01216.38
7.1.110.1240.00716.04
7.1.100.1060.00915.88
7.1.90.1020.01016.12
7.1.80.1150.01016.04
7.1.70.1120.01115.38
7.1.60.1400.01024.58
7.1.50.1360.01324.29
7.1.40.1280.01024.22
7.1.30.1100.00924.11
7.1.20.1420.01324.34
7.1.10.1070.01215.17
7.1.00.1120.00815.24
7.0.330.0000.00815.23
7.0.320.0060.00315.05
7.0.310.0120.00615.38
7.0.300.0110.00415.35
7.0.290.0080.00015.26
7.0.280.0070.00315.39
7.0.270.0000.00915.39
7.0.260.0000.00915.41
7.0.250.0060.00615.59
7.0.240.0070.00715.18
7.0.230.0040.01115.09
7.0.220.0020.00515.36
7.0.210.0060.00615.34
7.0.200.0030.00815.58
7.0.190.0040.00715.38
7.0.180.0030.00615.31
7.0.170.0060.00315.15
7.0.160.0000.01315.22
7.0.150.0110.00315.06
7.0.140.0060.00315.36
7.0.130.0120.00315.23
7.0.120.0050.00315.21
7.0.110.0000.01415.18
7.0.100.0110.00415.40
7.0.90.0040.01115.36
7.0.80.0040.00715.35
7.0.70.0100.00315.29
7.0.60.0060.00615.29
7.0.50.0060.00315.48
7.0.40.0030.00613.26
7.0.30.0000.01313.72
7.0.20.0030.00613.09
7.0.10.0040.00413.58
7.0.00.0000.01113.19
5.6.400.0040.00814.14
5.6.390.0110.00313.98
5.6.380.0030.01014.31
5.6.370.0030.00614.61
5.6.360.0100.00314.32
5.6.350.0030.01014.21
5.6.340.0060.00614.48
5.6.330.0050.00514.08
5.6.320.0000.01414.34
5.6.310.0070.00314.02
5.6.300.0030.01614.51
5.6.290.0060.00914.32
5.6.280.0090.00614.51
5.6.270.0030.00614.02
5.6.260.0080.00414.59
5.6.250.0110.00014.27
5.6.240.0030.01014.40
5.6.230.0000.00914.41
5.6.220.0070.00714.14
5.6.210.0030.01014.30
5.6.200.0040.00714.39
5.6.190.0060.00614.60
5.6.180.0090.00613.95
5.6.170.0000.01114.53
5.6.160.0130.00014.14
5.6.150.0060.00914.22
5.6.140.0100.00714.39
5.6.130.0060.00314.39
5.6.120.0140.00014.57
5.6.110.0060.00614.05
5.6.100.0110.00314.11
5.6.90.0090.00314.29
5.6.80.0100.00314.08
5.6.70.0070.00714.08
5.6.60.0070.00714.23
5.6.50.0060.00314.21
5.6.40.0100.00314.23
5.6.30.0000.01614.14
5.6.20.0040.01114.15
5.6.10.0040.01214.32
5.6.00.0120.00314.13

preferences:
29.04 ms | 403 KiB | 5 Q