|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-01-28 10:37 UTC] scottmac@php.net
[2011-02-01 14:32 UTC] iliaa@php.net
-Status: Open
+Status: Bogus
[2011-02-01 14:32 UTC] iliaa@php.net
[2011-02-01 18:43 UTC] alok at fb dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 07 02:00:01 2025 UTC |
Description: ------------ The following piece of code would cause "PHP Fatal error: [php_fb]: call depth has exceeded the maximum recursion setting of 500!, eject! eject! eject!..." in 5.2.5. However, on versions 5.3.3 and 5.3.5, I am seeing a segmentation fault. Test script: --------------- <?php class A { public function __toString() { (string)$this; } } (string)new A(); Expected result: ---------------- "PHP Fatal error: [php_fb]: call depth has exceeded the maximum recursion setting of 500!, eject! eject! eject!..." seems a reasonable result. Actual result: -------------- segmentation fault