Req #79466 [NEW]: david@grudl.com
| From: | david at grudl dot com | Date: | Fri, 10 Apr 2020 16:24:20 +0000 |
| Subject: | Req #79466 [NEW]: david@grudl.com | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-226519@lists.php.net to get a copy of this message | ||
From: david at grudl dot com
Operating system:
PHP version: Next Major Version
Package: Output Control
Bug Type: Feature/Change Request
Bug description:david@grudl.com
Description:
------------
Operator === and a lot of native functions (such as in_array,
array_search(), ...) can cause fatal error. Example:
$foo = [];
$foo[] = [ &$foo ];
array_search($foo, $foo);
Problem is that this fatal error cannot be catched in try ... catch
block. It would be nice if Error was thrown instead.
(related to #62171)
--
Edit bug report at https://bugs.php.net/bug.php?id=79466&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79466&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79466&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79466&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79466&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79466&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79466&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79466&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79466&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79466&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79466&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79466&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79466&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79466&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79466&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79466&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79466&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79466&r=mysqlcfg