|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2016-03-21 05:13 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2016-03-21 05:13 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed Oct 07 15:00:01 2026 UTC |
Description: ------------ when php serialize a user define serialize class and this class's serialize function serialize its clone object, it lead to a cycle and stack exhausted Test script: --------------- <?php class A implements Serializable { public function serialize() { return serialize(clone $this); } public function unserialize($data) { } } serialize(new A()); ?>