3v4l.org

run code in 300+ PHP versions simultaneously
<?php class coreBlock { public function build(): array { } } class contribBlock extends coreBlock { public function build() { } }

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)
7.4.90.0150.01216.21
7.4.80.0170.01015.87
7.4.70.0100.01415.98
7.4.60.0190.01016.07
7.4.50.0110.01416.32
7.4.40.0140.00815.96
7.4.30.0200.00416.26
7.4.20.0090.01216.01
7.4.10.0130.00915.80
7.4.00.0140.00416.32
7.3.210.0210.00416.10
7.3.200.0180.00616.16
7.3.190.0190.01116.11
7.3.180.0140.01416.09
7.3.170.0200.00516.43
7.3.160.0230.00316.13
7.3.150.0150.00716.41
7.3.140.0140.01416.17
7.3.130.0150.01116.13
7.3.120.0130.01016.28
7.3.110.0240.00215.96
7.3.100.0140.01116.09
7.3.90.0130.00916.25
7.3.80.0190.00316.11
7.3.70.0190.00415.89
7.3.60.0140.00916.05
7.3.50.0090.01216.00
7.3.40.0150.00616.21
7.3.30.0100.01415.85
7.3.20.0120.01216.04
7.3.10.0090.01215.82
7.3.00.0110.01716.36
7.2.330.0110.01516.27
7.2.320.0200.00716.38
7.2.310.0180.00616.33
7.2.300.0040.01916.00
7.2.290.0120.01216.54
7.2.280.0180.00716.25
7.2.270.0130.01116.37
7.2.260.0150.00916.10
7.2.250.0040.01816.18
7.2.240.0120.01116.18
7.2.230.0070.01516.07
7.2.220.0110.00815.95
7.2.210.0090.01416.05
7.2.200.0160.00616.25
7.2.190.0220.00316.23
7.2.180.0150.00915.96
7.2.170.0150.00616.21
7.2.160.0130.01016.18
7.2.150.0190.01016.18
7.2.140.0150.00715.86
7.2.130.0130.01316.26
7.2.120.0100.01015.84
7.2.110.0150.01416.34
7.2.100.0190.00816.14
7.2.90.0090.01416.39
7.2.80.0150.01116.14
7.2.70.0150.00916.61
7.2.60.0190.00716.25
7.2.50.0110.01115.98
7.2.40.0170.00916.43
7.2.30.0180.01116.20
7.2.20.0100.01016.14
7.2.10.0390.00716.23
7.2.00.0170.00716.13

preferences:
144.66 ms | 995 KiB | 7 Q