Bug #79645 [Opn->Csd]: ReflectionClass::isInstance() returns NULL for non-object parameter

From: Date: Thu, 28 May 2020 07:51:49 +0000
Subject: Bug #79645 [Opn->Csd]: ReflectionClass::isInstance() returns NULL for non-object parameter
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-227214@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79645&edit=1 ID: 79645 Updated by: nikic@php.net Reported by: kukulich at kukulich dot cz Summary: ReflectionClass::isInstance() returns NULL for non-object parameter -Status: Open +Status: Closed Type: Bug Package: Reflection related PHP Version: Irrelevant -Assigned To: +Assigned To: nikic Block user comment: N Private report: N New Comment: ZPP failure, throws TypeError in PHP 8. Previous Comments: ------------------------------------------------------------------------ [2020-05-28 07:43:57] kukulich at kukulich dot cz Description: ------------ ReflectionClass::isInstance() returns NULL for non-object parameter Test script: --------------- https://3v4l.org/J1jl9 Expected result: ---------------- FALSE Actual result: -------------- NULL ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=79645&edit=1

« previous php.bugs (#227214) next »