note 126474 added to functions.user-defined
| From: | synnus at gmail dot com | Date: | Mon, 04 Oct 2021 14:14:39 +0000 |
| Subject: | note 126474 added to functions.user-defined | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217026@lists.php.net to get a copy of this message | ||
<?php
// label in function Salt syntax
// is not type juste for best read
$rt = myfunction(
bar_bar: 10,
foo_foo: 5
);
var_dump($rt);
function myfunction($bar_bar, $foo_foo): int
{
return $bar_bar + $foo_foo;
}
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 92.137.230.52)
----
Manual Page -- https://php.net/manual/en/functions.user-defined.php
Edit -- https://main.php.net/note/edit/126474
Del: integrated -- https://main.php.net/note/delete/126474/integrated
Del: useless -- https://main.php.net/note/delete/126474/useless
Del: bad code -- https://main.php.net/note/delete/126474/bad+code
Del: spam -- https://main.php.net/note/delete/126474/spam
Del: non-english -- https://main.php.net/note/delete/126474/non-english
Del: in docs -- https://main.php.net/note/delete/126474/in+docs
Del: other reasons-- https://main.php.net/note/delete/126474
Reject -- https://main.php.net/note/reject/126474
Search -- https://main.php.net/manage/user-notes.php