3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{ "Token" : "xxx-xxx-xxx", "ID": "1", "Recipients": [ { "Recipient_ID": "XX", "From_Name": "XXX", "From_Email": "XXX", "To_Name": "XXX", "To_Email": "XXX", "Subject": "XXX", "Message": "XXX", "Attachments": [ { "File_Name": "XXX", "File_Path": "XXX", } ] } ] }'; var_dump(json_decode($json)); var_dump(json_last_error_msg());

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.0140.00316.63
8.3.50.0070.00717.95
8.3.40.0110.00418.50
8.3.30.0140.00018.62
8.3.20.0000.00818.73
8.3.10.0050.00321.65
8.3.00.0080.00022.34
8.2.180.0070.01018.19
8.2.170.0140.00722.96
8.2.160.0110.00419.21
8.2.150.0080.00024.18
8.2.140.0080.00024.66
8.2.130.0000.00822.16
8.2.120.0040.00426.35
8.2.110.0060.00322.25
8.2.100.0030.00717.91
8.2.90.0000.00719.02
8.2.80.0040.00417.97
8.2.70.0050.00317.63
8.2.60.0040.00417.93
8.2.50.0030.00618.07
8.2.40.0000.00918.16
8.2.30.0030.00617.98
8.2.20.0000.00817.60
8.2.10.0040.00418.05
8.2.00.0040.00417.67
8.1.280.0100.01025.92
8.1.270.0040.00423.87
8.1.260.0070.00028.09
8.1.250.0040.00428.09
8.1.240.0060.00320.69
8.1.230.0090.00317.64
8.1.220.0000.00817.74
8.1.210.0050.00318.77
8.1.200.0060.00317.22
8.1.190.0060.00317.23
8.1.180.0030.00518.10
8.1.170.0040.00418.48
8.1.160.0000.00818.82
8.1.150.0030.00318.74
8.1.140.0040.00419.38
8.1.130.0030.00517.48
8.1.120.0050.00317.35
8.1.110.0000.00817.34
8.1.100.0000.00717.39
8.1.90.0040.00417.39
8.1.80.0020.00517.38
8.1.70.0040.00417.33
8.1.60.0000.00817.52
8.1.50.0000.00817.29
8.1.40.0030.00617.38
8.1.30.0000.00817.46
8.1.20.0000.00717.57
8.1.10.0000.00717.35
8.1.00.0070.00017.41
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0030.00318.37
8.0.270.0000.00817.09
8.0.260.0030.00518.29
8.0.250.0030.00316.89
8.0.240.0000.00716.89
8.0.230.0050.00316.77
8.0.220.0070.00016.86
8.0.210.0070.00016.75
8.0.200.0030.00316.77
8.0.190.0040.00416.89
8.0.180.0070.00016.80
8.0.170.0040.00416.82
8.0.160.0040.00416.80
8.0.150.0000.00716.73
8.0.140.0000.00716.67
8.0.130.0030.00313.20
8.0.120.0040.00416.81
8.0.110.0030.00516.70
8.0.100.0000.00716.80
8.0.90.0040.00416.90
8.0.80.0090.00616.85
8.0.70.0000.00816.73
8.0.60.0070.00016.70
8.0.50.0040.00416.79
8.0.30.0130.00517.10
8.0.20.0090.01017.40
8.0.10.0000.00716.89
8.0.00.0070.01516.87
7.4.330.0020.00215.09
7.4.320.0040.00416.45
7.4.300.0060.00016.53
7.4.290.0070.00016.44
7.4.280.0060.00316.56
7.4.270.0070.00016.36
7.4.260.0030.00316.27
7.4.250.0040.00416.50
7.4.240.0050.00316.43
7.4.230.0070.00016.34
7.4.220.0160.01216.38
7.4.210.0110.00416.49
7.4.200.0000.00716.50
7.4.160.0090.00616.35
7.4.150.0150.00317.40
7.4.140.0150.00817.86
7.4.130.0090.01016.33
7.4.120.0070.01216.35
7.4.110.0150.00816.51
7.4.100.0090.00616.22
7.4.90.0150.00316.62
7.4.80.0080.00819.39
7.4.70.0070.01016.35
7.4.60.0110.00616.29
7.4.50.0000.01316.35
7.4.40.0090.00816.46
7.4.30.0030.01916.23
7.4.00.0070.00714.93
7.3.330.0030.00313.04
7.3.320.0040.00413.07
7.3.310.0000.00716.16
7.3.300.0030.00316.17
7.3.290.0060.00016.13
7.3.280.0100.00816.12
7.3.270.0100.01017.40
7.3.260.0100.01316.36
7.3.250.0130.00416.31
7.3.240.0100.00916.29
7.3.230.0070.01016.39
7.3.210.0090.00916.54
7.3.200.0080.00816.16
7.3.190.0060.01016.04
7.3.180.0140.00616.09
7.3.170.0160.00016.13
7.3.160.0170.00016.25
7.3.10.0060.00616.60
7.3.00.0070.00716.22
7.2.330.0120.00616.42
7.2.320.0150.00816.50
7.2.310.0110.01116.54
7.2.300.0130.00316.54
7.2.290.0140.01016.27
7.2.130.0040.01216.73
7.2.120.0030.01316.73
7.2.110.0160.00016.71
7.2.100.0060.00616.67
7.2.90.0090.00616.55
7.2.80.0030.01016.69
7.2.70.0110.00016.63
7.2.60.0080.00716.82
7.2.50.0120.00216.51
7.2.40.0050.00516.66
7.2.30.0070.00716.91
7.2.20.0000.01416.38
7.2.10.0030.00916.45
7.2.00.0050.01117.96
7.1.250.0000.00915.77
7.1.200.0030.01015.50
7.1.70.0040.00417.00
7.1.60.0060.00617.20
7.1.00.0030.07322.43
7.0.200.0500.00414.50
7.0.100.0100.05320.08
7.0.90.0170.06020.02
7.0.80.0100.06019.94
7.0.70.5470.05019.90
7.0.60.0030.06319.97
7.0.50.0030.06320.39
7.0.40.0070.05720.24
7.0.30.0070.06020.27
7.0.20.0130.05320.36
7.0.10.0030.06320.37
7.0.00.0100.05720.33
5.6.250.0100.05720.55
5.6.240.0170.06020.81
5.6.230.0130.05320.66
5.6.220.0130.06020.64
5.6.210.0100.05320.73
5.6.200.0200.05321.09
5.6.190.0170.04721.16
5.6.180.0100.06021.08
5.6.170.0100.05721.09
5.6.160.0030.06321.05
5.6.150.0170.05021.14
5.6.140.0170.05321.16
5.6.130.0170.08021.13
5.6.120.0070.06321.05
5.6.110.0100.05721.06
5.6.100.0130.05321.04
5.6.90.0070.06321.14
5.6.80.0030.06020.55
5.6.70.0070.06020.39
5.6.60.0030.05720.45
5.6.50.0070.05320.39
5.6.40.0130.05320.42
5.6.30.0030.05720.37
5.6.20.0070.05720.52
5.6.10.0100.05720.54
5.6.00.0070.05720.35

preferences:
48.77 ms | 401 KiB | 5 Q