3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Manager { protected string $name; public function __construct(string $name) { $this->name = $name; } } class Huenager extends Manager { protected string $name = 'Хуенаджер'; protected string $hui; public function __construct(string $hui) { $this->hui = $hui; } } var_dump(new Manager('Вася')); var_dump(new Huenager('Хуй как полено'));

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.0090.00720.74
8.4.110.0110.01017.93
8.4.100.0110.01017.66
8.4.90.0110.00920.71
8.4.80.0040.00618.86
8.4.70.0100.00920.67
8.4.60.0140.00720.61
8.4.50.0110.00818.52
8.4.40.0180.00317.70
8.4.30.0160.00320.83
8.4.20.0100.01019.63
8.4.10.0050.00319.50
8.3.250.0120.00716.59
8.3.240.0060.00416.54
8.3.230.0040.00518.36
8.3.220.0110.00519.00
8.3.210.0110.00816.67
8.3.200.0070.00316.53
8.3.190.0100.00816.98
8.3.180.0100.00818.80
8.3.170.0160.00316.83
8.3.160.0090.00917.11
8.3.150.0090.00017.18
8.3.140.0030.00616.46
8.3.130.0040.00418.51
8.3.120.0050.00318.78
8.3.110.0040.00420.94
8.3.100.0040.00416.61
8.3.90.0370.01026.77
8.3.80.0430.00726.77
8.3.70.0470.00326.77
8.3.60.0430.00726.77
8.3.50.0440.00626.77
8.3.40.0320.00426.77
8.3.30.0390.00426.77
8.3.20.0390.00626.77
8.3.10.0460.00926.77
8.3.00.0320.01626.77
8.2.290.0140.00716.75
8.2.280.0070.00818.37
8.2.270.0150.00318.97
8.2.260.0090.00616.38
8.2.250.0080.00018.57
8.2.240.0130.00717.40
8.2.230.0000.00822.58
8.2.220.0030.00624.06
8.2.210.0310.00326.77
8.2.200.0260.00926.77
8.2.190.0180.01526.77
8.2.180.0200.00726.77
8.2.170.0200.01026.77
8.2.160.0310.00626.77
8.2.150.0380.00626.77
8.2.140.0440.00926.77
8.2.130.0290.01626.77
8.2.120.0310.00426.77
8.2.110.0110.00526.77
8.2.100.0160.00426.77
8.2.90.0140.00726.77
8.2.80.0190.00326.77
8.2.70.0240.00726.77
8.2.60.0420.00026.77
8.2.50.0330.01026.77
8.2.40.0300.00726.77
8.2.30.0320.00426.77
8.2.20.0280.00026.77
8.2.10.0230.00626.77
8.2.00.0270.00426.77
8.1.330.0110.00916.30
8.1.320.0090.00817.73
8.1.310.0080.00016.05
8.1.300.0030.00618.09
8.1.290.0290.00626.77
8.1.280.0380.00326.77
8.1.270.0360.00926.77
8.1.260.0290.00926.77
8.1.250.0310.01726.77
8.1.240.0300.00826.77
8.1.230.0300.00926.77
8.1.220.0280.01026.77
8.1.210.0320.00726.77
8.1.200.0290.01026.77
8.1.190.0250.01426.77
8.1.180.0230.01226.77
8.1.170.0210.01126.77
8.1.160.0250.00626.77
8.1.150.0310.01126.77
8.1.140.0360.01126.77
8.1.130.0340.00426.77
8.1.120.0300.01126.77
8.1.110.0330.00626.77
8.1.100.0310.00726.77
8.1.90.0260.01326.77
8.1.80.0210.01226.77
8.1.70.0340.00326.77
8.1.60.0280.01426.77
8.1.50.0300.01126.77
8.1.40.0320.00626.77
8.1.30.0360.00626.77
8.1.20.0290.01226.77
8.1.10.0300.01126.77
8.1.00.0310.01026.77

preferences:
42.22 ms | 403 KiB | 5 Q