3v4l.org

run code in 300+ PHP versions simultaneously
<?php #[AllowDynamicProperties] class Foo {} $obj = new Foo; $obj->prop = 'test';

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.10.0060.00321.93
8.3.140.0140.00018.90
8.3.130.0110.00718.64
8.3.120.0060.00319.11
8.3.110.0060.00320.94
8.3.100.0060.00324.06
8.3.90.0150.00026.77
8.3.80.0090.00018.56
8.3.70.0040.01116.58
8.3.60.0070.00716.75
8.3.50.0090.01220.02
8.3.40.0180.00418.90
8.3.30.0060.00918.58
8.3.20.0080.00024.18
8.3.10.0040.00424.66
8.3.00.0000.00826.16
8.2.260.0140.00416.46
8.2.250.0060.01016.77
8.2.240.0080.00017.15
8.2.230.0040.00422.58
8.2.220.0080.00037.54
8.2.210.0130.00326.77
8.2.200.0030.00616.38
8.2.190.0180.00316.75
8.2.180.0090.00625.92
8.2.170.0120.00618.91
8.2.160.0110.00422.96
8.2.150.0130.00025.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0080.00026.16
8.2.110.0030.00622.08
8.2.100.0040.00817.66
8.2.90.0040.00417.74
8.2.80.0000.00918.78
8.2.70.0080.00458.67
8.2.60.0060.00317.63
8.2.50.0100.00517.92
8.2.40.0060.00717.71
8.2.30.0050.00417.61
8.2.20.0000.00820.41
8.2.10.0060.00517.97
8.2.00.0060.00418.06
8.1.310.0110.00417.76
8.1.300.0140.00018.39
8.1.290.0060.00330.84
8.1.280.0140.00725.92
8.1.270.0040.00423.99
8.1.260.0080.00626.35
8.1.250.0040.00428.09
8.1.240.0130.00919.31
8.1.230.0090.00320.89
8.1.220.0000.00818.43
8.1.210.0000.00818.77
8.1.200.0050.00317.36
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0090.00018.65
8.1.160.0000.00718.85
8.1.150.0000.00718.48
8.1.140.0000.00717.38
8.1.130.0030.00717.85
8.1.120.0060.00817.39
8.1.110.0070.00417.37
8.1.100.0100.00417.38
8.1.90.0060.00417.37
8.1.80.0100.00317.39
8.1.70.0100.00717.30
8.1.60.0130.00517.50
8.1.50.0130.00517.40
8.1.40.0130.00517.44
8.1.30.0110.00617.49
8.1.20.0140.00317.56
8.1.10.0120.00217.93
8.1.00.0110.00517.36
8.0.300.0040.00418.77
8.0.290.0030.00616.63
8.0.280.0050.00617.30
8.0.270.0030.00317.84
8.0.260.0050.00517.34
8.0.250.0060.00416.88
8.0.240.0050.00616.85
8.0.230.0080.00416.87
8.0.220.0080.00416.86
8.0.210.0080.00416.86
8.0.200.0110.00516.84
8.0.190.0090.00516.81
8.0.180.0090.00616.80
8.0.170.0090.00616.80
8.0.160.0080.00516.84
8.0.150.0050.00916.75
8.0.140.0100.00416.80
8.0.130.0070.00616.73
8.0.120.0080.00616.78
8.0.110.0080.00516.77
8.0.100.0100.00216.83
8.0.90.0120.00316.76
8.0.80.0080.00516.82
8.0.70.0100.00216.80
8.0.60.0120.00316.79
8.0.50.0100.00316.81
8.0.30.0120.00216.81
8.0.20.0090.00516.84
8.0.10.0110.00216.87
7.4.330.0090.00116.43
7.4.320.0090.00316.69
7.4.300.0060.00516.57
7.4.290.0110.00216.63
7.4.280.0080.00516.67
7.4.270.0080.00416.60
7.4.260.0090.00716.63
7.4.250.0170.00016.68
7.4.240.0140.00316.62
7.4.230.0150.00316.67
7.4.220.0130.00216.65
7.4.210.0090.00316.58
7.4.200.0090.00416.65
7.4.190.0110.00216.65
7.4.180.0070.00616.64
7.4.160.0100.00316.64
7.4.150.0080.00616.66
7.4.140.0080.00516.62
7.4.130.0100.00416.55
7.4.120.0090.00416.57
7.4.110.0110.00316.56
7.4.100.0070.00716.59
7.4.90.0090.00516.61
7.4.80.0120.00216.60
7.4.70.0100.00316.57
7.4.60.0100.00416.63
7.4.50.0070.00716.58
7.4.40.0110.00416.53
7.4.30.0100.00416.59
7.4.20.0120.00116.59
7.4.10.0050.00616.60
7.4.00.0090.00216.59
7.2.260.0060.00518.10

preferences:
28.02 ms | 403 KiB | 5 Q