note 126026 added to migration72.new-features
| From: | antonfedonyuk at gmail dot com | Date: | Wed, 21 Apr 2021 00:27:01 +0000 |
| Subject: | note 126026 added to migration72.new-features | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216307@lists.php.net to get a copy of this message | ||
Note: "omitted" = "removed":
<?php
declare(strict_types=1);
interface ITest
{
public function run(array $input);
}
class Test implements ITest
{
public function run($input) {
return $input;
}
}
echo (new Test())->run('foo'); // display foo, no error
?>
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 31.129.215.166)
----
Manual Page -- https://php.net/manual/en/migration72.new-features.php
Edit -- https://main.php.net/note/edit/126026
Del: integrated -- https://main.php.net/note/delete/126026/integrated
Del: useless -- https://main.php.net/note/delete/126026/useless
Del: bad code -- https://main.php.net/note/delete/126026/bad+code
Del: spam -- https://main.php.net/note/delete/126026/spam
Del: non-english -- https://main.php.net/note/delete/126026/non-english
Del: in docs -- https://main.php.net/note/delete/126026/in+docs
Del: other reasons-- https://main.php.net/note/delete/126026
Reject -- https://main.php.net/note/reject/126026
Search -- https://main.php.net/manage/user-notes.php