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; Man::input(); } 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.40.0030.01118.87
8.3.30.0110.00418.84
8.3.20.0030.00620.16
8.3.10.0050.00323.48
8.3.00.0040.00419.50
8.2.170.0070.00722.96
8.2.160.0130.00720.35
8.2.150.0090.00025.66
8.2.140.0040.00424.66
8.2.130.0040.00426.16
8.2.120.0060.00317.50
8.2.110.0090.00022.30
8.2.100.0000.01217.78
8.2.90.0050.00319.22
8.2.80.0000.00817.97
8.2.70.0030.00617.63
8.2.60.0040.00417.80
8.2.50.0080.00018.07
8.2.40.0090.00019.28
8.2.30.0080.00020.65
8.2.20.0060.00317.80
8.2.10.0060.00318.00
8.2.00.0000.00718.04
8.1.270.0060.00324.01
8.1.260.0040.00426.35
8.1.250.0040.00428.09
8.1.240.0060.00322.30
8.1.230.0110.00520.99
8.1.220.0060.00317.74
8.1.210.0030.00718.77
8.1.200.0060.00317.35
8.1.190.0030.00617.10
8.1.180.0030.00618.10
8.1.170.0040.00718.50
8.1.160.0000.00821.89
8.1.150.0040.00418.79
8.1.140.0000.00819.55
8.1.130.0000.00717.58
8.1.120.0040.00417.46
8.1.110.0000.00817.42
8.1.100.0000.00817.41
8.1.90.0000.00817.33
8.1.80.0050.00317.44
8.1.70.0040.00417.41
8.1.60.0040.00417.50
8.1.50.0040.00417.53
8.1.40.0030.00517.44
8.1.30.0000.00817.69
8.1.20.0040.00417.68
8.1.10.0040.00417.57
8.1.00.0030.00617.60
8.0.300.0000.00718.77
8.0.290.0040.00416.75
8.0.280.0070.00018.41
8.0.270.0030.00617.28
8.0.260.0000.00717.23
8.0.250.0050.00317.03
8.0.240.0030.00316.88
8.0.230.0000.00716.98
8.0.220.0020.00516.86
8.0.210.0040.00416.85
8.0.200.0040.00416.96
8.0.190.0050.00217.00
8.0.180.0040.00416.99
8.0.170.0040.00416.90
8.0.160.0030.00416.95
8.0.150.0030.00516.84
8.0.140.0040.00416.92
8.0.130.0030.00313.34
8.0.120.0050.00316.85
8.0.110.0000.00716.88
8.0.100.0030.00416.90
8.0.90.0050.00316.95
8.0.80.0000.01816.87
8.0.70.0040.00416.95
8.0.60.0050.00316.89
8.0.50.0000.00716.74
8.0.30.0080.00717.28
8.0.20.0110.00717.40
8.0.10.0040.00417.04
8.0.00.0130.00616.94
7.4.330.0050.00015.08
7.4.320.0000.00616.48
7.4.300.0070.00016.54
7.4.290.0000.00716.63
7.4.280.0040.00416.45
7.4.270.0050.00316.51
7.4.260.0030.00416.57
7.4.250.0030.00316.64
7.4.240.0070.00016.66
7.4.230.0000.00716.34
7.4.220.0090.00916.57
7.4.210.0060.00916.74
7.4.200.0030.00316.74
7.4.160.0060.01116.62
7.4.150.0090.00917.40
7.4.140.0100.01317.86
7.4.130.0090.00816.53
7.4.120.0070.01016.46
7.4.110.0170.00516.67
7.4.100.0150.00616.34
7.4.90.0040.01316.47
7.4.80.0070.01019.39
7.4.70.0110.01116.57
7.4.60.0120.00616.63
7.4.50.0030.00516.38
7.4.40.0090.01216.55
7.4.30.0070.01016.51
7.4.00.0090.00614.68
7.3.330.0030.00313.38
7.3.320.0000.00513.17
7.3.310.0030.00316.28
7.3.300.0070.00016.43
7.3.290.0110.00616.34
7.3.280.0090.00616.31
7.3.270.0100.00717.40
7.3.260.0100.01016.26
7.3.250.0060.01416.54
7.3.240.0090.01416.35
7.3.230.0120.00916.56
7.3.210.0090.00916.52
7.3.200.0100.00716.58
7.3.190.0110.00616.44
7.3.180.0040.01116.39
7.3.170.0070.01316.29
7.3.160.0030.01316.52
7.3.120.0040.01514.93
7.3.110.0000.01414.41
7.3.100.0070.01014.66
7.3.90.0080.00614.73
7.3.80.0000.01114.75
7.3.70.0150.00014.83
7.3.60.0040.01114.68
7.3.50.0030.00614.93
7.3.40.0090.00614.50
7.3.30.0000.01415.01
7.3.20.0060.00316.79
7.3.10.0040.00716.73
7.3.00.0030.01316.27
7.2.330.0070.01116.65
7.2.320.0090.00916.73
7.2.310.0140.00316.70
7.2.300.0140.01016.63
7.2.290.0160.00616.33
7.2.240.0100.01014.77
7.2.230.0060.00614.74
7.2.220.0070.00715.19
7.2.210.0030.01414.90
7.2.200.0070.01114.92
7.2.190.0070.01015.08
7.2.180.0130.00315.06
7.2.170.0090.00314.71
7.2.160.0110.00415.00
7.2.150.0120.00316.79
7.2.140.0090.00917.02
7.2.130.0070.01117.00
7.2.120.0070.00716.59
7.2.110.0030.00616.75
7.2.100.0000.01416.91
7.2.90.0070.00716.86
7.2.80.0030.00616.92
7.2.70.0000.00817.05
7.2.60.0030.00916.74
7.2.50.0000.01416.97
7.2.40.0060.00616.95
7.2.30.0060.00616.96
7.2.20.0070.01116.86
7.2.10.0030.00716.92
7.2.00.0060.00818.02
7.1.330.0090.00915.60
7.1.320.0070.01015.61
7.1.310.0030.00915.98
7.1.300.0110.00015.79
7.1.290.0000.01215.72
7.1.280.0070.00315.39
7.1.270.0070.00715.57
7.1.260.0090.00615.53
7.1.250.0090.00615.68
7.1.200.0130.00015.59
7.1.100.0180.00617.69
7.1.70.0040.00417.07
7.1.60.0100.01319.43
7.1.50.0140.00716.85
7.1.00.0070.07322.46
7.0.200.0200.00914.86
7.0.60.0100.06719.93
7.0.50.0030.04717.85
7.0.40.0070.05019.96
7.0.30.0030.09020.23
7.0.20.0430.06720.33
7.0.10.0130.06720.16
7.0.00.0030.08020.12
5.6.280.0070.07021.09
5.6.210.0130.07720.46
5.6.200.0100.07318.18
5.6.190.0070.06320.51
5.6.180.0370.08020.59
5.6.170.0230.08020.62
5.6.160.0070.04020.46
5.6.150.0100.07018.27
5.6.140.0130.06718.16
5.6.130.0000.04718.27
5.6.120.0070.08021.14
5.6.110.0100.08320.86
5.6.100.0100.03320.98
5.6.90.0030.04320.96
5.6.80.0000.04320.38
5.5.350.0300.08020.50
5.5.340.0030.04717.95
5.5.330.0070.09020.19
5.5.320.0270.04720.39
5.5.310.0230.08020.24
5.5.300.0170.06318.03
5.5.290.0070.05717.95
5.5.280.0030.06020.89
5.5.270.0130.07320.77
5.5.260.0000.04720.80
5.5.250.0100.03720.70
5.5.240.0070.07020.27
5.4.450.0700.05319.31
5.4.440.0630.06019.55
5.4.430.0470.05319.33
5.4.420.0170.07019.59
5.4.410.0070.06019.26
5.4.400.0200.06019.26
5.4.390.0600.06019.28
5.4.380.0600.06019.38
5.4.370.0570.06319.15
5.4.360.0730.04719.38
5.4.350.0700.05019.38
5.4.340.0730.04719.28
5.4.320.0600.06019.15
5.4.310.0730.06319.28
5.4.300.0670.05319.14
5.4.290.0700.06019.14
5.4.280.0930.06019.25
5.4.270.0730.04719.22
5.4.260.0770.04019.03
5.4.250.0700.05019.30
5.4.240.0700.05019.16
5.4.230.0700.04719.22
5.4.220.0930.06319.36
5.4.210.0670.05019.22
5.4.200.0770.05319.05
5.4.190.0630.05719.14
5.4.180.0700.05319.00
5.4.170.0670.05018.98
5.4.160.0800.04019.23
5.4.150.0670.05319.35
5.4.140.0670.05016.31
5.4.130.0700.04316.45
5.4.120.0670.04716.50
5.4.110.0700.05016.49
5.4.100.0730.04016.58
5.4.90.0830.04316.65
5.4.80.0800.03716.30
5.4.70.0670.05016.66
5.4.60.0730.05316.50
5.4.50.0670.04716.43
5.4.40.0630.04716.41
5.4.30.0670.04016.58
5.4.20.0670.05316.62
5.4.10.0700.05016.61
5.4.00.0770.04015.94

preferences:
45.46 ms | 400 KiB | 5 Q