3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(json_decode('null')); var_dump(json_decode('[1, 2, 3'));

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.0110.00719.64
8.4.10.0060.00319.59
8.3.150.0130.00717.21
8.3.140.0060.00318.75
8.3.130.0030.00618.43
8.3.120.0160.00320.71
8.3.110.0050.00318.31
8.3.100.0080.00316.66
8.3.90.0080.00026.77
8.3.80.0060.00317.97
8.3.70.0130.01018.05
8.3.60.0060.00918.25
8.3.50.0070.00717.89
8.3.40.0040.01121.78
8.3.30.0040.01118.42
8.3.20.0040.00424.18
8.3.10.0080.00024.66
8.3.00.0040.00426.16
8.2.270.0090.00918.66
8.2.260.0040.00420.48
8.2.250.0140.00016.48
8.2.240.0050.00517.18
8.2.230.0090.00620.94
8.2.220.0090.00624.06
8.2.210.0140.00426.77
8.2.200.0030.00618.16
8.2.190.0090.00618.38
8.2.180.0070.00725.92
8.2.170.0140.00018.79
8.2.160.0100.01022.96
8.2.150.0030.00525.66
8.2.140.0020.00524.66
8.2.130.0000.00826.16
8.2.120.0060.00619.07
8.2.110.0030.00620.96
8.2.100.0000.01117.66
8.2.90.0060.00318.16
8.2.80.0050.00318.09
8.2.70.0030.00619.10
8.2.60.0040.00417.50
8.2.50.0040.00417.55
8.2.40.0040.00419.23
8.2.30.0000.00917.61
8.2.20.0050.00217.92
8.2.10.0060.00319.00
8.2.00.0000.00819.17
8.1.310.0040.01416.70
8.1.300.0100.01015.93
8.1.290.0090.00030.84
8.1.280.0070.00725.92
8.1.270.0050.00223.99
8.1.260.0060.00326.35
8.1.250.0040.00428.09
8.1.240.0060.00322.36
8.1.230.0040.00720.97
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0040.00417.23
8.1.190.0040.00416.98
8.1.180.0000.01118.10
8.1.170.0040.00418.94
8.1.160.0030.00518.66
8.1.150.0020.00518.50
8.1.140.0050.00320.65
8.1.130.0000.00718.73
8.1.120.0030.00317.35
8.1.110.0040.00417.30
8.1.100.0050.00217.32
8.1.90.0070.00017.34
8.1.80.0070.00317.36
8.1.70.0000.00717.32
8.1.60.0060.00317.44
8.1.50.0000.00817.26
8.1.40.0000.00717.43
8.1.30.0000.00817.55
8.1.20.0000.00817.44
8.1.10.0000.00817.39
8.1.00.0040.00417.34
8.0.300.0000.00719.88
8.0.290.0000.00716.58
8.0.280.0040.00417.92
8.0.270.0040.00416.59
8.0.260.0030.00318.46
8.0.250.0090.00016.79
8.0.240.0000.00616.83
8.0.230.0030.00316.71
8.0.220.0000.00616.76
8.0.210.0070.00016.79
8.0.200.0060.00316.70
8.0.190.0000.00716.79
8.0.180.0070.00016.71
8.0.170.0050.00316.74
8.0.160.0100.00016.70
8.0.150.0050.00216.76
8.0.140.0040.00416.73
8.0.130.0000.00613.22
8.0.120.0040.00416.71
8.0.110.0000.00716.71
8.0.100.0040.00416.48
8.0.90.0000.00816.71
8.0.80.0040.00416.54
8.0.70.0040.00416.55
8.0.60.0060.00316.54
8.0.50.0040.00416.74
8.0.30.0070.00316.75
8.0.20.0040.00416.70
8.0.10.0050.00216.72
8.0.00.0000.00816.85
7.4.330.0000.00515.55
7.4.320.0000.00616.29
7.4.300.0030.00316.46
7.4.290.0040.00316.42
7.4.280.0060.00316.39
7.4.270.0030.00316.43
7.4.260.0040.00416.46
7.4.250.0000.00716.43
7.4.240.0040.00416.46
7.4.230.0030.00316.30
7.4.220.0070.00016.30
7.4.210.0000.00716.30
7.4.200.0030.00316.47
7.4.190.0030.00316.57
7.4.180.0030.00316.27
7.4.160.0030.00316.27
7.4.150.0000.00716.40
7.4.140.0000.00716.28
7.4.130.0000.00716.30
7.4.120.0070.00016.30
7.4.110.0040.00415.94
7.4.100.0080.00016.23
7.4.90.0030.00316.07
7.4.80.0000.00816.09
7.4.70.0060.00316.01
7.4.60.0050.00316.09
7.4.50.0000.00716.15
7.4.40.0030.00316.15
7.4.30.0030.00316.18
7.4.20.0000.00816.29
7.4.10.0080.00016.08
7.4.00.0070.00016.36
7.3.330.0030.00316.26
7.3.320.0000.00512.96
7.3.310.0060.00316.07
7.3.300.0000.00716.06
7.3.290.0020.00515.95
7.3.280.0000.00716.04
7.3.270.0000.00716.01
7.3.260.0000.00716.04
7.3.250.0030.00316.04
7.3.240.0000.00716.06
7.3.230.0000.00716.11
7.3.220.0000.00616.00
7.3.210.0030.00315.85
7.3.200.0030.00315.99
7.3.190.0030.00316.04
7.3.180.0030.00315.95
7.3.170.0040.00415.98
7.3.160.0000.00816.01
7.3.150.0060.00015.87
7.3.140.0030.00316.00
7.3.130.0000.00716.04
7.3.120.0030.00316.04
7.3.110.0050.00315.98
7.3.100.0000.00715.92
7.3.90.0020.00516.10
7.3.80.0030.00315.98
7.3.70.0030.00316.02
7.3.60.0070.00016.08
7.3.50.0000.00616.16
7.3.40.0030.00316.16
7.3.30.0060.00016.00
7.3.20.0000.00716.03
7.3.10.0070.00016.10
7.3.00.0000.00716.07

preferences:
68.87 ms | 402 KiB | 5 Q