3v4l.org

run code in 300+ PHP versions simultaneously
<?php $json = <<< 'EOD' { "int": "1234", "float": "1234.5678" } EOD; var_dump(json_decode($json));

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.4.20.0070.01317.66
8.4.10.0100.00717.64
8.3.150.0090.00617.27
8.3.140.0080.00016.86
8.3.130.0050.00318.42
8.3.120.0040.00418.59
8.3.110.0000.00920.94
8.3.100.0040.00424.06
8.3.90.0130.00626.77
8.3.80.0040.00416.63
8.3.70.0110.00418.30
8.3.60.0150.00618.43
8.3.50.0090.01221.95
8.3.40.0140.00718.79
8.3.30.0040.01118.95
8.3.20.0070.00720.33
8.3.10.0040.00421.78
8.3.00.0060.00318.76
8.2.260.0070.00716.52
8.2.250.0080.00016.82
8.2.240.0030.00618.86
8.2.230.0080.00022.58
8.2.220.0000.00837.54
8.2.210.0110.00426.77
8.2.200.0080.00316.38
8.2.190.0120.00616.58
8.2.180.0070.00718.29
8.2.170.0150.00022.96
8.2.160.0140.00020.92
8.2.150.0070.00024.18
8.2.140.0090.00624.66
8.2.130.0070.00026.16
8.2.120.0040.00419.54
8.2.110.0040.00420.52
8.2.100.0070.00418.09
8.2.90.0030.00619.16
8.2.80.0060.00317.97
8.2.70.0030.00517.38
8.2.60.0030.00617.91
8.2.50.0040.00418.07
8.2.40.0040.00418.03
8.2.30.0000.00717.86
8.2.20.0000.00717.49
8.2.10.0030.00518.04
8.2.00.0030.00617.53
8.1.310.0120.00618.49
8.1.300.0080.00018.26
8.1.290.0030.00618.88
8.1.280.0030.01425.92
8.1.270.0040.00418.68
8.1.260.0060.00326.35
8.1.250.0030.00628.09
8.1.240.0040.00422.05
8.1.230.0080.00319.21
8.1.220.0040.00417.74
8.1.210.0080.00018.77
8.1.200.0030.00617.00
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.65
8.1.160.0060.00321.93
8.1.150.0070.00018.86
8.1.140.0040.00417.29
8.1.130.0000.00817.82
8.1.120.0000.00717.36
8.1.110.0070.00017.42
8.1.100.0040.00417.32
8.1.90.0000.00717.46
8.1.80.0000.00717.27
8.1.70.0030.00317.28
8.1.60.0050.00317.51
8.1.50.0040.00417.49
8.1.40.0000.00717.50
8.1.30.0000.00817.50
8.1.20.0040.00417.59
8.1.10.0040.00417.43
8.1.00.0040.00417.36
8.0.300.0070.00018.77
8.0.290.0040.00416.75
8.0.280.0070.00018.30
8.0.270.0030.00317.14
8.0.260.0050.00217.06
8.0.250.0000.00716.99
8.0.240.0040.00416.88
8.0.230.0050.00216.99
8.0.220.0030.00316.79
8.0.210.0030.00316.89
8.0.200.0000.00616.84
8.0.190.0000.00816.82
8.0.180.0000.00716.82
8.0.170.0040.00416.79
8.0.160.0060.00316.90
8.0.150.0050.00216.87
8.0.140.0040.00416.91
8.0.130.0000.00513.27
8.0.120.0040.00416.80
8.0.110.0000.00716.78
8.0.100.0070.00016.83
8.0.90.0030.00316.88
8.0.80.0150.00616.81
8.0.70.0000.00816.80
8.0.60.0040.00416.89
8.0.50.0040.00416.90
8.0.30.0120.01417.05
8.0.20.0110.00917.40
8.0.10.0040.00417.00
8.0.00.0100.00816.66
7.4.330.0050.00015.03
7.4.320.0000.00716.51
7.4.300.0030.00316.43
7.4.290.0030.00316.55
7.4.280.0000.00716.28
7.4.270.0040.00416.50
7.4.260.0040.00416.50
7.4.250.0000.00716.50
7.4.240.0020.00516.45
7.4.230.0050.00216.60
7.4.220.0120.00616.53
7.4.210.0060.01316.58
7.4.200.0040.00416.33
7.4.160.0090.01516.15
7.4.150.0110.00617.40
7.4.140.0090.01217.86
7.4.130.0110.00616.40
7.4.120.0080.01016.47
7.4.110.0080.01116.40
7.4.100.0060.01216.49
7.4.90.0140.00316.25
7.4.80.0120.00619.39
7.4.70.0100.00716.54
7.4.60.0050.01416.61
7.4.50.0040.00416.58
7.4.40.0130.00316.47
7.4.30.0000.01616.27
7.4.00.0100.00815.08
7.3.330.0000.00512.96
7.3.320.0000.00513.11
7.3.310.0040.00416.32
7.3.300.0040.00416.22
7.3.290.0080.00816.19
7.3.280.0070.01016.20
7.3.270.0100.00617.40
7.3.260.0070.01016.23
7.3.250.0150.00216.32
7.3.240.0130.00316.33
7.3.230.0030.01516.40
7.3.210.0080.00816.27
7.3.200.0130.00319.39
7.3.190.0090.01216.29
7.3.180.0090.00616.27
7.3.170.0140.00316.30
7.3.160.0090.00916.54
7.3.120.0030.01114.78
7.3.110.0050.00814.71
7.3.100.0050.01014.53
7.3.90.0060.01014.77
7.3.80.0090.00814.82
7.3.70.0070.00514.58
7.3.60.0060.00914.52
7.3.50.0050.01114.70
7.3.40.0030.01014.66
7.3.30.0030.00814.64
7.3.20.0070.00716.40
7.3.10.0070.00716.58
7.3.00.0030.01016.56
7.2.330.0060.01316.44
7.2.320.0130.01216.21
7.2.310.0110.00716.54
7.2.300.0060.00916.37
7.2.290.0090.00916.62
7.2.250.0030.01315.01
7.2.240.0080.01114.84
7.2.230.0070.01214.86
7.2.220.0050.00514.69
7.2.210.0050.01114.72
7.2.200.0100.00214.80
7.2.190.0060.00314.93
7.2.180.0080.00314.78
7.2.170.0040.00914.84
7.2.60.0030.01016.60
7.2.00.0110.01118.95
7.1.330.0060.00815.70
7.1.320.0070.00515.71
7.1.310.0080.00515.49
7.1.300.0080.00615.73
7.1.290.0080.00715.64
7.1.280.0040.01015.56
7.1.270.0020.00915.62
7.1.260.0040.00615.48
7.1.200.0070.00715.71
7.1.100.0030.01017.84
7.1.70.0060.00617.04
7.1.60.0090.01619.46
7.1.50.0140.01016.82
7.1.00.0030.07722.44
7.0.200.0700.00414.40
7.0.140.0000.05022.08
7.0.100.0370.06019.96
7.0.90.0430.05319.89
7.0.80.0330.04719.91
7.0.70.0330.06719.92
7.0.60.0230.09020.02
7.0.50.0300.08320.16
7.0.40.0030.04320.14
7.0.30.0030.05320.19
7.0.20.0130.07020.10
7.0.10.0030.06020.07
7.0.00.0070.08020.07
5.6.280.0030.07321.07
5.6.250.0100.05320.71
5.6.240.0100.04720.69
5.6.230.0100.08720.59
5.6.220.0200.07320.52
5.6.210.0130.08020.74
5.6.200.0100.06721.06
5.6.190.0070.04721.08
5.6.180.0170.07721.02
5.6.170.0100.05721.02
5.6.160.0100.05321.07
5.6.150.0070.05720.95
5.6.140.0130.05721.16
5.6.130.0170.07021.01
5.6.120.0100.04321.02
5.6.110.0100.08721.04
5.6.100.0170.07721.05
5.6.90.0030.05321.07
5.6.80.0100.04320.52
5.6.70.0070.05020.42
5.6.60.0100.08320.41
5.6.50.0070.06020.32
5.6.40.0000.08720.30
5.6.30.0030.08720.40
5.6.20.0070.05320.35
5.6.10.0100.05320.52
5.6.00.0000.06320.37
5.5.380.0070.04720.50
5.5.370.0030.06720.44
5.5.360.0100.05720.35
5.5.350.0170.04720.46
5.5.340.0100.07320.92
5.5.330.0000.06720.83
5.5.320.0070.06320.80
5.5.310.0170.04020.83
5.5.300.0170.07320.91
5.5.290.0170.07320.88
5.5.280.0100.08020.90
5.5.270.0000.05020.86
5.5.260.0070.05320.75
5.5.250.0030.06020.64
5.5.240.0070.05720.29
5.5.230.0070.07320.25
5.5.220.0100.04320.20
5.5.210.0070.08020.02
5.5.200.0100.05020.12
5.5.190.0130.05020.14
5.5.180.0070.08320.17
5.5.160.0070.07720.27
5.5.150.0100.07320.12
5.5.140.0130.07320.10
5.5.130.0070.08720.16
5.5.120.0170.07020.14
5.5.110.0100.05320.27
5.5.100.0070.07019.96
5.5.90.0000.04320.07
5.5.80.0100.04720.09
5.5.70.0100.06720.15
5.5.60.0170.06720.08
5.5.50.0130.06320.12
5.5.40.0200.06019.99
5.5.30.0130.06320.13
5.5.20.0070.07320.14
5.5.10.0030.06020.05
5.5.00.0030.08319.96
5.4.450.0100.08319.43
5.4.440.0100.06019.43
5.4.430.0070.07719.38
5.4.420.0070.05719.41
5.4.410.0100.07319.31
5.4.400.0070.04719.08
5.4.390.0170.03019.09
5.4.380.0170.06719.06
5.4.370.0100.07319.03
5.4.360.0030.04019.14
5.4.350.0130.07019.03
5.4.340.0070.07319.09
5.4.320.0130.06018.96
5.4.310.0070.07718.81
5.4.300.0100.06319.11
5.4.290.0070.05719.05
5.4.280.0000.07319.07
5.4.270.0070.06019.02
5.4.260.0170.04719.03
5.4.250.0070.06719.09
5.4.240.0030.05719.04
5.4.230.0030.08318.80
5.4.220.0000.04319.02
5.4.210.0070.05318.93
5.4.200.0170.07019.14
5.4.190.0100.07018.77
5.4.180.0030.08319.13
5.4.170.0030.06319.13
5.4.160.0170.07018.76
5.4.150.0070.07719.07
5.4.140.0200.03716.32
5.4.130.0100.07316.34
5.4.120.0100.06016.34
5.4.110.0130.06716.42
5.4.100.0070.03316.30
5.4.90.0270.03716.32
5.4.80.0170.06316.20
5.4.70.0070.07716.30
5.4.60.0070.07316.18
5.4.50.0130.06316.35
5.4.40.0130.06316.41
5.4.30.0000.07316.38
5.4.20.0070.07316.25
5.4.10.0070.06716.41
5.4.00.0030.05315.50
5.3.290.0170.05014.60
5.3.280.0230.06314.45
5.3.270.0130.07014.59
5.3.260.0030.07714.46
5.3.250.0100.06314.47
5.3.240.0100.07014.61
5.3.230.0170.06314.59
5.3.220.0100.03714.47
5.3.210.0030.08314.40
5.3.200.0100.04714.50
5.3.190.0070.07714.51
5.3.180.0070.04014.40
5.3.170.0030.07714.54
5.3.160.0030.09714.54
5.3.150.0000.04714.40
5.3.140.0130.05714.49
5.3.130.0100.07314.52
5.3.120.0070.07714.54
5.3.110.0100.06714.50
5.3.100.0030.07014.17
5.3.90.0070.07314.17
5.3.80.0070.04014.17
5.3.70.0100.08014.17
5.3.60.0070.04314.17
5.3.50.0070.03314.17
5.3.40.0070.05014.17
5.3.30.0070.07714.17
5.3.20.0030.07314.17
5.3.10.0100.06714.17
5.3.00.0030.07314.17
5.2.170.0030.05314.17
5.2.160.0070.03014.17
5.2.150.0030.05014.17
5.2.140.0000.05014.17
5.2.130.0070.05314.17
5.2.120.0100.04314.17
5.2.110.0000.07014.17
5.2.100.0130.05314.17
5.2.90.0070.03314.17
5.2.80.0030.06014.17
5.2.70.0030.06314.17
5.2.60.0030.06314.17
5.2.50.0100.05014.17
5.2.40.0000.05314.17
5.2.30.0000.04714.17
5.2.20.0030.04714.17
5.2.10.0000.05314.17
5.2.00.0000.04714.17
5.1.60.0070.02714.17
5.1.50.0070.05314.17
5.1.40.0070.03314.17
5.1.30.0000.05714.17
5.1.20.0030.06014.17
5.1.10.0000.03714.17
5.1.00.0030.05014.17
5.0.50.0100.03314.17
5.0.40.0070.04014.17
5.0.30.0070.06314.17
5.0.20.0030.03714.17
5.0.10.0030.02714.17
5.0.00.0030.06314.17
4.4.90.0000.03314.17
4.4.80.0030.03314.17
4.4.70.0030.03314.17
4.4.60.0030.03314.17
4.4.50.0000.03714.17
4.4.40.0030.05014.17
4.4.30.0070.02714.17
4.4.20.0000.03014.17
4.4.10.0100.01714.17
4.4.00.0000.05014.17
4.3.110.0000.03314.17
4.3.100.0130.02314.17
4.3.90.0030.02714.17
4.3.80.0000.04314.17
4.3.70.0070.02714.17
4.3.60.0030.02314.17
4.3.50.0030.02314.17
4.3.40.0000.03314.17
4.3.30.0070.03014.17
4.3.20.0030.03014.17
4.3.10.0030.03314.17
4.3.00.0030.02314.17

preferences:
36.25 ms | 403 KiB | 5 Q