3v4l.org

run code in 300+ PHP versions simultaneously
<?php interface Foo { public function __construct(); } class Bar implements Foo { public function __construct(int $bar) { } }

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.70.0180.00016.58
8.3.60.0110.00716.63
8.3.50.0090.00920.48
8.3.40.0000.01421.70
8.3.30.0140.00018.76
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0040.00426.16
8.2.190.0070.00716.58
8.2.180.0160.00625.92
8.2.170.0070.00718.86
8.2.160.0070.00722.96
8.2.150.0040.00425.66
8.2.140.0050.00324.66
8.2.130.0000.00726.16
8.2.120.0040.00419.14
8.2.110.0030.00620.53
8.2.100.0040.00720.47
8.1.280.0080.00625.92
8.1.270.0030.00523.99
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0090.00018.89
8.1.230.0060.00318.50
8.1.10.0050.00317.21

preferences:
41.03 ms | 401 KiB | 5 Q