3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Greet { function speak(): string; } class Hello implements Greet { function speak() { return 'world'; } } new Hello();

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.00.0110.00817.23
8.4.150.0320.01219.50
8.4.140.0340.00917.61
8.4.130.0320.01017.63
8.4.120.0400.00717.62
8.4.110.0380.01017.71
8.4.100.0430.00217.69
8.4.90.0400.00817.54
8.4.80.0400.00717.77
8.4.70.0360.00817.66
8.4.60.0390.00617.75
8.4.50.0330.01017.70
8.4.40.0350.01217.62
8.4.30.0380.01017.48
8.4.20.0400.01017.55
8.4.10.0400.00817.68
8.3.280.0350.00818.13
8.3.270.0320.01117.23
8.3.260.0380.00917.23
8.3.250.0370.00617.23
8.3.240.0350.00717.23
8.3.230.0400.00517.23
8.3.220.0360.00817.23
8.3.210.0390.00817.23
8.3.200.0380.00717.23
8.3.190.0350.01217.23
8.3.180.0360.00917.23
8.3.170.0350.01117.23
8.3.160.0380.01017.23
8.3.150.0380.01017.23
8.3.140.0370.01017.23
8.3.130.0400.00417.23
8.3.120.0330.00817.23
8.3.110.0350.00617.23
8.3.100.0390.00617.23
8.3.90.0390.00617.23
8.3.80.0390.00617.23
8.3.70.0390.00917.23
8.3.60.0370.01217.23
8.3.50.0380.00917.23
8.3.40.0430.00617.50
8.3.30.0330.00717.62
8.3.20.0250.01217.79
8.3.10.0240.01217.83
8.3.00.0280.01017.66
8.2.290.0280.00817.23
8.2.280.0280.00817.23
8.2.270.0320.00717.23
8.2.260.0290.01117.23
8.2.250.0310.00717.23
8.2.240.0340.00917.23
8.2.230.0350.00717.23
8.2.220.0320.00617.23
8.2.210.0320.00717.23
8.2.200.0310.00717.23
8.2.190.0320.00517.23
8.2.180.0240.01317.23
8.2.170.0290.00917.83
8.2.160.0300.00617.77
8.2.150.0320.00817.91
8.2.140.0300.00717.62
8.2.130.0260.01117.84
8.2.120.0260.01217.90
8.2.110.0330.00517.59
8.2.100.0300.00717.83
8.2.90.0310.00717.78
8.2.80.0290.00917.71
8.2.70.0280.00817.77
8.2.60.0320.00417.81
8.2.50.0340.00717.56
8.2.40.0300.00617.68
8.2.30.0290.00717.67
8.2.20.0280.00817.79
8.2.10.0300.00617.73
8.2.00.0350.00717.67

preferences:
38.15 ms | 403 KiB | 5 Q