3v4l.org

run code in 500+ PHP versions simultaneously
<?php interface I extends Throwable { function getCode(): string; } class E extends Exception implements 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.30.0100.00919.43
8.5.20.0140.00317.95
8.5.10.0090.01116.77
8.5.00.0260.00616.30
8.4.180.0130.00819.70
8.4.170.0100.01120.44
8.4.160.0360.01419.42
8.4.150.0390.01219.46
8.4.140.0390.01317.45
8.4.130.0360.00917.36
8.4.120.0320.01417.54
8.4.110.0350.01217.49
8.4.100.0400.01217.52
8.4.90.0410.00817.69
8.4.80.0450.00617.67
8.4.70.0380.01017.61
8.4.60.0380.01117.75
8.4.50.0320.01617.60
8.4.40.0420.00917.61
8.4.30.0360.01317.51
8.4.20.0450.01017.73
8.4.10.0450.00917.63
8.3.300.0110.01020.82
8.3.290.0280.01418.01
8.3.280.0370.00818.15
8.3.270.0360.00916.52
8.3.260.0360.01116.73
8.3.250.0400.00916.54
8.3.240.0360.00816.63
8.3.230.0490.01016.25
8.3.220.0410.01016.59
8.3.210.0390.01016.76
8.3.200.0310.01216.46
8.3.190.0350.01116.59
8.3.180.0430.00616.54
8.3.170.0420.00716.68
8.3.160.0420.00816.71
8.3.150.0450.00916.62
8.3.140.0390.01218.48
8.3.130.0350.01016.60
8.3.120.0370.00716.50
8.3.110.0340.00916.75
8.3.100.0420.01116.62
8.3.90.0440.00718.58
8.3.80.0220.00716.60
8.3.70.0170.00616.73
8.3.60.0280.00716.74
8.3.50.0300.00818.44
8.3.40.0210.00917.55
8.3.30.0130.00517.71
8.3.20.0190.00917.72
8.3.10.0160.00217.73
8.3.00.0130.00719.69
8.2.300.0390.00617.91
8.2.290.0200.00816.16
8.2.280.0190.00916.41
8.2.270.0230.01016.52
8.1.340.0290.00617.25

preferences:
45.35 ms | 733 KiB | 5 Q