3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface i { function __construct(int $i); } class x implements i { function __construct(int $i) {} } class y extends x { function __construct(string $i) {} }

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.60.0130.00516.63
8.5.50.0110.00616.66
8.5.30.0060.00919.52
8.5.20.0060.00218.02
8.5.10.0120.00616.37
8.5.00.0130.00819.86
8.4.210.0120.01119.26
8.4.180.0110.01023.83
8.4.170.0100.01023.94
8.4.160.0100.01123.86
8.4.150.0050.00816.82
8.4.140.0120.00917.34
8.4.130.0050.00417.79
8.4.120.0100.01020.64
8.4.110.0040.00422.52
8.4.100.0050.00517.62
8.4.90.0130.00618.51
8.4.80.0110.00919.70
8.4.70.0080.01020.52
8.4.60.0160.00518.84
8.4.50.0070.00918.55
8.4.40.0190.00017.84
8.4.30.0030.00618.91
8.4.20.0070.00319.84
8.4.10.0060.00319.46
8.3.300.0130.00720.59
8.3.290.0100.00920.69
8.3.280.0110.01120.21
8.3.270.0130.00916.58
8.3.260.0030.00616.77
8.3.250.0080.01019.10
8.3.240.0100.00516.81
8.3.230.0060.00316.65
8.3.220.0060.00216.97
8.3.210.0100.00718.48
8.3.200.0050.00416.73
8.3.190.0100.00817.27
8.3.180.0130.00518.85
8.3.170.0060.01216.98
8.3.160.0100.00717.05
8.3.150.0030.00619.12
8.3.140.0150.00318.91
8.3.130.0040.00418.47
8.3.120.0090.00018.95
8.3.110.0040.00416.81
8.3.100.0090.00924.06
8.3.90.0040.01126.77
8.3.80.0090.00017.97
8.3.70.0120.00316.49
8.3.60.0090.00918.56
8.3.50.0070.01416.67
8.3.40.0110.00722.16
8.3.30.0100.00321.78
8.3.20.0000.00724.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.300.0100.01018.14
8.2.290.0120.00620.26
8.2.280.0100.00618.33
8.2.270.0110.00722.30
8.2.260.0070.01118.47
8.2.250.0090.01218.28
8.2.240.0040.00417.00
8.2.230.0090.00020.94
8.2.220.0050.00337.54
8.2.210.0040.00426.77
8.2.200.0090.00018.42
8.2.190.0120.00916.62
8.2.180.0110.00416.75
8.2.170.0070.00718.82
8.2.160.0110.00322.96
8.2.150.0070.00025.66
8.2.140.0040.00424.66
8.2.130.0140.00326.16
8.2.120.0050.00221.11
8.2.110.0070.01120.52
8.2.100.0150.00619.01
8.2.90.0220.01118.70
8.2.80.0190.00618.77
8.2.70.0140.00418.74
8.2.60.0310.00318.54
8.2.50.0160.01019.95
8.2.40.0170.01018.65
8.2.30.0130.00718.61
8.2.20.0080.00518.66
8.2.10.0140.00018.68
8.2.00.0140.00018.82
8.1.340.0090.01019.80
8.1.330.0100.00920.08
8.1.320.0130.00717.87
8.1.310.0000.01817.63
8.1.300.0130.00317.95
8.1.290.0030.00630.84
8.1.280.0070.00725.92
8.1.270.0040.00423.99
8.1.260.0040.00426.35
8.1.250.0070.00028.09
8.1.240.0140.00018.43
8.1.230.0110.00418.52
8.1.220.0070.00718.54
8.1.210.0050.00919.80
8.1.200.0130.00018.51
8.1.190.0110.00418.44
8.1.180.0150.00017.99
8.1.170.0090.00418.31
8.1.160.0090.00418.45
8.1.150.0040.00920.39
8.1.140.0140.00018.38
8.1.130.0120.00218.33
8.1.120.0130.00018.55
8.1.110.0110.00318.36
8.1.100.0080.00818.55
8.1.90.0120.00318.39
8.1.80.0140.00018.51
8.1.70.0030.00818.79
8.1.60.0120.00318.63
8.1.50.0130.00318.41
8.1.40.0090.00318.79
8.1.30.0060.00618.87
8.1.20.0160.00018.73
8.1.10.0060.00618.74
8.1.00.0080.00418.40
8.0.300.0140.00017.93
8.0.290.0100.00517.81
8.0.280.0060.00617.96
8.0.270.0070.00717.70
8.0.260.0090.00318.26
8.0.250.0070.00717.88
8.0.240.0110.00317.93
8.0.230.0130.00018.23
8.0.220.0110.00417.89
8.0.210.0110.00317.81
8.0.200.0110.00418.00
8.0.190.0090.00218.18
8.0.180.0040.00817.80
8.0.170.0090.00417.66
8.0.160.0160.00018.00
8.0.150.0100.00517.79
8.0.140.0090.00617.48
8.0.130.0130.00018.23
8.0.120.0090.00517.83
8.0.110.0060.00617.94
8.0.100.0110.00417.83
8.0.90.0110.00417.90
8.0.80.0140.00017.92
8.0.70.0100.00317.88
8.0.60.0080.00418.27
8.0.50.0140.00017.84
8.0.30.0100.00318.23
8.0.20.0070.00717.91
8.0.10.0070.00718.08

preferences:
71.48 ms | 1133 KiB | 5 Q