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 { var $Name; var $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.60.0150.00616.88
8.3.50.0110.00921.94
8.3.40.0070.00719.01
8.3.30.0140.00018.80
8.3.20.0070.00020.16
8.3.10.0080.00023.54
8.3.00.0040.00419.41
8.2.180.0090.00616.63
8.2.170.0140.00722.96
8.2.160.0130.00720.24
8.2.150.0080.00024.18
8.2.140.0030.00624.66
8.2.130.0000.00726.16
8.2.120.0040.00417.63
8.2.110.0030.00622.20
8.2.100.0070.00418.04
8.2.90.0030.00519.22
8.2.80.0090.00017.97
8.2.70.0040.00417.75
8.2.60.0080.00017.93
8.2.50.0080.00018.07
8.2.40.0050.00319.48
8.2.30.0040.00420.63
8.2.20.0000.00817.71
8.2.10.0040.00418.12
8.2.00.0000.00717.92
8.1.280.0110.00425.92
8.1.270.0030.00623.84
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0070.00322.48
8.1.230.0060.00617.65
8.1.220.0050.00317.74
8.1.210.0060.00318.77
8.1.200.0060.00317.13
8.1.190.0030.00617.09
8.1.180.0050.00318.10
8.1.170.0050.00518.50
8.1.160.0000.00721.96
8.1.150.0030.00518.75
8.1.140.0050.00319.43
8.1.130.0030.00317.64
8.1.120.0040.00417.43
8.1.110.0000.00717.32
8.1.100.0000.00917.43
8.1.90.0040.00417.30
8.1.80.0060.00317.41
8.1.70.0040.00417.41
8.1.60.0060.00317.47
8.1.50.0050.00317.48
8.1.40.0020.00517.41
8.1.30.0040.00417.67
8.1.20.0070.00017.56
8.1.10.0040.00417.49
8.1.00.0050.00217.51
8.0.300.0040.00418.77
8.0.290.0040.00416.88
8.0.280.0070.00018.41
8.0.270.0100.00017.20
8.0.260.0000.00717.25
8.0.250.0030.00516.98
8.0.240.0050.00317.09
8.0.230.0000.00816.89
8.0.220.0030.00416.91
8.0.210.0000.00716.80
8.0.200.0060.00316.98
8.0.190.0040.00416.82
8.0.180.0030.00416.95
8.0.170.0000.00716.92
8.0.160.0000.00716.86
8.0.150.0000.00716.89
8.0.140.0000.00816.82
8.0.130.0000.00513.29
8.0.120.0000.00816.91
8.0.110.0000.00716.73
8.0.100.0000.00716.72
8.0.90.0030.00316.92
8.0.80.0110.00316.91
8.0.70.0040.00416.93
8.0.60.0000.00717.01
8.0.50.0050.00216.78
8.0.30.0050.01416.96
8.0.20.0110.00717.40
8.0.10.0050.00216.88
8.0.00.0100.00716.71
7.4.330.0000.00515.08
7.4.320.0030.00316.50
7.4.300.0040.00416.52
7.4.290.0030.00316.49
7.4.280.0040.00416.40
7.4.270.0000.00816.50
7.4.260.0000.00816.48
7.4.250.0040.00416.61
7.4.240.0000.00716.54
7.4.230.0000.00816.25
7.4.220.0030.01916.55
7.4.210.0060.00916.52
7.4.200.0030.00316.66
7.4.160.0110.00416.57
7.4.150.0100.00717.40
7.4.140.0090.01317.86
7.4.130.0080.01016.46
7.4.120.0110.00616.53
7.4.110.0090.00916.39
7.4.100.0100.01316.52
7.4.90.0040.01516.69
7.4.80.0120.00619.39
7.4.70.0180.00016.47
7.4.60.0090.00616.47
7.4.50.0080.00016.36
7.4.40.0030.01416.28
7.4.30.0140.00316.18
7.4.00.0070.00715.02
7.3.330.0050.00013.13
7.3.320.0030.00313.31
7.3.310.0050.00216.12
7.3.300.0000.00716.32
7.3.290.0050.01016.33
7.3.280.0040.01316.26
7.3.270.0120.00617.40
7.3.260.0130.00316.57
7.3.250.0120.00816.46
7.3.240.0070.01316.26
7.3.230.0090.00916.39
7.3.210.0100.00716.29
7.3.200.0060.01016.23
7.3.190.0060.00916.25
7.3.180.0100.00716.33
7.3.170.0100.01016.34
7.3.160.0060.01016.52
7.3.10.0110.00516.31
7.3.00.0110.00616.35
7.2.330.0130.00716.56
7.2.320.0160.00716.65
7.2.310.0100.01316.52
7.2.300.0110.01216.71
7.2.290.0170.00616.39
7.2.130.0070.00816.64
7.2.120.0050.00716.62
7.2.110.0080.00816.75
7.2.100.0090.00616.62
7.2.90.0120.00816.83
7.2.80.0060.00716.81
7.2.70.0030.01616.74
7.2.60.0090.00916.86
7.2.50.0090.01016.70
7.2.40.0080.00716.69
7.2.30.0070.00816.83
7.2.20.0050.00816.83
7.2.10.0110.00716.73
7.2.00.0060.00717.37
7.1.250.0060.00815.58
7.1.200.0090.00315.69
7.1.100.0130.01317.86
7.1.70.0040.00916.75
7.1.60.0080.00817.27
7.1.50.0130.00716.93
7.1.40.0090.00916.60
7.1.30.0160.01216.55
7.1.20.0100.00716.57
7.1.10.0090.00616.46
7.1.00.0040.00716.81
7.0.200.0070.00516.68
7.0.190.0130.00016.64
7.0.180.0150.00016.26
7.0.170.0110.00416.38
7.0.160.0070.00716.29
7.0.150.0110.00416.16
7.0.140.0100.00516.19
7.0.130.0140.00016.41
7.0.120.0130.00316.50
7.0.110.0090.00516.21
7.0.100.0080.00516.38
7.0.90.0170.00716.53
7.0.80.0070.00716.33
7.0.70.0110.00416.38
7.0.60.0110.00316.33
7.0.50.0120.00816.56
7.0.40.0190.00015.17
7.0.30.0030.01415.17
7.0.20.0130.00515.17
7.0.10.0150.00515.17
7.0.00.0040.00615.17
5.6.300.0070.04320.67
5.6.290.0030.04520.81
5.6.280.0060.05520.92
5.6.270.0100.08720.87
5.6.260.0000.09520.89
5.6.250.0160.04820.86
5.6.240.0000.05220.84
5.6.230.0070.04820.97
5.6.220.0070.04020.95
5.6.210.0030.04820.97
5.6.200.0000.05121.01
5.6.190.0030.05420.94
5.6.180.0000.05920.88
5.6.170.0070.04020.95
5.6.160.0090.04321.02
5.6.150.0100.06520.96
5.6.140.0060.04720.82
5.6.130.0030.04720.71
5.6.120.0040.04820.74
5.6.110.0070.05821.02
5.6.100.0070.04920.82
5.6.90.0140.03920.78
5.6.80.0000.05220.23
5.6.70.0070.04520.31
5.6.60.0000.07620.34
5.6.50.0090.03520.21
5.6.40.0030.04120.39
5.6.30.0030.05020.39
5.6.20.0030.05020.21
5.6.10.0070.03720.18
5.6.00.0030.04420.36
5.5.380.0030.04217.63
5.5.370.0070.03717.68
5.5.360.0030.04117.43
5.5.350.0000.04717.62
5.5.340.0030.05218.10
5.5.330.0070.04817.86
5.5.320.0030.04218.09
5.5.310.0060.04017.74
5.5.300.0030.04518.09
5.5.290.0030.04318.03
5.5.280.0100.03517.85
5.5.270.0070.04218.08
5.5.260.0060.04118.02
5.5.250.0000.07417.92
5.5.240.0000.04417.09
5.5.230.0100.07017.47
5.5.220.0070.06717.41
5.5.210.0030.03817.13
5.5.200.0060.06817.45
5.5.190.0070.07717.21
5.5.180.0030.04717.21
5.5.160.0030.04217.36
5.5.150.0040.03917.34
5.5.140.0060.03917.52
5.5.130.0030.07117.47
5.5.120.0130.05117.44
5.5.110.0100.06817.45
5.5.100.0070.05617.28
5.5.90.0040.03917.42
5.5.80.0130.03117.29
5.5.70.0100.03817.27
5.5.60.0000.04016.99
5.5.50.0100.03117.25
5.5.40.0000.05916.98
5.5.30.0000.08117.26
5.5.20.0070.03916.94
5.5.10.0030.03717.41
5.5.00.0070.03917.36
5.4.450.0000.05019.59
5.4.440.0070.03919.22
5.4.430.0070.03619.55
5.4.420.0030.05819.34
5.4.410.0030.05419.06
5.4.400.0310.02418.89
5.4.390.0160.05919.07
5.4.380.0090.03619.06
5.4.370.0130.05718.96
5.4.360.0150.03218.95
5.4.350.0100.07419.20
5.4.340.0100.04319.13
5.4.320.0070.03718.98
5.4.310.0100.03318.89
5.4.300.0030.07319.20
5.4.290.0130.06819.06
5.4.280.0060.04119.05
5.4.270.0030.06118.91
5.4.260.0000.04418.97
5.4.250.0030.03719.12
5.4.240.0070.03419.16
5.4.230.0040.03719.12
5.4.220.0000.04318.88
5.4.210.0000.04018.97
5.4.200.0070.05918.98
5.4.190.0070.03818.96
5.4.180.0040.03918.88
5.4.170.0030.03719.06
5.4.160.0000.06119.12
5.4.150.0030.04318.85
5.4.140.0090.03016.50
5.4.130.0030.03416.72
5.4.120.0030.07016.62
5.4.110.0040.03616.53
5.4.100.0100.06216.64
5.4.90.0000.07716.80
5.4.80.0030.05316.40
5.4.70.0070.06416.45
5.4.60.0000.07416.43
5.4.50.0070.06716.71
5.4.40.0030.04116.75
5.4.30.0000.04716.71
5.4.20.0030.03516.60
5.4.10.0000.03916.68
5.4.00.0000.07715.89

preferences:
58.4 ms | 401 KiB | 5 Q