note 126612 added to language.types.declarations
| From: | manoj904378 at gmail dot com | Date: | Mon, 15 Nov 2021 06:59:06 +0000 |
| Subject: | note 126612 added to language.types.declarations | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-217249@lists.php.net to get a copy of this message | ||
PHP Version 7.4
---
true=1;
false=2;
<?php
function a(bool $a,bool $b){
return $a+$b;
}
var_dump(a(false,3.9));
?>
Output
------
int(1)
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 202.21.43.135)
----
Manual Page -- https://php.net/manual/en/language.types.declarations.php
Edit -- https://main.php.net/note/edit/126612
Del: integrated -- https://main.php.net/note/delete/126612/integrated
Del: useless -- https://main.php.net/note/delete/126612/useless
Del: bad code -- https://main.php.net/note/delete/126612/bad+code
Del: spam -- https://main.php.net/note/delete/126612/spam
Del: non-english -- https://main.php.net/note/delete/126612/non-english
Del: in docs -- https://main.php.net/note/delete/126612/in+docs
Del: other reasons-- https://main.php.net/note/delete/126612
Reject -- https://main.php.net/note/reject/126612
Search -- https://main.php.net/manage/user-notes.php