3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface SomeInterface { public const SOME_PROTECTED = 'yes'; } class SomeClass implements SomeInterface { } echo SomeClass::SOME_PROTECTED;

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.10.0030.00519.60
8.3.140.0070.01120.91
8.3.130.0080.00018.39
8.3.120.0090.00318.94
8.3.110.0100.01020.94
8.3.100.0090.00316.38
8.3.90.0000.01418.57
8.3.80.0100.01030.84
8.3.70.0440.00330.84
8.3.60.0370.01230.84
8.3.50.0180.00330.84
8.3.40.0360.00330.84
8.3.30.0310.00630.84
8.3.20.0320.00730.84
8.3.10.0310.00730.84
8.3.00.0340.00730.84
8.2.250.0080.00016.41
8.2.240.0000.01117.15
8.2.230.0030.00622.58
8.2.220.0090.00624.06
8.2.210.0040.00426.77
8.2.200.0330.00730.84
8.2.190.0300.00830.84
8.2.180.0270.00630.84
8.2.170.0400.00330.84
8.2.160.0340.01030.84
8.2.150.0310.00330.84
8.2.140.0280.00630.84
8.2.130.0240.00330.84
8.2.120.0240.00830.84
8.2.110.0350.00430.84
8.2.100.0190.00030.84
8.2.90.0370.00430.84
8.2.80.0300.00930.84
8.2.70.0370.00830.84
8.2.60.0380.01430.84
8.2.50.0470.00730.84
8.2.40.0370.00330.84
8.2.30.0320.00930.84
8.2.20.0280.00030.84
8.2.10.0140.01030.84
8.2.00.0220.00330.84
8.1.300.0060.00318.16
8.1.290.0170.00430.84
8.1.280.0230.00430.84
8.1.270.0350.00930.84
8.1.260.0330.00730.84
8.1.250.0320.00430.84
8.1.240.0320.00830.84
8.1.230.0310.00430.84
8.1.220.0340.00030.84
8.1.210.0200.01430.84
8.1.200.0260.01130.84
8.1.190.0370.00030.84
8.1.180.0340.00430.84
8.1.170.0290.00930.84
8.1.160.0210.01530.84
8.1.150.0290.00830.84
8.1.140.0240.01430.84
8.1.130.0350.00330.84
8.1.120.0300.00830.84
8.1.110.0310.00730.84
8.1.100.0280.00630.84
8.1.90.0230.01530.84
8.1.80.0270.01030.84
8.1.70.0240.01230.84
8.1.60.0380.00330.84
8.1.50.0300.01330.84
8.1.40.0350.00630.84
8.1.30.0390.00930.84
8.1.20.0420.01030.84
8.1.10.0290.00430.84
8.1.00.0240.01230.84

preferences:
36.6 ms | 403 KiB | 5 Q