note 128400 added to language.oop5.inheritance
| From: | Ma-Hummes at gmx dot de | Date: | Sun, 16 Apr 2023 16:26:51 +0000 |
| Subject: | note 128400 added to language.oop5.inheritance | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-220355@lists.php.net to get a copy of this message | ||
// Informationen über Vererbung, Sicht der obersten Klasse
abstract class Teilnehmer
{
protected $name;
protected $vorname;
protected $code;
public function __construct ($n,$vn,$c)
{
$this->name=$n;
$this->vorname=$vn;
if ($c[0]=="#")
{
$this->code=$c;
}
else
{
$this->code="Fehler" ;
}
}
}
----
Server IP: 45.112.84.4
Probable Submitter: 80.90.13.130 (proxied: 2003:c1:f3a:3ab2:49ee:858a:77fd:80e3)
----
Manual Page -- https://php.net/manual/en/language.oop5.inheritance.php
Edit -- https://main.php.net/note/edit/128400
Del: integrated -- https://main.php.net/note/delete/128400/integrated
Del: useless -- https://main.php.net/note/delete/128400/useless
Del: bad code -- https://main.php.net/note/delete/128400/bad+code
Del: spam -- https://main.php.net/note/delete/128400/spam
Del: non-english -- https://main.php.net/note/delete/128400/non-english
Del: in docs -- https://main.php.net/note/delete/128400/in+docs
Del: other reasons-- https://main.php.net/note/delete/128400
Reject -- https://main.php.net/note/reject/128400
Search -- https://main.php.net/manage/user-notes.php