Bug #77873 [Opn->Csd]: improve error message when __serialize doesn't return an array

From: Date: Tue, 09 Apr 2019 15:27:31 +0000
Subject: Bug #77873 [Opn->Csd]: improve error message when __serialize doesn't return an array
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-220383@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=77873&edit=1 ID: 77873 Updated by: nikic@php.net Reported by: nicolas dot grekas+php at gmail dot com Summary: improve error message when __serialize doesn't return an array -Status: Open +Status: Closed Type: Bug Package: *General Issues PHP Version: Next Minor Version Block user comment: N Private report: N New Comment: Automatic comment on behalf of nikita.ppv@gmail.com Revision: http://git.php.net/?p=php-src.git;a=commit;h=cb145e18b230b59f235855ba976fed14ca531755 Log: Fixed bug #77873 Previous Comments: ------------------------------------------------------------------------ [2019-04-09 14:29:13] nicolas dot grekas+php at gmail dot com Description: ------------ when __serialize returns a non array, "__serialize() must return an array" is displayed it would be great to have the class name before: "Foo::__serialize() must return an array" ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=77873&edit=1

« previous php.bugs (#220383) next »