3v4l.org

run code in 500+ PHP versions simultaneously
<?php new class { public function __construct() { function () implements self {}; } };

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.3.50.0120.00716.86
7.0.50.0270.05320.38
7.0.40.0570.04320.22
7.0.30.0470.05720.31
7.0.20.0400.05020.19
7.0.10.0400.05020.41
7.0.00.0230.06320.40
5.6.200.0430.05721.13
5.6.190.0100.06021.12
5.6.180.0330.06020.97
5.6.170.0430.06021.01
5.6.160.0330.05021.02
5.6.150.0170.06321.05
5.6.140.0330.07720.95
5.6.130.0330.06021.15
5.6.120.0130.06021.16
5.6.110.0370.05721.10
5.6.100.0470.05321.00
5.6.90.0270.06321.01
5.6.80.0400.07320.50
5.6.70.0400.04320.44
5.6.60.0170.06020.41
5.6.50.0230.07320.53
5.6.40.0300.05020.38
5.6.30.0400.07720.40
5.6.20.0200.06720.42
5.6.10.0270.04320.56
5.6.00.0230.05320.38
5.5.340.0270.06020.85
5.5.330.0530.05720.79
5.5.320.0400.05020.74
5.5.310.0330.06020.83
5.5.300.0430.07020.79
5.5.290.0330.06320.83
5.5.280.0370.05720.86
5.5.270.0300.06020.70
5.5.260.0400.05320.73
5.5.250.0300.06020.79
5.5.240.0270.06020.09
5.5.230.0300.05320.21
5.5.220.0070.05720.21
5.5.210.0100.05320.22
5.5.200.0270.06020.19
5.5.190.0330.08020.39
5.5.180.0330.07020.31
5.5.160.0200.04720.23
5.5.150.0230.04720.19
5.5.140.0200.05020.17
5.5.130.0270.04020.37
5.5.120.0030.06320.30
5.5.110.0100.06020.34
5.5.100.0030.06320.07
5.5.90.0100.06020.23
5.5.80.0270.04720.07
5.5.70.0070.08020.16
5.5.60.0470.04720.12
5.5.50.0170.05720.18
5.5.40.0270.07019.93
5.5.30.0370.05720.25
5.5.20.0370.03720.26
5.5.10.0030.07020.23
5.5.00.0230.05020.21

preferences:
34.29 ms | 739 KiB | 4 Q