3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ContainerInterface { public function has(string $id); } class Container implements ContainerInterface { public function has(string $id):bool { return false; } }

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.110.0100.00616.39
8.3.100.0090.00016.36
8.3.90.0040.00426.77
8.3.80.0000.00916.63
8.3.70.0110.00716.58
8.3.60.0140.00718.43
8.3.50.0130.00717.35
8.3.40.0110.00718.53
8.3.30.0060.00918.67
8.3.20.0050.00324.18
8.3.10.0040.00424.66
8.3.00.0040.00426.16
8.2.230.0040.00420.94
8.2.220.0050.00324.06
8.2.210.0070.00026.77
8.2.200.0030.00616.25
8.2.190.0070.00716.58
8.2.180.0110.00725.92
8.2.170.0110.00418.66
8.2.160.0060.00922.96
8.2.150.0080.00025.66
8.2.140.0080.00024.66
8.2.130.0080.00626.16
8.2.120.0050.00326.16
8.2.110.0060.00319.27
8.2.100.0090.00317.78
8.2.90.0040.00419.08
8.2.80.0040.00417.97
8.2.70.0080.00017.50
8.2.60.0000.00717.93
8.2.50.0080.00018.05
8.2.40.0070.00318.09
8.2.30.0040.00417.97
8.2.20.0040.00417.81
8.2.10.0040.00419.16
8.2.00.0040.00419.23
8.1.290.0000.00930.84
8.1.280.0110.00725.92
8.1.270.0040.00423.99
8.1.260.0000.00726.35
8.1.250.0000.01028.09
8.1.240.0130.00323.92
8.1.230.0030.00717.77
8.1.220.0040.00417.74
8.1.210.0000.00818.77
8.1.200.0030.00717.22
8.1.190.0030.00517.10
8.1.180.0050.00318.10
8.1.170.0000.00718.91
8.1.160.0020.00518.88
8.1.150.0040.00418.84
8.1.140.0040.00418.87
8.1.130.0000.00720.13
8.1.120.0070.00017.23
8.1.110.0000.00717.36
8.1.100.0040.00417.46
8.1.90.0030.00317.43
8.1.80.0000.00817.40
8.1.70.0000.00717.27
8.1.60.0000.00817.44
8.1.50.0030.00617.45
8.1.40.0050.00317.37
8.1.30.0040.00417.41
8.1.20.0050.00217.54
8.1.10.0000.00817.32
8.1.00.0040.00417.21
8.0.300.0000.00718.77
8.0.290.0040.00416.63
8.0.280.0040.00418.25
8.0.270.0000.00717.94
8.0.260.0030.00320.16
8.0.250.0070.00016.88
8.0.240.0040.00416.75
8.0.230.0030.00316.92
8.0.220.0000.00716.84
8.0.210.0040.00416.87
8.0.200.0000.00716.86
8.0.190.0070.00016.80
8.0.180.0050.00316.73
8.0.170.0000.00916.90
8.0.160.0040.00416.78
8.0.150.0040.00416.68
8.0.140.0080.00016.80
8.0.130.0050.00013.25
8.0.120.0000.00816.82
8.0.110.0000.00816.83
8.0.100.0000.00816.88
8.0.90.0000.00816.73
8.0.80.0110.00516.78
8.0.70.0070.00016.79
8.0.60.0040.00416.83
8.0.50.0030.00516.80
8.0.30.0050.01016.80
8.0.20.0130.00516.99
8.0.10.0110.00716.94
8.0.00.0100.00617.13
7.4.330.0060.00015.55
7.4.320.0000.00716.54
7.4.300.0000.00716.42
7.4.290.0000.00816.46
7.4.280.0000.00816.43
7.4.270.0040.00416.43
7.4.260.0030.00313.23
7.4.250.0070.00016.47
7.4.240.0030.00316.54
7.4.230.0070.00016.43
7.4.220.0050.00216.48
7.4.210.0070.00916.51
7.4.200.0030.00316.39
7.4.160.0110.00616.18
7.4.150.0040.01716.59
7.4.140.0090.00616.27
7.4.130.0080.00816.36
7.4.120.0080.00816.64
7.4.110.0110.00416.43
7.4.100.0070.01016.33
7.4.90.0160.00316.23
7.4.80.0180.00416.49
7.4.70.0160.00316.56
7.4.60.0110.00616.43
7.4.50.0100.00316.50
7.4.40.0110.00716.20
7.4.30.0000.01916.32
7.4.20.0140.00816.41
7.4.10.0090.00916.60
7.4.00.0130.00516.50
7.3.330.0000.00716.15
7.3.320.0050.00013.00
7.3.310.0040.00416.07
7.3.300.0050.00216.21
7.3.290.0100.00416.19
7.3.270.0110.00416.41
7.3.260.0090.00916.37
7.3.250.0180.00016.43
7.3.240.0090.00916.30
7.3.230.0090.00616.27
7.3.220.0050.01016.14
7.3.210.0070.01116.32
7.3.200.0060.01216.07
7.3.190.0140.00016.36
7.3.180.0100.00516.27
7.3.170.0140.00016.28
7.3.160.0100.01016.46
7.3.150.0060.01316.19
7.3.140.0130.00316.47
7.3.130.0150.00616.24
7.3.120.0130.00316.17
7.3.110.0000.02116.18
7.3.100.0070.00916.32
7.3.90.0090.00616.43
7.3.80.0070.00716.29
7.3.70.0100.00716.41
7.3.60.0140.00316.24
7.3.50.0090.00616.28
7.3.40.0080.01216.31
7.3.30.0140.00716.04
7.3.20.0100.01116.38
7.3.10.0140.00616.20
7.3.00.0110.01116.20

preferences:
61.82 ms | 403 KiB | 5 Q