3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Foo { protected $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.3.60.0070.00716.63
8.3.50.0070.01118.09
8.3.40.0130.00620.07
8.3.30.0090.00618.57
8.3.20.0040.00424.18
8.3.10.0040.00424.66
8.3.00.0080.00026.16
8.2.180.0000.01525.92
8.2.170.0070.00718.45
8.2.160.0140.00022.96
8.2.150.0050.00325.66
8.2.140.0040.00424.66
8.2.130.0070.00026.16
8.2.120.0000.00720.80
8.2.110.0060.00319.40
8.2.100.0000.01117.78
8.2.90.0040.00417.63
8.2.80.0000.00817.97
8.2.70.0050.00317.50
8.2.60.0040.00417.38
8.2.50.0030.00518.05
8.2.40.0050.00217.94
8.2.30.0040.00417.93
8.2.20.0000.00819.18
8.2.10.0080.00617.68
8.2.00.0010.00719.20
8.1.280.0100.00325.92
8.1.270.0040.00424.66
8.1.260.0040.00426.35
8.1.250.0080.00028.09
8.1.240.0060.00319.00
8.1.230.0060.00621.05
8.1.220.0040.00417.74
8.1.210.0040.00418.77
8.1.200.0090.00317.10
8.1.190.0050.00317.00
8.1.180.0060.00318.10
8.1.170.0000.00817.62
8.1.160.0000.00718.88
8.1.150.0040.00418.35
8.1.140.0040.00817.24
8.1.130.0080.00417.98
8.1.120.0110.00117.35
8.1.110.0100.00417.19
8.1.100.0080.00517.21
8.1.90.0080.00517.33
8.1.80.0080.00518.24
8.1.70.0120.00317.37
8.1.60.0080.00618.25
8.1.50.0120.00717.31
8.1.40.0130.00617.38
8.1.30.0160.00817.45
8.1.20.0110.00717.47
8.1.10.0130.00517.32
8.1.00.0120.00517.36
8.0.300.0000.00719.81
8.0.290.0070.00016.63
8.0.280.0000.00818.21
8.0.270.0090.00616.63
8.0.260.0090.00217.40
8.0.250.0030.00916.70
8.0.240.0080.00416.72
8.0.230.0100.00516.75
8.0.220.0140.00216.68
8.0.210.0040.01416.68
8.0.200.0140.00216.68
8.0.190.0090.00616.73
8.0.180.0100.00416.73
8.0.170.0060.01016.63
8.0.160.0100.00516.65
8.0.150.0120.00316.60
8.0.140.0130.00216.55
8.0.130.0090.00316.55
8.0.120.0090.00416.55
8.0.110.0090.00416.64
8.0.100.0070.00616.47
8.0.90.0080.00416.54
8.0.80.0050.00916.61
8.0.70.0110.00616.52
8.0.60.0090.00716.66
8.0.50.0100.00616.61
8.0.30.0150.00016.63
8.0.20.0110.00416.76
8.0.10.0090.00316.65
7.4.330.0000.00615.92
7.4.320.0070.00416.37
7.4.300.0100.00616.31
7.4.290.0150.00416.36
7.4.280.0130.00316.28
7.4.270.0140.00016.24
7.4.260.0130.00116.34
7.4.250.0120.00316.29
7.4.240.0140.00316.32
7.4.230.0160.00116.30
7.4.220.0110.00316.29
7.4.210.0100.00416.31
7.4.200.0090.00516.35
7.4.190.0090.00716.37
7.4.180.0110.00416.38
7.4.160.0100.00316.42
7.4.150.0100.00416.34
7.4.140.0120.00216.31
7.4.130.0120.00316.27
7.4.120.0130.00116.22
7.4.110.0080.00716.28
7.4.100.0080.00416.36
7.4.90.0030.00816.21
7.4.80.0120.00316.19
7.4.70.0080.00616.28
7.4.60.0130.00316.19
7.4.50.0150.00016.16
7.4.40.0060.00816.10
7.4.30.0070.00516.13
7.4.20.0080.00416.25
7.4.10.0090.00516.25
7.4.00.0110.00216.25

preferences:
49.18 ms | 400 KiB | 5 Q