|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2009-07-23 22:55 UTC] jani@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 14:00:01 2025 UTC |
Description: ------------ I must say I'm using php 5.1.6. I'm not able to upgrade the version in this environment. As I didn't find any comments on my problem, I assume it's still in PHP. I have some segfaults with a certain SOAP-answer. I decided to use PEAR-Soap instead. It doesn't work with pear neither. It turns out, that this special answer uses cyclic object references and PEAR::Soap cannot handle that. I assume PHP's Soap has the same problems. Reproduce code: --------------- This is only an excerpt of the SOAP-Answer: <env:Body> <ns0:Paragraph id="ID19" xsi:type="ns0:Paragraph"> <sub href="#ID21" /> </ns0:Paragraph> <ns0:Paragraph id="ID21" xsi:type="ns0:Paragraph"> <parent href="#ID19" /> </ns0:Paragraph> </env:Body> Expected result: ---------------- I expect an object graph with correct cyclic references. Actual result: -------------- Apache segfaults now. I think this is due to an infinit loop like PEAR does as well.