3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { public function __destruct(): bool { } }

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.1.80.0140.00017.20
8.1.70.0110.00317.25
8.1.60.0070.00717.31
8.1.50.0150.00317.32
8.1.40.0070.01017.40
8.1.30.0140.00417.51
8.1.20.0170.00017.29
8.1.10.0170.00017.34
8.1.00.0120.00617.20
8.0.210.0150.00016.74
8.0.200.0140.00016.73
8.0.190.0150.00016.81
8.0.180.0080.00816.70
8.0.170.0080.00816.82
8.0.160.0150.00016.64
8.0.150.0050.01016.71
8.0.140.0120.00416.67
8.0.130.0070.00716.71
8.0.120.0130.00316.68
8.0.110.0090.00716.87
8.0.100.0130.00316.59
8.0.90.0120.00316.82
8.0.80.0120.00316.76
8.0.70.0050.01116.64
8.0.60.0100.00516.71
8.0.50.0060.00616.82
8.0.30.0160.00016.73
8.0.20.0090.00716.88
8.0.10.0110.00616.93
8.0.00.0080.00816.92
7.4.300.0150.00316.37
7.4.290.0060.00916.30
7.4.280.0110.00316.34
7.4.270.0100.00316.45
7.4.260.0140.00016.42
7.4.250.0140.00316.41
7.4.240.0150.00316.45
7.4.230.0090.00516.20
7.4.220.0000.01516.47
7.4.210.0120.00316.31
7.4.200.0140.00016.29
7.4.190.0050.00916.44
7.4.180.0070.00716.38
7.4.160.0110.00416.31
7.4.150.0100.00516.26
7.4.140.0110.00616.27
7.4.130.0120.00416.28
7.4.120.0120.00516.38
7.4.110.0170.00316.29
7.4.100.0160.00616.35
7.4.90.0170.00716.36
7.4.80.0160.00716.34
7.4.70.0200.00616.27
7.4.60.0160.00816.28
7.4.50.0170.00716.31
7.4.40.0180.00516.26
7.4.30.0160.00616.36
7.4.20.0180.00416.34
7.4.10.0150.00616.39
7.4.00.0100.00916.37
7.3.330.0110.00316.25
7.3.320.0070.00716.23
7.3.310.0070.00716.29
7.3.300.0100.00516.07
7.3.290.0140.00016.24
7.3.280.0100.00516.25
7.3.270.0140.00216.12
7.3.260.0080.00716.24
7.3.250.0060.01016.19
7.3.240.0110.01016.30
7.3.230.0180.00616.15
7.3.220.0160.00716.23
7.3.210.0140.00716.27
7.3.200.0200.00316.42
7.3.190.0140.00916.29
7.3.180.0150.00816.26
7.3.170.0150.01116.19
7.3.160.0170.00816.16
7.3.150.0140.00916.24
7.3.140.0160.00516.27
7.3.130.0120.01016.25
7.3.120.0170.00516.23
7.3.110.0140.00916.13
7.3.100.0140.00916.24
7.3.90.0180.00516.29
7.3.80.0130.01116.23
7.3.70.0130.00916.14
7.3.60.0160.00716.21
7.3.50.0160.00916.27
7.3.40.0160.00816.20
7.3.30.0140.00816.19
7.3.20.0130.00916.13
7.3.10.0160.00916.23
7.3.00.0170.00616.24
7.2.340.0210.00816.40
7.2.330.0170.00916.31
7.2.320.0210.00716.31
7.2.310.0220.00716.18
7.2.300.0180.00916.39
7.2.290.0150.01116.21
7.2.280.0180.00716.30
7.2.270.0180.00716.19
7.2.260.0180.00716.28
7.2.250.0190.00716.28
7.2.240.0160.01016.36
7.2.230.0160.00916.26
7.2.220.0200.00716.34
7.2.210.0180.00816.31
7.2.200.0180.00916.32
7.2.190.0230.00916.19
7.2.180.0180.00816.33
7.2.170.0200.00716.31
7.2.160.0160.00916.32
7.2.150.0140.01016.25
7.2.140.0180.01016.34
7.2.130.0190.00916.32
7.2.120.0200.00716.39
7.2.110.0210.00516.40
7.2.100.0240.00916.40
7.2.90.0230.00816.31
7.2.80.0180.01016.37
7.2.70.0190.00916.25
7.2.60.0210.00616.39
7.2.50.0210.00516.40
7.2.40.0190.01016.42
7.2.30.0200.00716.35
7.2.20.0190.00816.39
7.2.10.0190.00916.35
7.2.00.0140.00916.18

preferences:
146.84 ms | 1394 KiB | 7 Q