3v4l.org

run code in 300+ PHP versions simultaneously
<?php class A { function __construct() : void { return; } }

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.70.0140.00916.32
7.4.60.0130.00816.16
7.4.50.0140.00716.37
7.4.40.0170.00516.25
7.4.30.0150.00616.26
7.4.20.0110.00916.37
7.4.10.0140.00816.33
7.4.00.0070.00916.45
7.3.190.0100.00616.21
7.3.180.0160.00816.30
7.3.170.0120.01216.31
7.3.160.0150.00916.28
7.3.150.0150.00816.29
7.3.140.0100.01116.34
7.3.130.0140.00716.26
7.3.120.0110.01016.37
7.3.110.0120.00816.24
7.3.100.0150.00716.19
7.3.90.0160.00516.20
7.3.80.0140.00816.26
7.3.70.0130.00716.20
7.3.60.0150.00616.26
7.3.50.0140.00616.23
7.3.40.0130.00816.14
7.3.30.0130.00916.24
7.3.20.0250.00916.24
7.3.10.0130.00816.26
7.3.00.0150.00916.24
7.2.310.0120.00916.27
7.2.300.0120.01016.45
7.2.290.0180.00416.29
7.2.280.0120.00916.25
7.2.270.0130.00816.29
7.2.260.0140.00716.38
7.2.250.0120.01016.36
7.2.240.0160.00716.41
7.2.230.0110.01116.40
7.2.220.0150.01016.32
7.2.210.0140.00816.36
7.2.200.0150.00716.35
7.2.190.0150.00616.37
7.2.180.0140.00716.36
7.2.170.0100.01116.40
7.2.160.0190.00516.43
7.2.150.0160.00616.33
7.2.140.0140.00816.35
7.2.130.0340.01116.42
7.2.120.0100.01316.38
7.2.110.0150.01016.43
7.2.100.0120.01216.47
7.2.90.0180.00616.40
7.2.80.0150.01016.23
7.2.70.0220.00716.15
7.2.60.0140.00916.40
7.2.50.0260.01216.35
7.2.40.0140.00916.27
7.2.30.0170.00716.44
7.2.20.0080.01516.49
7.2.10.0120.00916.35
7.2.00.0120.00716.52

preferences:
137.57 ms | 1440 KiB | 7 Q