3v4l.org

run code in 300+ PHP versions simultaneously
<?php class Man { protected $Vik; protected $Staty; function input($v, $s) { $this->Vik=$v; $this->Staty=$s; } } class Gayduk extends Man { protected $Name; protected $Priz; function input1($n, $p) { $this->Name=$n; $this->Priz=$p; } function printinfo() { echo "$this->Vik"; echo "$this->Staty"; echo "$this->Name"; echo "$this->Priz"; } } $man = new Man(); $rsg = new Gayduk(); $man->input('18', 'Чоловіча'); $rsg->input1('Роман', 'Гайдук'); $rsg->printinfo(); ?>

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.70.0070.01118.30
8.3.60.0200.00016.63
8.3.50.0130.00521.99
8.3.40.0140.00018.96
8.3.30.0090.00618.67
8.3.20.0020.00520.22
8.3.10.0040.00423.70
8.3.00.0030.00519.38
8.2.180.0040.01116.63
8.2.170.0070.00722.96
8.2.160.0170.00320.44
8.2.150.0000.00824.18
8.2.140.0090.00024.66
8.2.130.0070.00026.16
8.2.120.0030.00617.63
8.2.110.0100.00022.08
8.2.100.0090.00317.93
8.2.90.0000.00819.30
8.2.80.0040.00417.97
8.2.70.0040.00417.63
8.2.60.0080.00018.04
8.2.50.0080.00018.07
8.2.40.0040.00419.12
8.2.30.0000.00720.54
8.2.20.0000.00817.69
8.2.10.0030.00518.00
8.2.00.0000.00717.95
8.1.280.0120.00325.92
8.1.270.0000.00823.87
8.1.260.0080.00026.35
8.1.250.0070.00028.09
8.1.240.0060.00322.36
8.1.230.0080.00317.66
8.1.220.0080.00017.79
8.1.210.0050.00518.77
8.1.200.0030.00617.22
8.1.190.0040.00417.23
8.1.180.0040.00418.10
8.1.170.0060.00618.52
8.1.160.0000.00822.02
8.1.150.0040.00418.88
8.1.140.0040.00419.39
8.1.130.0040.00417.61
8.1.120.0000.00717.32
8.1.110.0000.00717.38
8.1.100.0090.00017.37
8.1.90.0040.00417.29
8.1.80.0000.00717.43
8.1.70.0070.00017.49
8.1.60.0040.00417.62
8.1.50.0040.00417.50
8.1.40.0080.00017.56
8.1.30.0030.00517.57
8.1.20.0000.00717.65
8.1.10.0040.00417.60
8.1.00.0040.00417.54
8.0.300.0040.00418.77
8.0.290.0070.00016.63
8.0.280.0070.00018.45
8.0.270.0040.00417.17
8.0.260.0040.00417.37
8.0.250.0030.00616.86
8.0.240.0040.00416.89
8.0.230.0040.00416.82
8.0.220.0040.00416.80
8.0.210.0070.00016.82
8.0.200.0090.00016.85
8.0.190.0000.00816.86
8.0.180.0030.00616.82
8.0.170.0050.00316.82
8.0.160.0040.00416.80
8.0.150.0070.00016.77
8.0.140.0000.00816.72
8.0.130.0030.00313.21
8.0.120.0000.00816.72
8.0.110.0050.00216.89
8.0.100.0040.00416.80
8.0.90.0050.00316.70
8.0.80.0110.00416.71
8.0.70.0040.00416.81
8.0.60.0000.00816.71
8.0.50.0030.00516.94
8.0.30.0090.00917.11
8.0.20.0130.00517.40
8.0.10.0050.00316.96
8.0.00.0110.00616.85
7.4.330.0000.00515.09
7.4.320.0030.00316.61
7.4.300.0070.00016.57
7.4.290.0030.00316.49
7.4.280.0060.00316.41
7.4.270.0030.00316.51
7.4.260.0040.00416.48
7.4.250.0070.00016.61
7.4.240.0030.00416.62
7.4.230.0070.00016.62
7.4.220.0110.00916.58
7.4.210.0070.00716.64
7.4.200.0000.00716.60
7.4.160.0120.00316.44
7.4.150.0130.01017.40
7.4.140.0200.01417.86
7.4.130.0090.01216.60
7.4.120.0100.00816.57
7.4.110.0150.00316.29
7.4.100.0040.01616.70
7.4.90.0190.00316.54
7.4.80.0130.00419.39
7.4.70.0090.00916.55
7.4.60.0120.00416.26
7.4.50.0040.00416.32
7.4.40.0160.00616.49
7.4.30.0090.00916.36
7.4.00.0070.01015.02
7.3.330.0000.00613.33
7.3.320.0000.00513.15
7.3.310.0040.00416.17
7.3.300.0040.00416.30
7.3.290.0080.00816.27
7.3.280.0070.01016.32
7.3.270.0070.01017.40
7.3.260.0140.00616.59
7.3.240.0070.01316.44
7.3.230.0130.00816.39
7.3.210.0030.01516.50
7.3.200.0070.01016.56
7.3.190.0100.00616.36
7.3.180.0130.00316.46
7.3.170.0160.00616.40
7.3.160.0060.01016.60
7.2.330.0090.00916.84
7.2.320.0100.00716.75
7.2.310.0140.00716.65
7.2.300.0120.00916.81
7.2.290.0070.01016.49
7.2.00.0060.00919.50
7.1.70.0030.00617.18
7.1.60.0000.01117.02
7.1.50.0030.01016.80
7.1.00.0070.07322.33
7.0.200.0100.00716.80
7.0.60.0130.07319.83
7.0.50.0100.03317.95
7.0.40.0030.09020.42
7.0.30.0070.08320.25
7.0.20.0200.07720.16
7.0.10.0070.05720.10
7.0.00.0100.08720.14
5.6.280.0000.07021.00
5.6.210.0070.04020.63
5.6.200.0000.06718.29
5.6.190.0030.05720.63
5.6.180.0270.08020.52
5.6.170.0230.05720.52
5.6.160.0000.04720.55
5.6.150.0000.06018.19
5.6.140.0000.09018.15
5.6.130.0030.05018.15
5.6.120.0030.06720.97
5.6.110.0070.08721.00
5.6.100.0130.03321.14
5.6.90.0070.04020.95
5.6.80.0070.03720.53
5.5.350.0570.06020.43
5.5.340.0100.04718.09
5.5.330.0230.05720.32
5.5.320.0300.08020.27
5.5.310.0300.07720.30
5.5.300.0100.07317.95
5.5.290.0070.03717.98
5.5.280.0100.06320.66
5.5.270.0100.07720.85
5.5.260.0030.04020.98
5.5.250.0030.04020.59
5.5.240.0100.04020.16
5.4.450.0800.05719.61
5.4.440.0670.05719.60
5.4.430.0700.05019.20
5.4.420.0700.05719.58
5.4.410.0700.05019.48
5.4.400.0670.05318.84
5.4.390.0700.05019.02
5.4.380.0730.05318.88
5.4.370.0730.04719.06
5.4.360.0730.05319.38
5.4.350.0700.04719.14
5.4.340.0530.06019.38
5.4.320.0600.05718.98
5.4.310.0700.05019.23
5.4.300.0730.05019.37
5.4.290.0730.05019.14
5.4.280.0800.04319.28
5.4.270.0730.05719.06
5.4.260.0730.05019.06
5.4.250.0530.05718.98
5.4.240.0670.05019.12
5.4.230.0600.05718.83
5.4.220.0670.06319.01
5.4.210.0700.05019.28
5.4.200.0730.04718.86
5.4.190.0670.05319.25
5.4.180.0630.05319.16
5.4.170.0670.05019.25
5.4.160.0630.05319.26
5.4.150.0670.05318.99
5.4.140.0600.05316.69
5.4.130.0630.05316.30
5.4.120.0700.04716.54
5.4.110.0630.05016.57
5.4.100.0730.05716.56
5.4.90.0670.04716.47
5.4.80.0800.04316.63
5.4.70.0570.05316.66
5.4.60.0600.04716.58
5.4.50.0600.05316.48
5.4.40.0600.04716.59
5.4.30.0730.04316.59
5.4.20.0570.05016.40
5.4.10.0730.04716.57
5.4.00.0700.04715.71

preferences:
48.91 ms | 404 KiB | 6 Q