3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface CarType {} interface VanType extends CarType {} interface CarFactory { function build(CarType $type); } class VanFactory implements CarFactory { function build(VanType $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.0110.01017.58
8.4.130.0040.00917.93
8.4.120.0120.00820.81
8.4.110.0120.00918.66
8.4.100.0120.01017.58
8.4.90.0130.00817.78
8.4.80.0130.00717.90
8.4.70.0090.00518.29
8.4.60.0090.00718.61
8.4.50.0020.00718.37
8.4.40.0160.00320.31
8.4.30.0040.01523.95
8.4.20.0110.00719.70
8.4.10.0090.00619.71
8.3.280.0020.00114.05
8.3.270.0080.01116.83
8.3.260.0090.01116.82
8.3.250.0100.00917.20
8.3.240.0080.01016.66
8.3.230.0100.00916.70
8.3.220.0130.00516.61
8.3.210.0120.00718.75
8.3.200.0050.00316.61
8.3.190.0070.01017.21
8.3.180.0100.00516.66
8.3.170.0080.00017.23
8.3.160.0060.01320.25
8.3.150.0140.00418.84
8.3.140.0080.00016.98
8.3.130.0070.01018.63
8.3.120.0080.00018.95
8.3.110.0040.00416.75
8.3.100.0050.00316.92
8.3.90.0110.00716.40
8.3.80.0030.00717.97
8.3.70.0120.00316.50
8.3.60.0100.00718.55
8.3.50.0070.00623.64
8.3.40.0090.00618.71
8.3.30.0070.00718.55
8.3.20.0040.00420.60
8.3.10.0080.00022.10
8.3.00.0000.00721.91
8.2.290.0130.00518.82
8.2.280.0060.00418.30
8.2.270.0120.00918.75
8.2.260.0120.00616.48
8.2.250.0080.00016.84
8.2.240.0200.00017.17
8.2.230.0090.00020.94
8.2.220.0040.00424.06
8.2.210.0040.00426.77
8.2.200.0100.00018.14
8.2.190.0110.00416.58
8.2.180.0100.00716.50
8.2.170.0070.00722.96
8.2.160.0110.00321.96
8.2.150.0000.00824.18
8.2.140.0050.00324.66
8.2.130.0040.00426.16
8.2.120.0080.00026.16
8.2.110.0070.00422.16
8.2.100.0060.00617.75
8.2.90.0040.00417.50
8.2.80.0030.00617.97
8.2.70.0060.00317.61
8.2.60.0000.00817.50
8.2.50.0000.00817.98
8.2.40.0060.00318.20
8.2.30.0030.00518.07
8.2.20.0000.00718.00
8.2.10.0050.00219.11
8.2.00.0040.00419.08
8.1.330.0080.01116.15
8.1.320.0080.01116.22
8.1.310.0040.00418.44
8.1.300.0040.00419.63
8.1.290.0090.00018.88
8.1.280.0030.01425.92
8.1.270.0000.00820.67
8.1.260.0040.00426.35
8.1.250.0080.00628.09
8.1.240.0000.00822.52
8.1.230.0070.00317.64
8.1.220.0000.00817.74
8.1.210.0080.00018.77
8.1.200.0030.00617.23
8.1.190.0040.00417.10
8.1.180.0080.00018.10
8.1.170.0000.00817.62
8.1.160.0000.00820.61
8.1.150.0000.00820.59
8.1.140.0050.00222.12
8.1.130.0000.00717.39
8.1.120.0000.00717.28
8.1.110.0000.00817.35
8.1.100.0000.00717.35
8.1.90.0030.00617.38
8.1.80.0030.00617.46
8.1.70.0000.00817.38
8.1.60.0030.00517.49
8.1.50.0070.00017.44
8.1.40.0080.00017.36
8.1.30.0000.01017.41
8.1.20.0000.00817.41
8.1.10.0000.00817.27
8.1.00.0040.00417.30
8.0.300.0000.00721.59
8.0.290.0000.00716.75
8.0.280.0070.00018.39
8.0.270.0050.00217.93
8.0.260.0030.00316.81
8.0.250.0000.00716.97
8.0.240.0070.00417.00
8.0.230.0000.00816.83
8.0.220.0050.00216.78
8.0.210.0000.00716.77
8.0.200.0030.00516.91
8.0.190.0040.00416.93
8.0.180.0000.00916.89
8.0.170.0060.00316.82
8.0.160.0000.00816.87
8.0.150.0000.00916.81
8.0.140.0000.00716.82
8.0.130.0050.00013.30
8.0.120.0000.00816.85
8.0.110.0040.00416.84
8.0.100.0040.00416.89
8.0.90.0030.00616.90
8.0.80.0120.00316.77
8.0.70.0040.00416.66
8.0.60.0050.00316.71
8.0.50.0000.00916.75
8.0.30.0070.01017.10
8.0.20.0060.01317.21
8.0.10.0040.00416.91
8.0.00.0090.00916.82
7.4.330.0000.00516.76
7.4.320.0030.00316.44
7.4.300.0030.00316.53
7.4.290.0040.00416.55
7.4.280.0050.00316.51
7.4.270.0000.00716.38
7.4.260.0000.00513.18
7.4.250.0030.00316.40
7.4.240.0010.00616.55
7.4.230.0030.00316.27
7.4.220.0050.00216.48
7.4.210.0080.00916.54
7.4.200.0000.00816.43
7.4.130.0040.01416.41
7.4.120.0040.01416.44
7.4.110.0150.00416.50
7.4.100.0100.00916.44
7.4.90.0100.00716.43
7.4.80.0090.00919.39
7.4.70.0030.01616.23
7.4.60.0060.01316.31
7.4.50.0100.00316.40
7.4.40.0130.00616.30
7.4.10.0060.00814.55
7.4.00.0000.01314.84
7.3.330.0050.00216.04
7.3.320.0000.00513.16
7.3.310.0000.00716.14
7.3.300.0000.00716.25
7.3.290.0080.00816.22
7.3.280.0180.00316.21
7.3.260.0170.00716.34
7.3.240.0100.00716.31
7.3.230.0030.02016.40
7.3.210.0140.00616.28
7.3.200.0100.00616.30
7.3.190.0070.01516.44
7.3.180.0150.00616.43
7.3.170.0060.01116.30
7.3.160.0110.01116.43
7.3.130.0040.01414.55
7.3.120.0030.01014.71
7.3.110.0140.00614.71
7.3.100.0090.00514.70
7.3.90.0000.01314.78
7.3.80.0060.01214.23
7.3.70.0070.01114.49
7.3.60.0130.00014.20
7.3.50.0090.00314.67
7.3.40.0090.00414.69
7.3.30.0080.00514.55
7.3.20.0030.01014.48
7.3.10.0130.00714.67
7.3.00.0050.00914.67
7.2.330.0150.00316.48
7.2.320.0130.01016.58
7.2.310.0100.00616.44
7.2.300.0070.01016.50
7.2.290.0160.00016.54
7.2.260.0140.00614.97
7.2.250.0090.00914.50
7.2.240.0050.01114.41
7.2.230.0140.00014.97
7.2.220.0080.00514.73
7.2.210.0040.01214.78
7.2.200.0070.00714.63
7.2.190.0100.00414.52
7.2.180.0040.01114.55
7.2.170.0030.01014.69
7.2.160.0030.01114.57
7.2.150.0040.01114.54
7.2.140.0120.00614.74
7.2.130.0090.00915.07
7.2.120.0080.00814.71
7.2.110.0030.01314.47
7.2.100.0140.00014.82
7.2.90.0130.00614.82
7.2.80.0060.01314.88
7.2.70.0030.01014.75
7.2.60.0030.01615.02
7.2.50.0100.00414.69
7.2.40.0000.01414.71
7.2.30.0060.00915.00
7.2.20.0140.00014.76
7.2.10.0030.01214.72
7.2.00.0080.01114.68

preferences:
30.79 ms | 403 KiB | 5 Q