note 126147 added to function.strpos
| From: | jarek at wierciak dot pl | Date: | Mon, 07 Jun 2021 11:59:08 +0000 |
| Subject: | note 126147 added to function.strpos | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-216486@lists.php.net to get a copy of this message | ||
Up to version 7.4 if array is passed as first parameter to this function it will report warning and
returns NULL.
From version 8.0 it throws TypeError in this case
----
Server IP: 45.112.84.4
Probable Submitter: 45.112.85.242 (proxied: 2a02:a31b:33c:3100:c158:21be:fbd8:ea88)
----
Manual Page -- https://php.net/manual/en/function.strpos.php
Edit -- https://main.php.net/note/edit/126147
Del: integrated -- https://main.php.net/note/delete/126147/integrated
Del: useless -- https://main.php.net/note/delete/126147/useless
Del: bad code -- https://main.php.net/note/delete/126147/bad+code
Del: spam -- https://main.php.net/note/delete/126147/spam
Del: non-english -- https://main.php.net/note/delete/126147/non-english
Del: in docs -- https://main.php.net/note/delete/126147/in+docs
Del: other reasons-- https://main.php.net/note/delete/126147
Reject -- https://main.php.net/note/reject/126147
Search -- https://main.php.net/manage/user-notes.php