3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function doFoo(): mixed|void; }

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.0.30.0280.00716.73
8.0.20.0280.01316.79
8.0.10.0270.00916.75
8.0.00.0290.02016.93
7.4.160.0940.00316.42
7.4.150.0180.01416.40
7.4.140.0250.00716.33
7.4.130.0280.00616.05
7.4.120.0220.00716.18
7.4.110.0290.00516.17
7.4.100.0230.01716.18
7.4.90.0180.01516.34
7.4.80.0110.01716.12
7.4.70.0260.00516.14
7.4.60.0200.01416.18
7.4.50.0210.01116.11
7.4.40.0320.00416.21
7.4.30.0220.01216.28
7.4.20.0250.00516.14
7.4.10.0240.00716.34
7.4.00.0170.01016.27
7.3.280.0150.00916.16
7.3.270.0220.01116.11
7.3.260.0260.01016.19
7.3.250.0230.01016.21
7.3.240.0160.01316.08
7.3.230.0350.01016.22
7.3.220.0290.00616.03
7.3.210.0140.01816.04
7.3.200.0260.00716.05
7.3.190.0260.00916.08
7.3.180.0210.00916.07
7.3.170.0480.00616.04
7.3.160.0240.01116.04
7.3.150.0230.00916.10
7.3.140.0190.01616.12
7.3.130.0250.00616.12
7.3.120.0230.00816.01
7.3.110.0230.00616.05
7.3.100.0360.00915.98
7.3.90.0200.01416.28
7.3.80.0280.00616.00
7.3.70.0210.01216.12
7.3.60.0210.01016.15
7.3.50.0260.00416.13
7.3.40.0260.00816.22
7.3.30.0240.00716.11
7.3.20.0210.00716.17
7.3.10.0220.01316.14
7.3.00.0230.00716.18

preferences:
136.2 ms | 981 KiB | 8 Q