3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface i {} class x extends \Exception implements i {} try { throw new x(); } catch (i $x) { print "Caught!"; }

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.0070.00816.68
8.5.50.0130.00616.90
8.5.30.0170.00817.41
8.5.20.0230.00418.44
8.5.10.0210.00816.91
8.5.00.0220.00919.30
8.4.210.0140.00921.39
8.4.180.0220.00719.73
8.4.170.0230.00920.85
8.4.160.0220.01020.81
8.4.150.0200.00416.86
8.4.140.0260.00617.67
8.4.130.0250.01117.92
8.4.120.0230.01119.24
8.4.110.0220.00618.33
8.4.100.0240.01017.90
8.4.90.0260.00717.88
8.4.80.0190.00818.81
8.4.70.0390.00918.02
8.4.60.0370.00918.00
8.4.50.0350.00717.88
8.4.40.0390.00817.64
8.4.30.0430.00617.38
8.4.20.0280.00717.68
8.4.10.0430.00717.38
8.3.300.0140.00719.55
8.3.290.0140.00519.54
8.3.280.0150.00819.07
8.3.270.0190.00416.78
8.3.260.0170.00616.57
8.3.250.0220.01017.90
8.3.240.0240.00516.49
8.3.230.0210.00516.71
8.3.220.0200.00716.79
8.3.210.0350.00916.54
8.3.200.0380.00517.37
8.3.190.0310.01016.54
8.3.180.0320.01016.70
8.3.170.0380.00816.48
8.3.160.0400.00716.56
8.3.150.0370.00916.53
8.3.140.0380.01016.48
8.3.130.0340.00816.48
8.3.120.0340.00816.61
8.3.110.0330.00916.63
8.3.100.0400.00716.49
8.3.90.0410.01116.55
8.3.80.0440.00616.46
8.3.70.0400.00616.60
8.3.60.0350.01016.58
8.3.50.0340.00716.52
8.3.40.0320.00617.71
8.3.30.0200.01117.83
8.3.20.0280.00817.66
8.3.10.0270.00717.89
8.3.00.0170.00418.64
8.2.300.0260.01119.25
8.2.290.0220.00518.62
8.2.280.0200.00616.75
8.2.270.0220.01016.68
8.2.260.0310.00716.66
8.2.250.0310.00916.70
8.2.240.0320.00916.52
8.2.230.0270.00716.51
8.2.220.0300.00716.59
8.2.210.0320.00716.48
8.2.200.0330.00816.56
8.2.190.0290.01016.52
8.2.180.0300.00816.70
8.2.170.0300.01017.98
8.2.160.0320.00717.87
8.2.150.0340.00617.66
8.2.140.0330.00617.76
8.2.130.0350.00717.69
8.2.120.0330.00817.67
8.2.110.0290.00817.78
8.2.100.0270.00717.80
8.2.90.0310.00817.89
8.2.80.0310.00617.93
8.2.70.0330.01117.60
8.2.60.0300.00917.84
8.2.50.0320.00717.71
8.2.40.0290.00717.71
8.2.30.0320.00917.66
8.2.20.0310.00717.82
8.2.10.0330.00917.73
8.2.00.0300.00717.68
5.3.00.0180.00716.67
5.2.00.0110.00716.67
5.0.00.0100.00516.67
4.4.00.0060.00416.67
4.3.00.0070.00116.67

preferences:
34.01 ms | 861 KiB | 5 Q