Bug #79521 [Asn->Csd]: `__set_state` structure not been checked

From: Date: Tue, 28 Apr 2020 15:05:15 +0000
Subject: Bug #79521 [Asn->Csd]: `__set_state` structure not been checked
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-226810@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=79521&edit=1 ID: 79521 Updated by: carusogabriel@php.net Reported by: carusogabriel@php.net Summary: __set_state structure not been checked -Status: Assigned +Status: Closed Type: Bug Package: Class/Object related -Operating System: +Operating System: * -PHP Version: Irrelevant +PHP Version: Next Major Version Assigned To: carusogabriel Block user comment: N Private report: N New Comment: Fixed via http://git.php.net/?p=php-src.git;a=commit;h=34c460f329 Previous Comments: ------------------------------------------------------------------------ [2020-04-27 15:08:51] carusogabriel@php.net The following pull request has been associated: Patch Name: [#79521] Check __set_state structure On GitHub: https://github.com/php/php-src/pull/5462 Patch: https://github.com/php/php-src/pull/5462.patch ------------------------------------------------------------------------ [2020-04-26 13:08:20] carusogabriel@php.net I've opened https://github.com/php/php-src/pull/5462 to fix this. Indeed, not a documentation problem, we need to fix it. ------------------------------------------------------------------------ [2020-04-26 03:39:09] carusogabriel@php.net > Sorry, by ignored I meant that the type doesn't matter. :+1: > It really should return an object, though. It's what the method is for. In this case, we'd need an RFC removing that functionality, right? > And I totally didn't notice the RFC was yours. I'll shut up now :) Comments are always welcome, don't shut up ;) ------------------------------------------------------------------------ [2020-04-26 03:26:30] requinix@php.net Sorry, by ignored I meant that the type doesn't matter. It really should return an object, though. It's what the method is for. And I totally didn't notice the RFC was yours. I'll shut up now :) ------------------------------------------------------------------------ [2020-04-26 03:14:24] carusogabriel@php.net Related To: Bug #69718 ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=79521 -- Edit this bug report at https://bugs.php.net/bug.php?id=79521&edit=1

« previous php.bugs (#226810) next »