3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface CarType extends VehicleType {} interface VanType extends CarType {} interface VehicleType {} interface CarFactory { function build(CarType $type); } class VanFactory implements CarFactory { function build(VehicleType $type) {} }

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.150.0020.00014.05
8.4.140.0130.00817.41
8.4.130.0140.00717.76
8.4.120.0110.00920.71
8.4.110.0110.00922.59
8.4.100.0140.00717.53
8.4.90.0100.00822.29
8.4.80.0060.00517.40
8.4.70.0040.00418.21
8.4.60.0170.00418.80
8.4.50.0060.00318.66
8.4.40.0070.01120.41
8.4.30.0090.00923.93
8.4.20.0040.01519.88
8.4.10.0140.00319.55
8.3.280.0080.00720.07
8.3.270.0080.01116.50
8.3.260.0060.01116.57
8.3.250.0060.00218.73
8.3.240.0130.00716.46
8.3.230.0050.00416.44
8.3.220.0090.00920.92
8.3.210.0090.01318.42
8.3.200.0040.00516.59
8.3.190.0080.01017.18
8.3.180.0140.00616.63
8.3.170.0090.00917.01
8.3.160.0150.00320.35
8.3.150.0000.01818.92
8.3.140.0000.00817.27
8.3.130.0060.00318.52
8.3.120.0090.00018.91
8.3.110.0030.00516.63
8.3.100.0070.00316.64
8.3.90.0100.00716.61
8.3.80.0090.00017.97
8.3.70.0040.01116.50
8.3.60.0120.00918.43
8.3.50.0130.00723.64
8.3.40.0060.00918.71
8.3.30.0070.00718.73
8.3.20.0040.00420.68
8.3.10.0030.00621.95
8.3.00.0040.00421.67
8.2.290.0050.00320.41
8.2.280.0080.00218.05
8.2.270.0040.01118.80
8.2.260.0070.01116.45
8.2.250.0050.00316.43
8.2.240.0040.01516.71
8.2.230.0030.00520.94
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0030.00618.41
8.2.190.0180.00016.58
8.2.180.0150.00416.47
8.2.170.0140.00022.96
8.2.160.0040.01122.13
8.2.150.0080.00024.18
8.2.140.0050.00324.66
8.2.130.0070.00026.16
8.2.120.0080.00026.16
8.2.110.0000.01021.91
8.2.100.0000.01117.59
8.2.90.0030.00517.75
8.2.80.0000.00917.97
8.2.70.0050.00317.38
8.2.60.0000.00817.50
8.2.50.0040.00417.98
8.2.40.0000.00718.20
8.2.30.0030.00517.89
8.2.20.0000.00717.85
8.2.10.0040.00419.23
8.2.00.0000.00819.17
8.1.330.0120.00621.96
8.1.320.0140.01116.09
8.1.310.0000.00818.12
8.1.300.0060.00319.45
8.1.290.0060.00318.88
8.1.280.0140.00325.92
8.1.270.0060.00320.63
8.1.260.0040.00426.35
8.1.250.0070.00728.09
8.1.240.0090.00022.47
8.1.230.0080.00417.70
8.1.220.0050.00317.74
8.1.210.0040.00418.77
8.1.200.0050.00517.38
8.1.190.0080.00017.23
8.1.180.0090.00018.10
8.1.170.0040.00417.62
8.1.160.0000.00720.52
8.1.150.0070.00020.61
8.1.140.0040.00422.05
8.1.130.0030.00320.18
8.1.120.0000.00717.30
8.1.110.0040.00417.39
8.1.100.0040.00417.22
8.1.90.0000.00817.38
8.1.80.0050.00317.36
8.1.70.0000.00717.26
8.1.60.0050.00317.43
8.1.50.0000.00717.48
8.1.40.0000.00817.33
8.1.30.0000.00817.56
8.1.20.0000.00817.59
8.1.10.0000.00817.36
8.1.00.0000.00817.35
8.0.300.0030.00621.59
8.0.290.0060.00316.63
8.0.280.0000.00718.36
8.0.270.0070.00017.97
8.0.260.0030.00320.13
8.0.250.0040.00416.91
8.0.240.0060.00616.90
8.0.230.0000.00816.95
8.0.220.0000.00716.82
8.0.210.0000.00716.80
8.0.200.0000.00816.86
8.0.190.0040.00416.83
8.0.180.0080.00016.86
8.0.170.0060.00316.72
8.0.160.0040.00416.71
8.0.150.0030.00616.74
8.0.140.0040.00416.70
8.0.130.0000.00513.25
8.0.120.0030.00516.72
8.0.110.0070.00016.82
8.0.100.0040.00416.60
8.0.90.0040.00416.69
8.0.80.0100.00516.72
8.0.70.0040.00416.79
8.0.60.0040.00416.88
8.0.50.0020.00516.85
8.0.30.0000.01717.02
8.0.20.0060.01316.94
8.0.10.0040.00417.00
8.0.00.0130.00716.50
7.4.330.0020.00216.76
7.4.320.0000.00616.42
7.4.300.0030.00316.42
7.4.290.0080.00016.50
7.4.280.0000.00816.41
7.4.270.0000.00716.43
7.4.260.0000.00613.11
7.4.250.0040.00416.38
7.4.240.0040.00416.49
7.4.230.0030.00316.51
7.4.220.0050.00216.42
7.4.210.0090.00916.48
7.4.200.0000.00716.40
7.4.130.0080.01216.39
7.4.120.0090.01216.43
7.4.110.0060.01516.38
7.4.100.0060.01216.31
7.4.90.0100.00716.48
7.4.80.0030.01319.39
7.4.70.0090.00916.63
7.4.60.0160.00616.32
7.4.50.0000.01216.40
7.4.40.0100.00716.52
7.4.10.0030.01214.64
7.4.00.0030.01114.67
7.3.330.0000.00716.27
7.3.320.0060.00013.18
7.3.310.0040.00416.13
7.3.300.0030.00316.11
7.3.290.0060.01216.23
7.3.280.0070.01116.28
7.3.260.0100.00716.57
7.3.240.0080.01016.33
7.3.230.0150.00916.19
7.3.210.0060.01616.21
7.3.200.0130.00316.24
7.3.190.0030.01416.31
7.3.180.0110.01116.40
7.3.170.0110.00616.20
7.3.160.0110.00816.26
7.3.130.0110.00414.73
7.3.120.0070.00714.63
7.3.110.0110.00414.60
7.3.100.0110.00414.61
7.3.90.0110.00214.55
7.3.80.0130.00314.52
7.3.70.0000.01314.77
7.3.60.0100.00314.24
7.3.50.0090.00614.45
7.3.40.0140.00014.36
7.3.30.0040.00914.70
7.3.20.0150.00014.53
7.3.10.0050.00814.82
7.3.00.0080.00514.56
7.2.330.0120.00416.53
7.2.320.0160.00716.38
7.2.310.0060.01016.59
7.2.300.0030.01716.42
7.2.290.0140.00316.64
7.2.260.0000.01514.79
7.2.250.0030.01114.62
7.2.240.0040.01114.61
7.2.230.0070.01014.91
7.2.220.0120.00414.70
7.2.210.0070.00714.63
7.2.200.0140.00314.82
7.2.190.0060.00914.63
7.2.180.0100.00514.50
7.2.170.0030.01214.67
7.2.160.0030.01214.63
7.2.150.0040.01014.91
7.2.140.0110.00314.80
7.2.130.0050.00814.86
7.2.120.0080.00814.92
7.2.110.0000.01414.37
7.2.100.0060.00914.95
7.2.90.0090.00614.76
7.2.80.0000.01514.68
7.2.70.0030.01314.79
7.2.60.0080.00814.88
7.2.50.0100.00514.63
7.2.40.0030.01214.58
7.2.30.0070.01614.69
7.2.20.0140.00914.60
7.2.10.0110.00414.73
7.2.00.0090.00514.82

preferences:
223.73 ms | 403 KiB | 5 Q