3v4l.org

run code in 300+ PHP versions simultaneously
<?php $input = '{"carrier":"R&L Carriers","charge":"99.13","service_days":"Wednesday Oct. 22, 2014"}'; $parsed = json_decode($input); if (json_last_error() !== JSON_ERROR_NONE) { echo 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.0200.00018.43
8.3.50.0160.00521.09
8.3.40.0080.00618.67
8.3.30.0070.00719.09
8.3.20.0070.00020.30
8.3.10.0040.00423.53
8.3.00.0070.00419.26
8.2.180.0040.01116.63
8.2.170.0110.00422.96
8.2.160.0150.00020.35
8.2.150.0090.00024.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0070.00022.13
8.2.110.0060.00320.28
8.2.100.0040.00818.09
8.2.90.0000.00819.22
8.2.80.0080.00017.97
8.2.70.0080.00017.25
8.2.60.0000.00817.92
8.2.50.0000.00818.07
8.2.40.0030.00617.97
8.2.30.0030.00617.87
8.2.20.0070.00017.62
8.2.10.0040.00418.16
8.2.00.0000.00917.75
8.1.280.0110.00725.92
8.1.270.0090.00023.91
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0090.00023.83
8.1.230.0040.00818.98
8.1.220.0000.00917.76
8.1.210.0050.00318.77
8.1.200.0060.00317.25
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.44
8.1.160.0000.00721.91
8.1.150.0000.00718.85
8.1.140.0080.00017.36
8.1.130.0000.00717.74
8.1.120.0070.00017.41
8.1.110.0050.00217.41
8.1.100.0020.00517.35
8.1.90.0000.00717.41
8.1.80.0070.00017.29
8.1.70.0040.00417.28
8.1.60.0030.00617.46
8.1.50.0000.00917.42
8.1.40.0000.00817.42
8.1.30.0030.00517.54
8.1.20.0070.00017.47
8.1.10.0080.00017.46
8.1.00.0040.00417.45
8.0.300.0070.00018.77
8.0.290.0040.00416.58
8.0.280.0030.00318.36
8.0.270.0040.00416.71
8.0.260.0070.00017.19
8.0.250.0030.00316.79
8.0.240.0040.00416.89
8.0.230.0040.00416.79
8.0.220.0050.00516.78
8.0.210.0030.00416.78
8.0.200.0000.00716.88
8.0.190.0050.00316.88
8.0.180.0030.00316.73
8.0.170.0030.00616.87
8.0.160.0070.00016.75
8.0.150.0030.00616.73
8.0.140.0000.00716.64
8.0.130.0030.00313.31
8.0.120.0080.00016.82
8.0.110.0030.00316.92
8.0.100.0040.00416.90
8.0.90.0000.00716.82
8.0.80.0130.01016.77
8.0.70.0030.00416.68
8.0.60.0040.00416.64
8.0.50.0050.00316.80
8.0.30.0150.00617.10
8.0.20.0180.00417.40
8.0.10.0000.00716.82
8.0.00.0120.00717.09
7.4.330.0000.00615.14
7.4.320.0030.00316.64
7.4.300.0040.00416.61
7.4.290.0030.00316.59
7.4.280.0030.00616.47
7.4.270.0050.00316.40
7.4.260.0030.00316.37
7.4.250.0000.00716.59
7.4.240.0040.00316.40
7.4.230.0070.00016.69
7.4.220.0160.00316.48
7.4.210.0070.01016.54
7.4.200.0040.00416.53
7.4.160.0070.01016.48
7.4.150.0100.00717.40
7.4.140.0130.00817.86
7.4.130.0120.01016.96
7.4.120.0130.01016.88
7.4.110.0160.01017.24
7.4.100.0130.01017.19
7.4.90.0090.00917.16
7.4.80.0070.00918.63
7.4.70.0110.00617.20
7.4.60.0160.00517.15
7.4.50.0060.00916.97
7.4.40.0060.01117.14
7.4.30.0110.01017.14
7.4.20.0130.00717.86
7.4.10.0070.01417.86
7.4.00.0060.00915.95
7.3.330.0060.00013.07
7.3.320.0030.00512.96
7.3.310.0070.00016.34
7.3.300.0030.00316.11
7.3.290.0180.01816.21
7.3.280.0100.00816.17
7.3.270.0120.00617.40
7.3.260.0120.00617.86
7.3.250.0100.01316.81
7.3.240.0160.01017.07
7.3.230.0100.00917.14
7.3.220.0160.00517.86
7.3.210.0140.00316.92
7.3.200.0100.00818.63
7.3.190.0090.01017.08
7.3.180.0070.01017.13
7.3.170.0170.00117.13
7.3.160.0130.00517.01
7.3.150.0140.00317.86
7.3.140.0090.00917.86
7.3.130.0120.00617.86
7.3.120.0140.00816.29
7.3.110.0080.01016.13
7.3.100.0090.00616.32
7.3.90.0080.00916.39
7.3.80.0060.01216.32
7.3.70.0090.00916.18
7.3.60.0170.00416.39
7.3.50.0150.00716.28
7.3.40.0150.00916.31
7.3.30.0080.01216.39
7.3.20.0150.00817.13
7.3.10.0120.00617.05
7.3.00.0110.00916.95
7.2.340.0230.01117.86
7.2.330.0180.00817.09
7.2.320.0220.00617.13
7.2.310.0170.01217.18
7.2.300.0180.00717.14
7.2.290.0140.00917.09
7.2.280.0250.00917.86
7.2.270.0100.02117.86
7.2.260.0220.01517.86
7.2.250.0090.01416.35
7.2.240.0180.00616.36
7.2.230.0130.01216.48
7.2.220.0130.01116.28
7.2.210.0150.00816.38
7.2.200.0150.00616.40
7.2.190.0070.01816.40
7.2.180.0160.00916.45
7.2.170.0090.01216.26
7.2.160.0280.00317.86
7.2.150.0210.01217.86
7.2.140.0280.00317.86
7.2.130.0160.00817.31
7.2.120.0480.00717.23
7.2.110.0110.00917.39
7.2.100.0150.01017.32
7.2.90.0180.00617.37
7.2.80.0180.00717.26
7.2.70.0160.00817.41
7.2.60.0090.01417.38
7.2.50.0130.01117.29
7.2.40.0150.00817.31
7.2.30.0190.00817.27
7.2.20.0100.01117.21
7.2.10.0170.00717.33
7.2.00.0150.01117.87
7.1.330.0250.00416.79
7.1.320.0140.01016.72
7.1.310.0130.00816.76
7.1.300.0190.00416.74
7.1.290.0230.00316.81
7.1.280.0160.00516.91
7.1.270.0160.00516.76
7.1.260.0110.01116.80
7.1.250.0160.00716.83
7.1.240.0260.00617.86
7.1.230.0210.00717.86
7.1.220.0230.00717.86
7.1.210.0200.01217.86
7.1.200.0150.01517.86
7.1.190.0310.00017.86
7.1.180.0230.00417.86
7.1.170.0230.00817.86
7.1.160.0220.00817.86
7.1.150.0250.01217.86
7.1.140.0160.01117.86
7.1.130.0190.01017.86
7.1.120.0220.00617.86
7.1.110.0250.00317.86
7.1.100.0120.01218.02
7.1.90.0250.00317.86
7.1.80.0270.00717.86
7.1.70.0140.00917.49
7.1.60.0160.01118.59
7.1.50.0110.01417.40
7.1.40.0160.01317.86
7.1.30.0290.00717.86
7.1.20.0260.00317.86
7.1.10.0130.01617.86
7.1.00.0170.04020.08
7.0.330.0280.00417.86
7.0.320.0170.01317.86
7.0.310.0320.00517.86
7.0.300.0220.00517.86
7.0.290.0190.00817.86
7.0.280.0270.00017.86
7.0.270.0330.01117.86
7.0.260.0240.00317.86
7.0.250.0130.01317.86
7.0.240.0210.00617.86
7.0.230.0250.00317.86
7.0.220.0230.00317.86
7.0.210.0290.00517.86
7.0.200.0150.00917.29
7.0.190.0200.00817.86
7.0.180.0210.01117.86
7.0.170.0260.00017.86
7.0.160.0170.00917.86
7.0.150.0240.00717.86
7.0.140.0170.03819.88
7.0.130.0250.00817.86
7.0.120.0280.00417.86
7.0.110.0220.01117.86
7.0.100.0240.01117.86
7.0.90.0280.00817.86
7.0.80.0230.01517.86
7.0.70.0210.01617.86
7.0.60.0210.04218.94
7.0.50.0210.03117.83
7.0.40.0110.05319.05
7.0.30.0260.03419.01
7.0.20.0190.03419.01
7.0.10.0180.02918.93
7.0.00.0120.02719.02
5.6.400.0200.01017.86
5.6.390.0250.01917.86
5.6.380.0220.00717.86
5.6.370.0290.00617.86
5.6.360.0180.01217.86
5.6.350.0180.01917.86
5.6.340.0190.01317.86
5.6.330.0210.00817.86
5.6.320.0210.00817.86
5.6.310.0230.01017.86
5.6.300.0160.01617.86
5.6.290.0240.00717.86
5.6.280.0120.04119.46
5.6.270.0220.01217.86
5.6.260.0150.01817.86
5.6.250.0260.01217.86
5.6.240.0290.01317.86
5.6.230.0300.01217.86
5.6.220.0300.01317.86
5.6.210.0120.03919.23
5.6.200.0200.04318.04
5.6.190.0200.04119.12
5.6.180.1480.02719.21
5.6.170.0240.04119.17
5.6.160.0210.04119.09
5.6.150.0090.03718.01
5.6.140.0170.03918.03
5.6.130.0140.02918.01
5.6.120.0210.04419.50
5.6.110.0170.05019.45
5.6.100.0180.04019.49
5.6.90.0140.04719.46
5.6.80.0170.04419.12
5.6.70.2360.02419.10
5.6.60.0240.00417.86
5.6.50.0170.01417.86
5.6.40.0170.01517.86
5.6.30.0250.00417.86
5.6.20.0100.01717.86
5.6.10.0400.01217.86
5.6.00.0230.00617.86
5.5.380.0320.01117.86
5.5.370.0370.00917.86
5.5.360.0280.01517.86
5.5.350.0150.02219.09
5.5.340.0120.02917.90
5.5.330.0170.03919.14
5.5.320.0270.04819.03
5.5.310.0240.03619.07
5.5.300.0180.04217.85
5.5.290.0050.04017.92
5.5.280.0170.04619.24
5.5.270.0150.02519.31
5.5.260.0140.03219.25
5.5.250.0150.05119.22
5.5.240.0250.02219.05
5.5.230.0230.01017.86
5.5.220.0230.01117.86
5.5.210.0150.01517.86
5.5.200.0270.00317.86
5.5.190.0280.02517.86
5.5.180.0250.00617.86
5.5.170.0220.01117.86
5.5.160.0210.01117.86
5.5.150.0130.01917.86
5.5.140.0180.01117.86
5.5.130.0230.00617.86
5.5.120.0180.01017.86
5.5.110.0150.01517.86
5.5.100.0230.00317.86
5.5.90.0190.00917.86
5.5.80.0180.00917.86
5.5.70.0230.00517.86
5.5.60.0190.00717.86
5.5.50.0200.01317.86
5.5.40.0290.00017.86
5.5.30.0280.00017.86
5.5.20.0250.01017.86
5.5.10.0260.00317.86
5.5.00.0230.00817.86
5.4.450.0610.03218.66
5.4.440.0360.02118.66
5.4.430.0340.02318.72
5.4.420.0530.00318.50
5.4.410.0390.00518.63
5.4.400.0440.00318.50
5.4.390.0400.00418.38
5.4.380.0430.00418.41
5.4.370.0420.00418.41
5.4.360.0490.00418.40
5.4.350.0440.00418.46
5.4.340.0130.02414.91
5.4.330.0040.01717.86
5.4.320.0150.02515.16
5.4.310.0080.02715.15
5.4.300.0110.02115.16
5.4.290.0110.02415.15
5.4.280.0120.02015.10
5.4.270.0100.02815.10
5.4.260.0060.02715.10
5.4.250.0090.02315.10
5.4.240.0090.02215.10
5.4.230.0100.02315.10
5.4.220.0090.02215.10
5.4.210.0110.02115.10
5.4.200.0120.02115.10
5.4.190.0100.02215.10
5.4.180.0090.02215.10
5.4.170.0130.02215.10
5.4.160.0110.02415.10
5.4.150.0110.02115.10
5.4.140.0100.02914.94
5.4.130.0100.02114.93
5.4.120.0090.02414.91
5.4.110.0120.02014.91
5.4.100.0110.02114.91
5.4.90.0130.02014.91
5.4.80.0130.02514.91
5.4.70.0080.02414.91
5.4.60.0110.02414.91
5.4.50.0110.02014.91
5.4.40.0120.01914.90
5.4.30.0120.02014.90
5.4.20.0090.02414.90
5.4.10.0080.02314.90
5.4.00.0140.01814.65

preferences:
37.69 ms | 401 KiB | 5 Q