3v4l.org

run code in 300+ PHP versions simultaneously
<?php final readonly class User { public string $name; } $user = new User(); $user->name = 'Jack';

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.00.0120.00820.18
8.4.150.0010.00114.05
8.4.140.0130.00817.73
8.4.130.0050.00418.68
8.4.120.0140.00620.84
8.4.110.0130.00622.66
8.4.100.0140.00717.82
8.4.90.0090.00918.79
8.4.80.0060.00218.18
8.4.70.0050.00419.91
8.4.60.0100.01118.38
8.4.50.0130.00724.09
8.4.40.0090.00019.05
8.4.30.0110.00723.96
8.4.20.0100.01019.70
8.4.10.0150.00419.79
8.3.280.0130.00718.40
8.3.270.0130.01116.86
8.3.260.0130.00816.67
8.3.250.0120.00718.98
8.3.240.0080.00718.97
8.3.230.0090.00716.78
8.3.220.0120.00618.44
8.3.210.0100.00916.75
8.3.200.0030.00516.71
8.3.190.0090.00917.29
8.3.180.0140.00418.43
8.3.170.0090.00017.36
8.3.160.0090.00918.92
8.3.150.0090.00917.02
8.3.140.0070.00716.61
8.3.130.0040.00416.76
8.3.120.0160.00316.69
8.3.110.0390.00416.55
8.3.100.0320.01116.79
8.3.90.0380.00316.71
8.3.80.0370.00616.03
8.3.70.0190.02316.37
8.3.60.0260.01316.32
8.3.50.0350.01116.53
8.3.40.0400.00417.66
8.3.30.0260.01617.54
8.3.20.0350.01117.48
8.3.10.0310.00817.41
8.3.00.0150.00417.70
8.2.290.0060.01020.43
8.2.280.0040.00616.97
8.2.270.0030.00616.67
8.2.260.0070.00718.76
8.2.250.0000.00718.72
8.2.240.0300.00316.43
8.2.230.0210.01416.85
8.2.220.0280.01316.66
8.2.210.0280.01016.36
8.2.200.0270.01116.50
8.2.190.0300.01016.32
8.2.180.0390.00316.32
8.2.170.0390.00617.61
8.2.160.0330.01017.61
8.2.150.0270.01817.48
8.2.140.0430.00017.48
8.2.130.0300.00917.03
8.2.120.0380.00017.11
8.2.110.0340.00617.18
8.2.100.0410.00017.44
8.2.90.0320.00817.48
8.2.80.0330.00717.67
8.2.70.0270.01417.13
8.2.60.0340.00717.38
8.2.50.0290.00617.26
8.2.40.0450.00017.56
8.2.30.0300.00917.54
8.2.20.0290.01017.34
8.2.10.0320.00617.46
8.2.00.0380.00317.33
8.1.330.0100.00921.63
8.1.320.0120.00716.07
8.1.310.0120.00618.32
8.1.300.0290.01116.13
8.1.290.0330.00715.77
8.1.280.0290.01115.76
8.1.270.0360.00717.23
8.1.260.0330.01017.01
8.1.250.0360.00416.98
8.1.240.0300.00016.98
8.1.230.0280.00717.16
8.1.220.0370.00016.96
8.1.210.0340.00317.09
8.1.200.0230.00017.04
8.1.190.0310.00816.97
8.1.180.0290.00717.05
8.1.170.0210.01217.34
8.1.160.0390.00016.98
8.1.150.0240.00717.06
8.1.140.0250.01117.06
8.1.130.0310.00816.97
8.1.120.0370.00616.94
8.1.110.0280.00817.14
8.1.100.0300.00916.94
8.1.90.0300.00717.01
8.1.80.0370.00617.01
8.1.70.0280.00917.00
8.1.60.0260.00717.40
8.1.50.0280.00916.73
8.1.40.0340.01017.05
8.1.30.0320.00817.10
8.1.20.0300.00617.39
8.1.10.0310.00917.13
8.1.00.0320.00917.13

preferences:
70.38 ms | 403 KiB | 5 Q