3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface i { function foo(); } class X implements i { #[Override] function foo() {} } var_dump(new x);

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.90.0100.00616.92
8.5.80.0100.00716.51
8.5.70.0070.01016.61
8.5.60.0090.00816.56
8.5.50.0040.00316.60
8.5.30.0110.00619.35
8.5.20.0110.00620.12
8.5.10.0090.00816.43
8.5.00.0090.01119.82
8.4.240.0100.00919.47
8.4.230.0060.00719.49
8.4.220.0140.00719.43
8.4.210.0130.00821.38
8.4.180.0140.00821.79
8.4.170.0110.01120.25
8.4.160.0060.00423.99
8.4.150.0070.00516.82
8.4.140.0130.00817.34
8.4.130.0130.00917.55
8.4.120.0130.00820.75
8.4.110.0140.00622.62
8.4.100.0120.00917.63
8.4.90.0110.01020.14
8.4.80.0120.00718.61
8.4.70.0280.01017.56
8.4.60.0300.00817.45
8.4.50.0250.00617.52
8.4.40.0240.00817.31
8.4.30.0200.00617.38
8.4.20.0190.00417.37
8.4.10.0190.00317.04
8.3.330.0120.00918.38
8.3.320.0090.01018.25
8.3.310.0090.00918.16
8.3.300.0140.00620.88
8.3.290.0060.00320.82
8.3.280.0090.01118.37
8.3.270.0130.00816.51
8.3.260.0070.01016.48
8.3.250.0140.00518.80
8.3.240.0050.00316.65
8.3.230.0110.00916.61
8.3.220.0080.00318.59
8.3.210.0160.00316.38
8.3.200.0200.00416.50
8.3.190.0150.00716.36
8.3.180.0190.00616.59
8.3.170.0330.01016.14
8.3.160.0200.00316.73
8.3.150.0220.00816.47
8.3.140.0140.00716.54
8.3.130.0150.00316.62
8.3.120.0150.00416.49
8.3.110.0130.00516.31
8.3.100.0170.00516.19
8.3.90.0190.00416.50
8.3.80.0210.00716.20
8.3.70.0160.00616.29
8.3.60.0200.00416.56
8.3.50.0150.00716.34
8.3.40.0170.00417.29
8.3.30.0140.00817.46
8.3.20.0230.00417.24
8.3.10.0140.00417.24
8.3.00.0080.00217.20
8.2.320.0120.00817.95
8.2.310.0100.01017.97
8.2.300.0090.01118.12
8.2.290.0160.00320.53
8.2.280.0120.00516.38
8.2.270.0110.00616.36
8.2.260.0140.00416.28
8.2.250.0120.00716.53
8.2.240.0120.00716.51
8.2.230.0140.00516.07
8.2.220.0150.00416.02
8.2.210.0130.00516.13
8.2.200.0150.00516.14
8.2.190.0140.00516.51
8.2.180.0140.00316.17
8.2.170.0170.00417.70
8.2.160.0150.00517.60
8.2.150.0140.00417.13
8.2.140.0180.00317.44
8.2.130.0140.00617.27
8.2.120.0170.00217.41
8.2.110.0140.00517.54
8.2.100.0160.00417.46
8.2.90.0170.00417.57
8.2.80.0150.00417.26
8.2.70.0140.00717.29
8.2.60.0130.00417.23
8.2.50.0170.00417.23
8.2.40.0100.00817.20
8.2.30.0160.00417.26
8.2.20.0120.00417.28
8.2.10.0110.00717.20
8.2.00.0150.00217.27
8.1.340.0100.01021.32

preferences:
42.09 ms | 880 KiB | 5 Q