3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface ContainsStmts {} // BC break patch class_alias(ContainsStmts::class, StmtsAwareInterface::class); class SomeNode implements ContainsStmts {} $obj = new SomeNode(); // old should keep working var_dump($obj instanceof StmtsAwareInterface); // new var_dump($obj instanceof ContainsStmts);

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.140.0130.00917.48
8.4.130.0400.00917.47
8.4.120.0410.00917.63
8.4.110.0460.00817.75
8.4.100.0340.01017.69
8.4.90.0250.00317.71
8.4.80.0300.00717.42
8.4.70.0410.01117.57
8.4.60.0370.00917.77
8.4.50.0420.00717.76
8.4.40.0430.01017.52
8.4.30.0440.00917.38
8.4.20.0430.01117.29
8.4.10.0380.00717.33
8.3.260.0360.00716.56
8.3.250.0300.00616.37
8.3.240.0280.00616.53
8.3.230.0370.00716.71
8.3.220.0200.00516.69
8.3.210.0370.00916.38
8.3.200.0360.00716.55
8.3.190.0360.01116.33
8.3.180.0360.00616.54
8.3.170.0320.00816.25
8.3.160.0210.00316.56
8.3.150.0200.00816.42
8.3.140.0270.00516.52
8.3.130.0180.00416.41
8.3.120.0210.00716.37
8.3.110.0220.00716.36
8.3.100.0310.00716.39
8.3.90.0320.00716.66
8.3.80.0240.00416.33
8.3.70.0350.00516.59
8.3.60.0370.00916.54
8.3.50.0410.00916.39
8.3.40.0410.00817.41
8.3.30.0280.00917.32
8.3.20.0370.00917.23
8.3.10.0280.00717.33
8.3.00.0260.00817.44
8.2.290.0330.00616.43
8.2.280.0330.00516.51
8.2.270.0290.00616.61
8.2.260.0250.00516.68
8.2.250.0180.00416.34
8.2.240.0200.00316.35
8.2.230.0280.00716.36
8.2.220.0350.00716.46
8.2.210.0350.00816.36
8.2.200.0270.00816.40
8.2.190.0300.00716.41
8.2.180.0190.00416.32
8.2.170.0250.00817.77
8.2.160.0290.00517.58
8.2.150.0310.00817.61
8.2.140.0260.00717.35
8.2.130.0280.00517.40
8.2.120.0240.00317.52
8.2.110.0200.00717.51
8.2.100.0180.00317.62
8.2.90.0180.00517.79
8.2.80.0260.00717.46
8.2.70.0280.00817.40
8.2.60.0270.00417.54
8.2.50.0440.00817.39
8.2.40.0360.00717.45
8.2.30.0230.00817.46
8.2.20.0280.00417.43
8.2.10.0240.00417.47
8.2.00.0270.00417.23

preferences:
45.59 ms | 403 KiB | 5 Q