3v4l.org

run code in 300+ PHP versions simultaneously
<?php #[Attribute] class ColumnName { use Getter; public function __construct(private string $name) { $this->name = $name; } }

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.5.20.0090.00817.92
8.5.10.0120.00516.80
8.5.00.0110.01019.86
8.4.170.0080.01520.45
8.4.160.0130.00920.68
8.4.150.0010.00214.05
8.4.140.0130.00717.23
8.4.130.0130.00718.76
8.4.120.0080.01220.46
8.4.110.0150.00518.88
8.4.100.0140.00617.59
8.4.90.0110.01020.51
8.4.80.0090.00318.99
8.4.70.0050.00518.86
8.4.60.0120.00720.34
8.4.50.0120.00818.69
8.4.40.0100.00617.50
8.4.30.0000.00819.06
8.4.20.0070.01618.68
8.4.10.0060.00319.28
8.3.300.0140.00619.35
8.3.290.0100.01020.80
8.3.280.0110.01018.34
8.3.270.0090.01116.67
8.3.260.0090.00716.82
8.3.250.0070.00417.22
8.3.240.0140.00516.68
8.3.230.0120.00517.21
8.3.220.0090.00419.05
8.3.210.0080.00216.75
8.3.200.0050.00316.67
8.3.190.0090.00816.85
8.3.180.0100.00818.75
8.3.170.0140.00319.02
8.3.160.0110.00718.70
8.3.150.0100.01017.35
8.3.140.0040.00418.61
8.3.130.0110.00016.54
8.3.120.0150.00020.83
8.3.110.0090.00020.94
8.3.100.0080.00024.06
8.3.90.0090.00626.77
8.3.80.0030.00617.97
8.3.70.0120.00618.68
8.3.60.0160.00618.20
8.3.50.0140.01016.81
8.3.40.0100.00320.48
8.3.30.0110.00720.20
8.3.20.0040.00424.18
8.3.10.0000.00824.66
8.3.00.0130.00618.59
8.2.300.0100.00920.46
8.2.290.0080.01216.81
8.2.280.0090.01118.16
8.2.270.0040.01516.93
8.2.260.0120.00618.36
8.2.250.0090.00016.46
8.2.240.0000.01217.03
8.2.230.0060.00322.58
8.2.220.0100.00037.54
8.2.210.0060.00326.77
8.2.200.0060.00316.38
8.2.190.0060.00918.42
8.2.180.0140.00716.50
8.2.170.0070.00718.79
8.2.160.0120.00322.96
8.2.150.0040.00425.66
8.2.140.0000.00824.66
8.2.130.0070.01119.22
8.2.120.0060.01220.51
8.2.110.0150.00418.85
8.2.100.0110.00719.10
8.2.90.0140.00718.91
8.2.80.0090.00618.60
8.2.70.0120.00318.60
8.2.60.0150.00618.78
8.2.50.0100.01018.82
8.2.40.0100.00318.87
8.2.30.0090.00618.41
8.2.20.0120.00318.53
8.2.10.0070.00718.71
8.2.00.0100.01018.66
8.1.340.0080.00820.02
8.1.330.0130.00616.11
8.1.320.0120.00717.80
8.1.310.0040.01117.80
8.1.300.0060.00320.21
8.1.290.0090.00030.84
8.1.280.0140.00425.92
8.1.270.0070.00323.90
8.1.260.0110.00321.99
8.1.250.0110.00722.12
8.1.240.0090.00618.54
8.1.230.0080.00818.57
8.1.220.0090.00018.44
8.1.210.0040.00418.34
8.1.200.0080.00018.43
8.1.190.0080.00018.63
8.1.180.0000.00818.29
8.1.170.0040.00418.49
8.1.160.0040.00418.35
8.1.150.0040.00418.35
8.1.140.0040.00418.49
8.1.130.0030.00518.64
8.1.120.0050.00318.51
8.1.110.0030.00518.50
8.1.100.0040.00418.46
8.1.90.0040.00418.49
8.1.80.0040.00418.41
8.1.70.0060.00318.50
8.1.60.0080.00018.55
8.1.50.0030.00518.50
8.1.40.0040.00418.69
8.1.30.0030.00518.61
8.1.20.0040.00418.79
8.1.10.0030.00618.48
8.1.00.0070.00318.36

preferences:
101.32 ms | 403 KiB | 5 Q