note 126644 added to function.return
| From: | anisgazig at gmail dot com | Date: | Mon, 29 Nov 2021 01:03:17 +0000 |
| Subject: | note 126644 added to function.return | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217303@lists.php.net to get a copy of this message | ||
//method with the same name as their class deprecated php7 but allowed php8
class A{
public function A(){
return "Hi";
}
}
$o = new A;
var_dump( $o->A());
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 103.120.33.26)
----
Manual Page -- https://php.net/manual/en/function.return.php
Edit -- https://main.php.net/note/edit/126644
Del: integrated -- https://main.php.net/note/delete/126644/integrated
Del: useless -- https://main.php.net/note/delete/126644/useless
Del: bad code -- https://main.php.net/note/delete/126644/bad+code
Del: spam -- https://main.php.net/note/delete/126644/spam
Del: non-english -- https://main.php.net/note/delete/126644/non-english
Del: in docs -- https://main.php.net/note/delete/126644/in+docs
Del: other reasons-- https://main.php.net/note/delete/126644
Reject -- https://main.php.net/note/reject/126644
Search -- https://main.php.net/manage/user-notes.php