3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = '{"BACKGROUND":{"width":800,"height":480},"BANNER":{"width":520,"height":60}}'; var_dump(json_decode($json, true));

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.70.0060.00918.55
8.3.60.0100.00716.50
8.3.50.0110.00821.08
8.3.40.0120.00318.36
8.3.30.0000.01418.71
8.3.20.0070.00020.16
8.3.10.0000.00820.28
8.3.00.0040.00420.58
8.2.180.0110.00316.50
8.2.170.0170.00322.96
8.2.160.0070.00719.29
8.2.150.0040.00424.18
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0040.00420.77
8.2.110.0060.00322.24
8.2.100.0110.00017.78
8.2.90.0080.00017.84
8.2.80.0090.00017.97
8.2.70.0050.00317.93
8.2.60.0000.00818.03
8.2.50.0100.00018.10
8.2.40.0040.00420.60
8.2.30.0040.00420.31
8.2.20.0000.00717.92
8.2.10.0030.00518.02
8.2.00.0030.00517.49
8.1.280.0090.00925.92
8.1.270.0000.00923.82
8.1.260.0100.00326.35
8.1.250.0050.00528.09
8.1.240.0040.00820.39
8.1.230.0000.01120.80
8.1.220.0030.00620.91
8.1.210.0080.00018.77
8.1.200.0090.00017.22
8.1.190.0030.00617.10
8.1.180.0080.00018.10
8.1.170.0060.00318.80
8.1.160.0030.00522.05
8.1.150.0070.00018.93
8.1.140.0040.00419.62
8.1.130.0000.00817.56
8.1.120.0040.00417.45
8.1.110.0040.00417.39
8.1.100.0020.00517.38
8.1.90.0030.00517.25
8.1.80.0040.00417.40
8.1.70.0070.00017.30
8.1.60.0030.00617.53
8.1.50.0000.00917.45
8.1.40.0040.00417.43
8.1.30.0050.00317.58
8.1.20.0060.00317.49
8.1.10.0000.00817.46
8.1.00.0040.00417.42
8.0.300.0000.00721.96
8.0.290.0050.00316.63
8.0.280.0000.00718.38
8.0.270.0000.00717.23
8.0.260.0040.00417.25
8.0.250.0030.00316.80
8.0.240.0030.00316.88
8.0.230.0050.00216.76
8.0.220.0000.00716.84
8.0.210.0070.00016.84
8.0.200.0050.00316.75
8.0.190.0000.00816.79
8.0.180.0030.00316.84
8.0.170.0070.00016.74
8.0.160.0070.00016.87
8.0.150.0030.00316.68
8.0.140.0030.00716.69
8.0.130.0000.00913.29
8.0.120.0040.00416.68
8.0.110.0070.00016.73
8.0.100.0030.00316.76
8.0.90.0030.00516.66
8.0.80.0090.00616.89
8.0.70.0080.00316.81
8.0.60.0070.00016.62
8.0.50.0000.00716.68
8.0.30.0120.00616.96
8.0.20.0080.01217.40
8.0.10.0020.00516.95
8.0.00.0160.00816.61
7.4.330.0060.00015.08
7.4.320.0030.00316.58
7.4.300.0030.00316.43
7.4.290.0040.00416.54
7.4.280.0050.00216.41
7.4.270.0040.00416.58
7.4.260.0040.00416.53
7.4.250.0040.00416.47
7.4.240.0030.00316.43
7.4.230.0050.00216.51
7.4.220.0110.00716.45
7.4.210.0100.01016.57
7.4.200.0000.00616.64
7.4.150.0120.01217.40
7.4.140.0110.00717.86
7.4.130.0070.01016.42
7.4.120.0090.01116.46
7.4.110.0130.01016.61
7.4.100.0180.00616.29
7.4.90.0060.01116.38
7.4.80.0110.00719.39
7.4.70.0060.01016.39
7.4.60.0060.00916.44
7.4.50.0100.00316.47
7.4.40.0030.01416.09
7.4.30.0090.00816.43
7.4.10.0030.01315.08
7.4.00.0110.00514.75
7.3.330.0000.00512.98
7.3.320.0030.00313.01
7.3.310.0000.00716.16
7.3.300.0000.00716.05
7.3.290.0070.00716.13
7.3.280.0080.00916.13
7.3.270.0120.00617.40
7.3.260.0140.00616.17
7.3.250.0100.00916.16
7.3.240.0110.00616.39
7.3.230.0120.00916.39
7.3.210.0100.01316.10
7.3.200.0070.01716.08
7.3.190.0080.01116.30
7.3.180.0080.00816.45
7.3.170.0100.00616.26
7.3.160.0110.00716.28
7.3.130.0040.01514.95
7.3.120.0110.00714.93
7.3.110.0030.01314.91
7.3.100.0030.01014.64
7.3.90.0120.00014.73
7.3.80.0030.00914.63
7.3.70.0070.00714.38
7.3.60.0030.01314.52
7.3.50.0060.01214.84
7.3.40.0120.00614.83
7.3.30.0030.00914.70
7.3.20.0070.00416.28
7.3.10.0040.00816.41
7.3.00.0090.00716.40
7.2.330.0130.01016.39
7.2.320.0090.00916.20
7.2.310.0140.00916.46
7.2.300.0090.01016.25
7.2.290.0050.01016.32
7.2.260.0040.01214.82
7.2.250.0090.00914.84
7.2.240.0060.00615.05
7.2.230.0030.01214.72
7.2.220.0130.00614.73
7.2.210.0040.01114.91
7.2.200.0000.01014.61
7.2.190.0070.01114.63
7.2.180.0030.01414.91
7.2.170.0120.00614.81
7.2.160.0030.01014.57
7.2.150.0030.00916.91
7.2.140.0030.01016.75
7.2.130.0070.00816.66
7.2.120.0180.00416.65
7.2.110.0100.00416.69
7.2.100.0100.00716.62
7.2.90.0080.00816.61
7.2.80.0050.00816.74
7.2.70.0020.01016.57
7.2.60.0110.00516.67
7.2.50.0120.00716.72
7.2.40.0110.01016.69
7.2.30.0060.00716.73
7.2.20.0080.00716.51
7.2.10.0160.00516.67
7.2.00.0120.00716.47
7.1.330.0060.00615.77
7.1.320.0090.00615.77
7.1.310.0040.00715.61
7.1.300.0000.01115.60
7.1.290.0100.00615.68
7.1.280.0100.00315.63
7.1.270.0030.01215.61
7.1.260.0000.00915.76
7.1.250.0100.00415.63
7.1.240.0030.00615.65
7.1.230.0100.00315.41
7.1.220.0000.01415.79
7.1.210.0060.00615.75
7.1.200.0080.00515.68
7.1.190.0030.00815.78
7.1.180.0070.00715.71
7.1.170.0090.00615.82
7.1.160.0060.00915.83
7.1.150.0120.00315.50
7.1.140.0040.01115.46
7.1.130.0030.01015.67
7.1.120.0000.01015.70
7.1.110.0060.00315.96
7.1.100.0090.00615.78
7.1.90.0000.01315.36
7.1.80.0120.00615.69
7.1.70.0000.01116.46
7.1.60.0020.01416.25
7.1.50.0000.01715.76
7.1.40.0040.01115.82
7.1.30.0060.00615.80
7.1.20.0090.00015.66
7.1.10.0040.01115.72
7.1.00.0080.03818.96
7.0.330.0110.00015.08
7.0.320.0070.01015.03
7.0.310.0030.01015.54
7.0.300.0100.00015.34
7.0.290.0040.01115.17
7.0.280.0060.01015.32
7.0.270.0030.01315.30
7.0.260.0040.01115.30
7.0.250.0030.00715.41
7.0.240.0030.01315.13
7.0.230.0100.00615.33
7.0.220.0070.00715.48
7.0.210.0000.01115.16
7.0.200.0070.00715.15
7.0.190.0110.00315.25
7.0.180.0070.01115.51
7.0.170.0030.01315.25
7.0.160.0000.01215.36
7.0.150.0140.00015.32
7.0.140.0070.00715.32
7.0.130.0080.00415.39
7.0.120.0000.00815.00
7.0.110.6550.03217.78
7.0.100.0270.03117.89
7.0.90.0300.04017.69
7.0.80.0200.03317.64
7.0.70.0250.03817.73
7.0.60.0290.03317.60
7.0.50.0170.03517.94
7.0.40.0170.03416.78
7.0.30.0150.03416.80
7.0.20.0200.03516.81
7.0.10.0190.03916.81
7.0.00.0300.04016.90
5.6.400.0090.00614.21
5.6.390.0030.01014.37
5.6.380.0070.01014.38
5.6.370.0090.00913.77
5.6.360.0040.01214.21
5.6.350.0040.00714.05
5.6.340.0080.00314.24
5.6.330.0060.00614.32
5.6.320.0070.00714.15
5.6.310.0070.00714.40
5.6.300.0030.01214.06
5.6.290.0080.00414.14
5.6.280.0060.00614.40
5.6.270.0040.00814.13
5.6.260.0090.03217.56
5.6.250.0090.03417.58
5.6.240.0110.03817.52
5.6.230.0080.03017.50
5.6.220.0070.03917.52
5.6.210.0080.03317.74
5.6.200.0080.03517.71
5.6.190.0100.03017.73
5.6.180.0080.03317.42
5.6.170.0100.03217.37
5.6.160.0110.03317.59
5.6.150.0070.04717.62
5.6.140.0080.04717.67
5.6.130.0130.04217.47
5.6.120.0120.04217.53
5.6.110.0100.04617.55
5.6.100.0070.03317.55
5.6.90.0140.04217.54
5.6.80.0120.02517.19
5.6.70.0170.02517.07
5.6.60.0050.03617.24
5.6.50.0160.02617.14
5.6.40.0040.03717.13
5.6.30.0080.04017.39
5.6.20.0110.04317.11
5.6.10.0170.03217.10
5.6.00.0140.03417.27

preferences:
69.93 ms | 401 KiB | 5 Q