3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo {} var_dump(new ("fo" . "o"));

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.4.120.0040.00524.34
8.4.110.0110.00918.73
8.4.100.0180.00317.78
8.4.90.0140.00717.52
8.4.80.0030.00519.43
8.4.70.0100.01117.68
8.4.60.0100.01018.67
8.4.50.0060.00220.16
8.4.40.0100.01019.46
8.4.30.0170.00320.32
8.4.20.0000.01018.57
8.4.10.0040.00417.80
8.3.250.0120.00618.59
8.3.240.0080.00816.97
8.3.230.0100.00916.23
8.3.220.0110.00716.38
8.3.210.0120.00720.63
8.3.200.0060.00316.52
8.3.190.0100.00816.98
8.3.180.0100.00818.28
8.3.170.0100.00417.05
8.3.160.0120.00318.21
8.3.150.0130.00718.27
8.3.140.0000.00816.99
8.3.130.0000.00818.25
8.3.120.0050.00520.59
8.3.110.0090.00020.94
8.3.100.0040.00824.06
8.3.90.0130.00726.77
8.3.80.0030.00616.63
8.3.70.0120.00616.75
8.3.60.0210.00016.75
8.3.50.0120.00616.42
8.3.40.0060.01318.67
8.3.30.0070.00718.71
8.3.20.0040.00424.18
8.3.10.0070.00024.66
8.3.00.0070.00726.16
8.2.290.0040.00518.62
8.2.280.0070.00220.29
8.2.270.0060.00917.27
8.2.260.0040.00416.63
8.2.250.0060.00316.68
8.2.240.0080.00016.91
8.2.230.0080.00022.58
8.2.220.0120.00637.54
8.2.210.0150.00326.77
8.2.200.0060.00316.50
8.2.190.0110.00716.75
8.2.180.0110.00425.92
8.2.170.0140.00018.66
8.2.160.0120.00322.96
8.2.150.0040.00425.66
8.2.140.0040.00424.66
8.2.130.0000.00826.16
8.2.120.0030.00620.94
8.2.110.0060.00320.47
8.2.100.0080.00320.52
8.1.330.0100.00916.38
8.1.320.0110.00616.06
8.1.310.0120.00618.53
8.1.300.0060.01219.35
8.1.290.0090.00030.84
8.1.280.0110.00425.92
8.1.270.0040.00423.99
8.1.260.0050.00328.09
8.1.250.0030.00528.09
8.1.240.0030.00618.89
8.1.230.0040.00418.69
8.0.30.0120.00416.81
8.0.20.0060.00916.81
8.0.10.0100.01016.89
8.0.00.0030.01216.94
7.4.160.0080.01116.51
7.4.150.0140.00316.43
7.4.140.0000.01716.30
7.4.130.0060.00816.31
7.4.120.0080.00816.11
7.4.110.0070.01016.18
7.4.100.0100.01016.24
7.4.90.0100.00716.25
7.4.80.0080.01216.28
7.4.70.0070.01016.41
7.4.60.0060.01216.41
7.4.50.0060.00916.10
7.4.40.0030.01516.18
7.4.30.0200.00016.11
7.4.20.0120.00816.27
7.4.10.0070.01116.39
7.4.00.0070.01116.25
7.3.280.0080.00616.19
7.3.270.0110.00616.26
7.3.260.0110.00816.12
7.3.250.0080.00616.16
7.3.240.0070.00716.20
7.3.230.0080.01116.11
7.3.220.0060.01316.13
7.3.210.0060.00916.08
7.3.200.0090.00916.07
7.3.190.0030.01116.10
7.3.180.0140.00016.21
7.3.170.0060.01216.07
7.3.160.0070.00716.04
7.3.150.0160.00316.05
7.3.140.0060.01416.15
7.3.130.0030.01116.13
7.3.120.0070.01116.04
7.3.110.0070.00716.03
7.3.100.0060.00816.09
7.3.90.0110.00416.38
7.3.80.0070.00816.09
7.3.70.0120.00616.14
7.3.60.0090.00916.22
7.3.50.0030.01516.15
7.3.40.0110.00416.18
7.3.30.0070.01116.21
7.3.20.0040.01616.23
7.3.10.0100.01016.27
7.3.00.0060.00916.17

preferences:
27.62 ms | 403 KiB | 5 Q