note 124422 added to class.typeerror
| From: | andrian dot test dot job at gmail dot com | Date: | Fri, 22 Nov 2019 09:47:06 +0000 |
| Subject: | note 124422 added to class.typeerror | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-213160@lists.php.net to get a copy of this message | ||
declare(strict_types=1); //if without this line the result is different
$a = [1,2=>[3,4]];
try{
count($a, COUNT_RECURSIVE, 'toto and blabla');
}catch(TypeError $e){
echo $e->getMessage();
}
----
Server IP: 208.43.231.9
Probable Submitter: 185.85.3.195 (proxied: 197.158.119.146)
----
Manual Page -- http://php.net/manual/en/class.typeerror.php
Edit -- https://master.php.net/note/edit/124422
Del: integrated -- https://master.php.net/note/delete/124422/integrated
Del: useless -- https://master.php.net/note/delete/124422/useless
Del: bad code -- https://master.php.net/note/delete/124422/bad+code
Del: spam -- https://master.php.net/note/delete/124422/spam
Del: non-english -- https://master.php.net/note/delete/124422/non-english
Del: in docs -- https://master.php.net/note/delete/124422/in+docs
Del: other reasons-- https://master.php.net/note/delete/124422
Reject -- https://master.php.net/note/reject/124422
Search -- https://master.php.net/manage/user-notes.php