3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Test { public function getIndex(): string; } class Index implements Test { public static function getIndex(): string { return 'test'; } }

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.0080.00918.00
8.5.20.0120.00420.16
8.5.10.0120.00616.67
8.5.00.0110.01022.88
8.4.180.0130.01019.50
8.4.170.0080.01323.78
8.4.160.0140.01123.09
8.4.150.0070.00716.83
8.4.140.0380.00717.41
8.4.130.0350.00917.46
8.4.120.0370.00917.65
8.4.110.0400.00717.59
8.4.100.0400.00817.80
8.4.90.0400.00917.67
8.4.80.0380.01017.30
8.4.70.0360.01117.64
8.4.60.0380.01017.66
8.4.50.0400.00817.53
8.4.40.0420.00917.79
8.4.30.0420.00717.46
8.4.20.0420.00817.37
8.4.10.0430.00517.21
8.3.300.0060.00318.94
8.3.290.0140.00720.82
8.3.280.0080.00416.19
8.3.270.0340.01016.72
8.3.260.0360.00816.63
8.3.250.0360.00816.88
8.3.240.0320.01216.64
8.3.230.0350.01016.84
8.3.220.0370.00716.74
8.3.210.0390.00916.80
8.3.200.0350.01016.64
8.3.190.0460.00916.70
8.3.180.0390.00816.66
8.3.170.0390.00916.59
8.3.160.0390.00816.50
8.3.150.0400.00716.47
8.3.140.0380.01016.73
8.3.130.0310.01216.57
8.3.120.0420.01116.51
8.3.110.0310.01116.22
8.3.100.0420.00816.44
8.3.90.0380.01316.57
8.3.80.0390.00816.51
8.3.70.0380.01016.55
8.3.60.0400.00816.79
8.3.50.0370.01016.63
8.3.40.0370.01217.30
8.3.30.0320.00917.16
8.3.20.0320.00517.35
8.3.10.0280.00917.26
8.3.00.0310.00817.27
8.2.300.0150.00518.24
8.2.290.0330.00616.68
8.2.280.0290.00916.70
8.2.270.0300.01216.67
8.2.260.0320.00816.38
8.2.250.0340.00616.22
8.2.240.0340.00616.37
8.2.230.0290.01216.29
8.2.220.0310.00916.31
8.2.210.0370.01116.29
8.2.200.0320.00916.28
8.2.190.0370.00916.19
8.2.180.0330.00916.39
8.2.170.0320.01117.46
8.2.160.0320.01117.70
8.2.150.0340.00917.54
8.2.140.0370.00617.39
8.2.130.0280.01517.28
8.2.120.0340.01017.45
8.2.110.0360.00617.47
8.2.100.0360.00517.68
8.2.90.0380.00517.45
8.2.80.0310.01117.33
8.2.70.0330.00917.17
8.2.60.0350.00817.11
8.2.50.0370.00817.19
8.2.40.0390.01017.49
8.2.30.0350.00617.20
8.2.20.0330.01017.25
8.2.10.0300.00817.35
8.2.00.0270.01217.38
8.1.340.0130.00717.63

preferences:
62.15 ms | 850 KiB | 5 Q