3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = json_decode(null); var_dump($a); var_dump(json_last_error());

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.0040.01116.63
8.3.50.0100.00821.92
8.3.40.0000.01418.53
8.3.30.0070.00718.45
8.3.20.0070.00020.18
8.3.10.0050.00323.65
8.3.00.0050.00219.66
8.2.180.0110.01116.88
8.2.170.0110.00822.96
8.2.160.0070.00720.52
8.2.150.0000.00824.18
8.2.140.0060.00324.66
8.2.130.0100.00019.27
8.2.120.0040.00426.35
8.2.110.0030.00620.47
8.2.100.0040.00817.80
8.2.90.0040.00419.08
8.2.80.0080.00017.97
8.2.70.0030.00617.63
8.2.60.0050.00317.80
8.2.50.0030.00618.07
8.2.40.0070.00419.22
8.2.30.0090.00020.59
8.2.20.0070.00017.63
8.2.10.0030.00517.98
8.2.00.0030.00617.86
8.1.280.0120.00625.92
8.1.270.0100.01022.07
8.1.260.0040.00428.09
8.1.250.0040.00428.09
8.1.240.0090.00022.18
8.1.230.0110.00017.66
8.1.220.0000.00917.74
8.1.210.0080.00018.77
8.1.200.0040.00417.22
8.1.190.0000.00717.39
8.1.180.0000.00818.10
8.1.170.0060.00318.65
8.1.160.0000.00720.75
8.1.150.0040.00418.81
8.1.140.0030.00519.50
8.1.130.0040.00417.62
8.1.120.0000.00717.41
8.1.110.0040.00417.33
8.1.100.0040.00417.27
8.1.90.0040.00417.34
8.1.80.0000.00717.27
8.1.70.0000.00917.33
8.1.60.0050.00217.54
8.1.50.0030.00517.36
8.1.40.0000.00817.49
8.1.30.0050.00317.54
8.1.20.0000.00817.58
8.1.10.0040.00417.48
8.1.00.0040.00417.41
8.0.300.0000.00818.77
8.0.290.0040.00416.63
8.0.280.0040.00418.28
8.0.270.0000.00717.23
8.0.260.0060.00017.16
8.0.250.0030.00316.79
8.0.240.0030.00316.87
8.0.230.0000.00716.94
8.0.220.0070.00016.85
8.0.210.0030.00516.71
8.0.200.0060.00016.82
8.0.190.0050.00216.84
8.0.180.0030.00316.77
8.0.170.0070.00016.74
8.0.160.0030.00316.86
8.0.150.0050.00216.82
8.0.140.0030.00516.79
8.0.130.0050.00513.22
8.0.120.0000.00816.75
8.0.110.0030.00616.83
8.0.100.0040.00416.61
8.0.90.0030.00316.93
8.0.80.0100.00716.85
8.0.70.0070.00016.78
8.0.60.0000.00716.85
8.0.50.0040.00416.76
8.0.30.0060.01217.04
8.0.20.0140.00817.40
8.0.10.0040.00417.05
8.0.00.0090.01116.65
7.4.330.0050.00016.77
7.4.320.0000.00616.40
7.4.300.0000.00716.48
7.4.290.0030.00316.53
7.4.280.0040.00416.34
7.4.270.0030.00316.42
7.4.260.0000.00716.36
7.4.250.0050.00316.49
7.4.240.0000.00716.49
7.4.230.0070.00016.40
7.4.220.0120.00616.46
7.4.210.0090.00916.48
7.4.200.0000.00716.34
7.4.160.0060.01516.45
7.4.150.0150.00617.40
7.4.140.0120.00817.86
7.4.130.0090.01016.33
7.4.120.0100.00716.36
7.4.110.0100.00716.48
7.4.100.0120.01216.44
7.4.90.0140.00316.42
7.4.80.0130.00719.39
7.4.70.0100.00716.34
7.4.60.0080.01516.40
7.4.50.0070.01016.29
7.4.40.0030.01316.18
7.4.30.0100.01216.35
7.4.00.0070.00714.88
7.3.330.0050.00012.87
7.3.320.0020.00212.88
7.3.310.0040.00415.94
7.3.300.0040.00416.08
7.3.290.0070.00716.15
7.3.280.0100.00716.12
7.3.270.0130.01317.40
7.3.260.0060.01016.44
7.3.250.0100.00816.31
7.3.240.0100.00716.18
7.3.230.0110.00616.39
7.3.210.0070.01016.20
7.3.200.0110.00616.17
7.3.190.0100.00716.15
7.3.180.0070.00716.16
7.3.170.0100.00716.27
7.3.160.0170.00016.08
7.2.330.0090.00916.40
7.2.320.0030.01416.25
7.2.310.0100.00716.39
7.2.300.0120.00616.22
7.2.290.0130.00316.33
7.2.60.0100.00316.94
7.2.00.0030.00919.33
7.1.200.0070.00715.29
7.1.100.0030.00818.18
7.1.70.0000.00717.16
7.1.60.0090.01619.50
7.1.50.0070.01416.80
7.1.00.0070.07322.37
7.0.200.0360.00314.48
7.0.60.0130.05719.92
7.0.50.0070.08317.80
7.0.40.0030.07720.23
7.0.30.0270.07020.04
7.0.20.0200.04320.13
7.0.10.0070.06320.04
7.0.00.0070.08320.17
5.6.280.0000.08020.88
5.6.210.0070.05020.66
5.6.200.0000.04318.22
5.6.190.0170.07720.35
5.6.180.0470.07020.41
5.6.170.0230.07320.52
5.6.160.0100.08320.48
5.6.150.0070.03718.11
5.6.140.0130.05318.21
5.6.130.0000.04318.21
5.6.120.0170.07720.97
5.6.110.0200.07021.00
5.6.100.0070.04320.98
5.6.90.0100.08021.00
5.6.80.0070.08320.34
5.5.350.4300.03720.31
5.5.340.0000.04018.00
5.5.330.0030.04720.15
5.5.320.0030.08720.37
5.5.310.0300.07320.29
5.5.300.0030.08317.92
5.5.290.0000.04717.91
5.5.280.0100.08320.86
5.5.270.0030.09320.86
5.5.260.0100.07020.83
5.5.250.0070.04020.69
5.5.240.0270.06320.18

preferences:
42.51 ms | 401 KiB | 5 Q