3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('{}', true, 2147483647, JSON_THROW_ON_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.5.00.0130.01019.65
8.4.150.0020.00114.05
8.4.140.0110.01017.22
8.4.130.0140.00518.75
8.4.120.0120.00523.93
8.4.110.0080.00120.66
8.4.100.0050.00618.67
8.4.90.0130.00620.21
8.4.80.0040.00418.57
8.4.70.0090.01220.63
8.4.60.0140.00618.57
8.4.50.0120.00919.28
8.4.40.0130.00318.58
8.4.30.0100.01018.75
8.4.20.0120.00619.57
8.4.10.0060.00324.06
8.3.280.0120.00718.20
8.3.270.0130.00716.50
8.3.260.0110.00916.45
8.3.250.0070.00818.70
8.3.240.0040.00417.09
8.3.230.0050.00416.65
8.3.220.0140.00518.93
8.3.210.0140.00616.43
8.3.200.0140.00616.26
8.3.190.0090.00916.99
8.3.180.0080.00716.34
8.3.170.0050.00516.78
8.3.160.0090.00916.56
8.3.150.0120.00618.81
8.3.140.0070.00718.72
8.3.130.0050.00316.52
8.3.120.0030.00620.46
8.3.110.0040.00418.28
8.3.100.0040.00416.23
8.3.90.0110.00326.77
8.3.80.0040.00418.43
8.3.70.0070.01016.58
8.3.60.0090.00616.38
8.3.50.0090.00618.37
8.3.40.0210.00019.98
8.3.30.0150.00018.35
8.3.20.0070.00724.18
8.3.10.0000.00724.66
8.3.00.0040.00426.16
8.2.290.0080.00820.37
8.2.280.0100.00918.14
8.2.270.0140.00719.08
8.2.260.0100.00718.79
8.2.250.0100.01016.56
8.2.240.0040.00416.89
8.2.230.0000.00820.94
8.2.220.0040.00724.06
8.2.210.0110.00726.77
8.2.200.0030.00616.25
8.2.190.0070.00718.16
8.2.180.0120.00625.92
8.2.170.0120.00318.84
8.2.160.0100.00322.96
8.2.150.0070.00025.66
8.2.140.0030.00624.66
8.2.130.0040.00426.16
8.2.120.0000.00821.13
8.2.110.0100.00021.13
8.2.100.0060.00617.50
8.2.90.0000.00819.10
8.2.80.0040.00417.97
8.2.70.0000.00817.25
8.2.60.0040.00417.91
8.2.50.0030.00618.07
8.2.40.0050.00319.88
8.2.30.0030.00717.80
8.2.20.0000.00720.53
8.2.10.0080.00018.09
8.2.00.0040.00419.10
8.1.330.0120.00522.00
8.1.320.0070.01215.92
8.1.310.0040.00416.63
8.1.300.0040.00417.86
8.1.290.0090.00330.84
8.1.280.0110.00425.92
8.1.270.0070.00324.66
8.1.260.0080.00026.35
8.1.250.0040.00428.09
8.1.240.0060.00324.03
8.1.230.0060.00617.63
8.1.220.0000.00817.74
8.1.210.0030.00518.77
8.1.200.0100.00017.11
8.1.190.0000.00717.10
8.1.180.0000.00918.10
8.1.170.0040.00418.59
8.1.160.0070.00018.79
8.1.150.0000.00818.50
8.1.140.0000.00717.21
8.1.130.0050.00417.37
8.1.120.0120.00417.37
8.1.110.0130.00317.41
8.1.100.0040.00417.43
8.1.90.0000.00717.38
8.1.80.0000.00717.37
8.1.70.0040.00417.42
8.1.60.0000.00917.54
8.1.50.0140.00417.50
8.1.40.0120.00517.54
8.1.30.0000.00817.51
8.1.20.0000.00917.43
8.1.10.0040.00417.44
8.1.00.0070.00417.37
8.0.300.0000.00718.77
8.0.290.0030.00516.63
8.0.280.0050.00318.30
8.0.270.0070.00016.68
8.0.260.0030.00817.37
8.0.250.0090.00217.37
8.0.240.0070.00517.37
8.0.230.0050.00517.37
8.0.220.0120.00417.37
8.0.210.0060.01117.37
8.0.200.0110.00517.37
8.0.190.0050.01017.37
8.0.180.0100.00017.37
8.0.170.0070.00317.37
8.0.160.0080.00317.37
8.0.150.0080.00417.37
8.0.140.0080.00417.37
8.0.130.0070.00217.37
8.0.120.0060.00317.37
8.0.110.0090.00017.37
8.0.100.0120.00017.37
8.0.90.0040.00817.37
8.0.80.0070.00217.37
8.0.70.0080.00617.37
8.0.60.0060.00317.37
8.0.50.0070.00317.37
8.0.30.0000.01217.37
8.0.20.0000.01417.37
8.0.10.0150.00717.37

preferences:
39.28 ms | 403 KiB | 5 Q