3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = "{ \"idMissing\": { \"en\": \"Object must have an id property.\" }, \"invalidBody\": { \"en\": \"Passing in the 'body' request\n option as an array to send a POST request has been deprecated.\n Please use the 'form_params' request option to send a\n application/x-www-form-urlencoded request, or a the 'multipart'\n request option to send a multipart/form-data request.\" } }"; $b = json_decode($a); print_r($b);

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.0110.00416.50
8.3.50.0110.01116.36
8.3.40.0160.00018.47
8.3.30.0120.00318.58
8.3.20.0040.00418.35
8.3.10.0040.00421.84
8.3.00.0050.00320.90
8.2.180.0100.01316.50
8.2.170.0070.00722.96
8.2.160.0120.00318.95
8.2.150.0040.00424.18
8.2.140.0080.00024.66
8.2.130.0040.00426.16
8.2.120.0070.00417.80
8.2.110.0090.00021.04
8.2.100.0040.00719.34
8.2.90.0040.00419.01
8.2.80.0040.00420.36
8.2.70.0050.00317.38
8.2.60.0050.00317.63
8.2.50.0040.00417.93
8.2.40.0000.00819.30
8.2.30.0040.00420.60
8.2.20.0030.00517.71
8.2.10.0000.00818.12
8.2.00.0030.00317.98
8.1.280.0070.00725.92
8.1.270.0080.00023.79
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0080.00022.05
8.1.230.0140.00022.75
8.1.220.0040.00417.74
8.1.210.0000.00818.87
8.1.200.0030.00617.23
8.1.190.0070.00317.23
8.1.180.0060.00318.10
8.1.170.0060.00317.62
8.1.160.0040.00420.81
8.1.150.0000.00718.88
8.1.140.0070.00019.52
8.1.130.0070.00017.65
8.1.120.0050.00317.40
8.1.110.0040.00417.35
8.1.100.0040.00417.41
8.1.90.0000.00717.28
8.1.80.0040.00417.29
8.1.70.0030.00317.23
8.1.60.0040.00417.45
8.1.50.0030.00617.34
8.1.40.0060.00617.42
8.1.30.0000.00717.49
8.1.20.0000.00717.45
8.1.10.0000.00717.21
8.1.00.0090.00017.27
8.0.300.0060.00320.11
8.0.290.0000.00916.75
8.0.280.0030.00318.35
8.0.270.0030.00617.20
8.0.260.0080.00017.25
8.0.250.0000.00716.96
8.0.240.0030.00316.82
8.0.230.0000.00716.96
8.0.220.0030.00316.75
8.0.210.0040.00416.72
8.0.200.0000.00616.92
8.0.190.0040.00416.80
8.0.180.0000.00716.84
8.0.170.0030.00516.76
8.0.160.0000.00816.82
8.0.150.0000.00716.77
8.0.140.0050.00316.81
8.0.130.0060.00013.22
8.0.120.0030.00516.76
8.0.110.0000.00816.73
8.0.100.0030.00516.70
8.0.90.0040.00416.65
8.0.80.0080.00816.89
8.0.70.0050.00216.74
8.0.60.0040.00416.68
8.0.50.0000.00816.92
8.0.30.0030.01616.97
8.0.20.0090.01017.40
8.0.10.0090.00017.07
8.0.00.0110.01016.73
7.4.330.0000.00615.08
7.4.320.0030.00316.50
7.4.300.0000.00816.51
7.4.290.0000.00716.37
7.4.280.0030.00316.41
7.4.270.0070.00016.57
7.4.260.0030.00316.54
7.4.250.0030.00316.34
7.4.240.0040.00416.48
7.4.230.0040.00416.33
7.4.220.0060.01216.45
7.4.210.0120.00316.52
7.4.200.0000.00716.63
7.4.160.0070.01016.22
7.4.150.0080.01217.40
7.4.140.0070.01217.86
7.4.130.0100.00816.38
7.4.120.0110.00716.36
7.4.110.0060.01116.27
7.4.100.0060.01016.62
7.4.90.0030.01316.61
7.4.80.0030.01219.39
7.4.70.0030.01416.42
7.4.60.0060.00916.43
7.4.50.0000.01416.14
7.4.40.0110.00616.31
7.4.30.0040.01316.43
7.4.00.0020.01214.77
7.3.330.0000.00512.98
7.3.320.0050.00012.89
7.3.310.0000.00816.18
7.3.300.0030.00316.15
7.3.290.0030.01216.16
7.3.280.0080.00916.08
7.3.270.0160.00717.40
7.3.260.0060.01216.60
7.3.250.0090.00916.30
7.3.240.0070.01016.31
7.3.230.0080.00816.39
7.3.210.0060.01216.18
7.3.200.0070.01116.20
7.3.190.0000.01616.24
7.3.180.0130.00316.26
7.3.170.0070.01016.23
7.3.160.0110.00516.04
7.3.120.0100.00714.73
7.3.110.0100.00714.95
7.3.100.0140.00014.76
7.3.90.0040.01114.68
7.3.80.0120.00314.46
7.3.70.0120.00314.71
7.3.60.0050.00514.52
7.3.50.0050.00514.45
7.3.40.0120.00314.44
7.3.30.0040.00714.71
7.3.20.0090.00016.58
7.3.10.0070.00516.39
7.3.00.0100.00216.36
7.2.330.0090.00916.66
7.2.320.0070.01416.61
7.2.310.0070.01016.30
7.2.300.0070.01416.46
7.2.290.0070.01416.35
7.2.250.0060.01515.11
7.2.240.0100.01014.93
7.2.230.0000.01814.98
7.2.220.0070.00315.04
7.2.210.0000.00914.49
7.2.200.0030.01215.02
7.2.190.0060.00314.91
7.2.180.0100.00714.74
7.2.170.0110.00714.83
7.2.130.0080.00516.74
7.2.120.0040.01116.76
7.2.110.0040.00416.66
7.2.100.0090.00416.88
7.2.90.0030.01016.55
7.2.80.0030.00716.90
7.2.70.0060.00916.79
7.2.60.0050.00716.83
7.2.50.0020.01116.69
7.2.40.0090.00316.76
7.2.30.0120.00016.80
7.2.20.0070.00716.99
7.2.10.0070.00716.80
7.2.00.0100.00517.96
7.1.330.0130.00315.58
7.1.320.0040.00415.84
7.1.310.0090.00315.99
7.1.300.0030.00815.80
7.1.290.0090.00315.83
7.1.280.0000.01715.64
7.1.270.0030.00915.72
7.1.260.0100.00715.33
7.1.250.0070.00715.74
7.1.200.0080.00315.64
7.1.100.0070.00318.04
7.1.70.0000.01517.10
7.1.60.0100.01420.41
7.1.00.0100.07022.57
7.0.200.0610.00414.73
7.0.60.0000.03721.82
7.0.50.0100.08017.79
7.0.40.0170.06320.13
7.0.30.0130.07720.14
7.0.20.0170.06020.21
7.0.10.0200.05720.25
7.0.00.0170.06020.17
5.6.280.0000.07721.06
5.6.210.0000.04320.72
5.6.200.0000.04318.21
5.6.190.0200.06020.43
5.6.180.0230.05320.57
5.6.170.0230.08020.34
5.6.160.0170.05320.42
5.6.150.0100.06320.39
5.6.140.0130.06320.14
5.6.130.0230.05320.14
5.6.120.0200.06320.36
5.6.110.0170.05320.38
5.6.100.0170.06320.24
5.6.90.0400.04720.13
5.6.80.0170.07319.68
5.6.70.0330.05719.60
5.6.60.0400.04719.83
5.6.50.0300.05319.60
5.6.40.0470.06719.85
5.6.30.0470.05319.50
5.6.20.0330.05719.47
5.6.10.0430.05719.71
5.6.00.0300.06019.81
5.5.350.0370.05320.33
5.5.340.0100.06717.91
5.5.330.0130.06020.18
5.5.320.0230.05320.16
5.5.310.0300.07020.30
5.5.300.0130.06320.18
5.5.290.0100.06020.05
5.5.280.0070.07020.10
5.5.270.0130.05720.15
5.5.260.0370.06319.82
5.5.250.0230.05720.00
5.5.240.0200.05019.41
5.5.230.0300.07019.46
5.5.220.0270.06019.43
5.5.210.0270.06019.39
5.5.200.0270.06019.37
5.5.190.0330.05319.44
5.5.180.0430.04719.40
5.5.160.0330.05319.56
5.5.150.0400.05019.55
5.5.140.0330.05319.36
5.5.130.0100.05719.39
5.5.120.0200.05719.37
5.5.110.0200.05019.42
5.5.100.0300.05719.08
5.5.90.0270.05019.46
5.5.80.0230.05019.50
5.5.70.0200.05019.27
5.5.60.0170.05319.29
5.5.50.0130.05319.08
5.5.40.0200.06319.31
5.5.30.0130.06019.14
5.5.20.0300.04019.17
5.5.10.0300.04319.41
5.5.00.0170.05719.29

preferences:
77.52 ms | 401 KiB | 5 Q