3v4l.org

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

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.0100.01017.45
8.4.10.0130.00717.27
8.3.150.0110.00716.93
8.3.140.0040.00417.05
8.3.130.0060.00318.35
8.3.120.0090.00018.84
8.3.110.0110.00720.94
8.3.100.0080.00324.06
8.3.90.0050.00326.77
8.3.80.0060.00319.36
8.3.70.0140.00016.23
8.3.60.0140.00718.30
8.3.50.0130.00422.06
8.3.40.0110.00418.85
8.3.30.0000.01418.78
8.3.20.0000.00820.21
8.3.10.0000.00821.78
8.3.00.0040.00419.14
8.2.260.0030.00716.40
8.2.250.0000.01518.41
8.2.240.0090.00018.66
8.2.230.0030.00622.58
8.2.220.0070.00337.54
8.2.210.0110.00426.77
8.2.200.0060.00318.88
8.2.190.0060.01220.30
8.2.180.0100.01018.31
8.2.170.0000.02118.74
8.2.160.0040.01122.96
8.2.150.0050.00324.18
8.2.140.0040.00424.66
8.2.130.0030.00626.16
8.2.120.0000.00719.64
8.2.110.0090.00022.05
8.2.100.0070.00418.22
8.2.90.0070.00319.22
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0030.00517.91
8.2.50.0050.00318.07
8.2.40.0000.00818.22
8.2.30.0000.00717.98
8.2.20.0000.00817.60
8.2.10.0080.00017.98
8.2.00.0030.00617.63
8.1.310.0000.01818.22
8.1.300.0060.00919.46
8.1.290.0060.00330.84
8.1.280.0110.00725.92
8.1.270.0060.00318.88
8.1.260.0000.00826.35
8.1.250.0040.00428.09
8.1.240.0090.00023.98
8.1.230.0050.00519.02
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00617.35
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0080.00018.59
8.1.160.0040.00421.93
8.1.150.0000.00718.78
8.1.140.0040.00417.34
8.1.130.0050.00317.77
8.1.120.0000.00717.29
8.1.110.0040.00417.29
8.1.100.0000.00717.28
8.1.90.0040.00417.29
8.1.80.0030.00617.32
8.1.70.0030.00317.29
8.1.60.0090.00317.50
8.1.50.0050.00317.34
8.1.40.0040.00417.39
8.1.30.0080.00017.48
8.1.20.0040.00417.45
8.1.10.0040.00417.26
8.1.00.0000.00917.34
8.0.300.0040.00418.77
8.0.290.0070.00016.60
8.0.280.0070.00018.37
8.0.270.0050.00216.86
8.0.260.0000.00717.09
8.0.250.0060.00016.97
8.0.240.0000.00816.96
8.0.230.0050.00216.96
8.0.220.0000.00716.77
8.0.210.0000.00716.89
8.0.200.0020.00516.87
8.0.190.0000.00716.93
8.0.180.0000.00716.91
8.0.170.0050.00316.94
8.0.160.0030.00516.89
8.0.150.0040.00416.87
8.0.140.0040.00416.75
8.0.130.0000.00613.37
8.0.120.0080.00016.74
8.0.110.0040.00416.77
8.0.100.0000.00816.93
8.0.90.0040.00416.66
8.0.80.0100.01016.94
8.0.70.0000.00716.80
8.0.60.0040.00416.97
8.0.50.0050.00216.77
8.0.30.0000.01616.98
8.0.20.0100.00817.40
8.0.10.0080.00017.01
8.0.00.0110.00816.70
7.4.330.0030.00315.07
7.4.320.0030.00316.52
7.4.300.0000.00616.50
7.4.290.0030.00316.28
7.4.280.0000.00716.51
7.4.270.0050.00216.40
7.4.260.0030.00316.27
7.4.250.0030.00316.40
7.4.240.0040.00316.48
7.4.230.0000.00716.50
7.4.220.0110.00816.47
7.4.210.0060.01116.45
7.4.200.0100.00016.55
7.4.160.0090.00616.23
7.4.150.0090.00917.40
7.4.140.0080.01017.86
7.4.130.0080.01116.54
7.4.120.0110.00616.46
7.4.110.0130.00716.38
7.4.100.0080.00816.39
7.4.90.0120.00416.50
7.4.80.0140.00319.39
7.4.70.0130.00916.45
7.4.60.0100.00616.41
7.4.50.0040.00416.38
7.4.40.0160.00316.54
7.4.30.0070.01016.42
7.4.00.0070.00714.66
7.3.330.0050.00013.05
7.3.320.0000.00513.07
7.3.310.0000.00616.02
7.3.300.0000.00716.05
7.3.290.0050.01116.18
7.3.280.0090.00816.17
7.3.270.0120.00817.40
7.3.260.0110.00616.29
7.3.250.0110.01316.19
7.3.240.0120.00416.28
7.3.230.0070.01116.39
7.3.210.0080.00816.24
7.3.200.0000.01619.39
7.3.190.0100.00716.31
7.3.180.0130.00716.51
7.3.170.0130.00316.38
7.3.160.0130.00316.18
7.2.330.0160.00316.51
7.2.320.0130.01016.43
7.2.310.0130.00316.30
7.2.300.0100.01016.57
7.2.290.0130.00516.50
7.2.60.0030.01016.60
7.2.00.0040.00819.18
7.1.200.0080.00815.27
7.1.100.0060.00317.90
7.1.70.0000.00817.22
7.1.60.0100.01419.46
7.1.50.0110.01416.61
7.1.00.0030.07722.32
7.0.200.0750.00714.93
7.0.140.0070.03022.16
7.0.110.0600.07719.96
7.0.100.0670.06719.96
7.0.90.0570.05020.07
7.0.80.0600.07020.04
7.0.70.0600.07719.94
7.0.60.0700.05720.04
7.0.50.0630.07320.15
7.0.40.0070.08020.05
7.0.30.0170.07020.06
7.0.20.0070.07720.18
7.0.10.0100.06320.17
7.0.00.0070.07020.27
5.6.280.0000.07721.01
5.6.260.0030.07720.69
5.6.250.0100.07720.69
5.6.240.0000.04720.69
5.6.230.0070.08020.54
5.6.220.0100.07320.69
5.6.210.0030.08720.61
5.6.200.0100.08021.14
5.6.190.0200.07320.98
5.6.180.0200.07321.08
5.6.170.0070.06020.94
5.6.160.0200.03721.11
5.6.150.0030.08321.05
5.6.140.0170.06721.05
5.6.130.0100.04721.07
5.6.120.0030.08321.17
5.6.110.0100.08021.08
5.6.100.0130.07320.94
5.6.90.0070.08321.03
5.6.80.0170.03720.53
5.6.70.0070.08320.28
5.6.60.0070.07320.49
5.6.50.0170.06720.46
5.6.40.0100.07720.30
5.6.30.0030.08320.45
5.6.20.0030.07320.47
5.6.10.0070.08020.49
5.6.00.0100.08320.48
5.5.380.0070.06720.51
5.5.370.0170.07320.46
5.5.360.0130.08020.45
5.5.350.0030.08020.36
5.5.340.0030.08020.70
5.5.330.0130.04720.70
5.5.320.0130.07320.94
5.5.310.0200.06020.98
5.5.300.0100.08320.77
5.5.290.0300.04321.01
5.5.280.0030.08320.98
5.5.270.0230.06320.80
5.5.260.0100.07020.91
5.5.250.0070.08020.70
5.5.240.0200.04720.07
5.5.230.0130.07020.39
5.5.220.0000.07720.32
5.5.210.0100.04720.21
5.5.200.0100.07320.05
5.5.190.0130.07720.16
5.5.180.0170.06720.07
5.5.160.0170.07320.23
5.5.150.0100.08020.16
5.5.140.0100.05020.21
5.5.130.0030.05720.29
5.5.120.0030.07020.08
5.5.110.0130.07720.23
5.5.100.0170.07020.05
5.5.90.0000.05720.22
5.5.80.0100.07320.10
5.5.70.0130.07720.21
5.5.60.0070.06020.04
5.5.50.0070.04020.23
5.5.40.0030.08020.17
5.5.30.0170.07320.01
5.5.20.0070.08020.02
5.5.10.0030.05320.11
5.5.00.0070.06020.10
5.4.450.0200.06319.27
5.4.440.0030.08019.29
5.4.430.0000.08019.52
5.4.420.0030.07319.50
5.4.410.0130.04319.18
5.4.400.0070.08319.03
5.4.390.0100.07718.95
5.4.380.0000.08319.27
5.4.370.0000.08019.07
5.4.360.0130.07319.11
5.4.350.0100.06319.10
5.4.340.0100.08019.25
5.4.320.0130.07019.25
5.4.310.0100.07319.27
5.4.300.0100.07718.98
5.4.290.0000.07719.17
5.4.280.0000.06018.93
5.4.270.0100.07319.18
5.4.260.0030.07319.03
5.4.250.0030.06718.95
5.4.240.0070.07719.09
5.4.230.0070.07319.07
5.4.220.0130.07019.08
5.4.210.0070.07319.11
5.4.200.0100.07318.97
5.4.190.0200.06019.26
5.4.180.0130.06719.17
5.4.170.0100.07019.02
5.4.160.0100.07718.93
5.4.150.0070.08318.96
5.4.140.0000.07716.30
5.4.130.0030.07716.20
5.4.120.0100.07716.36
5.4.110.0100.04716.18
5.4.100.0030.04316.51
5.4.90.0100.04716.38
5.4.80.0030.03716.26
5.4.70.0130.03716.52
5.4.60.0100.03016.49
5.4.50.0030.04016.36
5.4.40.0030.03716.40
5.4.30.0030.04316.50
5.4.20.0070.03016.35
5.4.10.0100.03016.34
5.4.00.0000.04015.63
5.3.290.0030.05714.76
5.3.280.0070.04714.59
5.3.270.0100.07014.61
5.3.260.0000.08714.45
5.3.250.0100.07314.45
5.3.240.0070.07714.48
5.3.230.0030.08014.39
5.3.220.0100.05014.42
5.3.210.0030.07314.43
5.3.200.0030.05014.50
5.3.190.0100.03714.35
5.3.180.0000.04314.48
5.3.170.0070.05014.55
5.3.160.0000.04014.50
5.3.150.0030.03714.42
5.3.140.0030.06314.54
5.3.130.0030.03714.60
5.3.120.0030.03714.61
5.3.110.0070.03314.60
5.3.100.0030.03713.93
5.3.90.0070.04014.08
5.3.80.0000.04014.03
5.3.70.0030.03714.11
5.3.60.0100.02713.79
5.3.50.0070.03014.01
5.3.40.0030.05313.73
5.3.30.0030.06013.75
5.3.20.0100.03713.55
5.3.10.0030.07713.54
5.3.00.0030.04313.46
5.2.170.0000.03312.04
5.2.160.0030.02712.04
5.2.150.0030.03012.04
5.2.140.0030.04312.04
5.2.130.0030.05012.04
5.2.120.0070.05012.04
5.2.110.0100.04312.04
5.2.100.0030.03012.04
5.2.90.0070.02312.04
5.2.80.0000.03312.04
5.2.70.0070.04012.04
5.2.60.0070.02312.04
5.2.50.0000.03012.04
5.2.40.0000.03012.04
5.2.30.0030.02712.04
5.2.20.0000.02712.04
5.2.10.0100.04312.04
5.2.00.0000.03312.04
5.1.60.0030.02312.04
5.1.50.0000.04312.04
5.1.40.0000.02312.04
5.1.30.0000.02712.04
5.1.20.0000.04312.04
5.1.10.0000.03312.04
5.1.00.0030.02312.04
5.0.50.0030.03012.04
5.0.40.0030.01712.04
5.0.30.0030.02712.04
5.0.20.0030.03312.04
5.0.10.0030.01712.04
5.0.00.0000.03012.04
4.4.90.0030.01312.04
4.4.80.0030.01312.04
4.4.70.0030.01312.04
4.4.60.0000.01312.04
4.4.50.0030.01312.04
4.4.40.0000.02312.04
4.4.30.0070.02712.04
4.4.20.0000.01712.04
4.4.10.0000.02712.04
4.4.00.0000.02712.04
4.3.110.0000.01712.04
4.3.100.0000.01312.04
4.3.90.0000.01712.04
4.3.80.0000.02312.04
4.3.70.0000.02012.04
4.3.60.0000.01312.04
4.3.50.0000.01312.04
4.3.40.0000.02312.04
4.3.30.0000.01312.04
4.3.20.0000.01712.04
4.3.10.0000.02012.04
4.3.00.0000.01312.04

preferences:
41.54 ms | 403 KiB | 5 Q