Bug #79645 [NEW]: ReflectionClass::isInstance() returns NULL for non-object parameter
| From: | kukulich at kukulich dot cz | Date: | Thu, 28 May 2020 07:43:57 +0000 |
| Subject: | Bug #79645 [NEW]: ReflectionClass::isInstance() returns NULL for non-object parameter | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-227213@lists.php.net to get a copy of this message | ||
From: kukulich at kukulich dot cz
Operating system:
PHP version: Irrelevant
Package: Reflection related
Bug Type: Bug
Bug description:ReflectionClass::isInstance() returns NULL for non-object parameter
Description:
------------
ReflectionClass::isInstance() returns NULL for non-object parameter
Test script:
---------------
https://3v4l.org/J1jl9
Expected result:
----------------
FALSE
Actual result:
--------------
NULL
--
Edit bug report at https://bugs.php.net/bug.php?id=79645&edit=1
--
Fix committed: https://bugs.php.net/fix.php?id=79645&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=79645&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=79645&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=79645&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=79645&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=79645&r=support
Expected behavior: https://bugs.php.net/fix.php?id=79645&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=79645&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=79645&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=79645&r=globals
PHP version support discontinued: https://bugs.php.net/fix.php?id=79645&r=phptooold
Daylight Savings: https://bugs.php.net/fix.php?id=79645&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=79645&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=79645&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=79645&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=79645&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=79645&r=mysqlcfg