Re: [SOAP] Re: SOAP_Fault()
| From: | Arnaud Limbourg | Date: | Sat, 22 May 2004 07:10:36 +0000 |
| Subject: | Re: [SOAP] Re: SOAP_Fault() | ||
| References: | 1 2 3 4 | Groups: | php.soap |
| Request: | Send a blank email to php-soap+get-1538@lists.php.net to get a copy of this message | ||
> > IIRC there was an issue with the error handler. CVS commit logs might
> > explain the change.
> >
> In the commit logs the differences between 7.1 and > 7.1 is obvious. From
> version 1.31 all new <some class>() are changed to references insteed of
> passing by value. Maybe this is coursing the problems in php < 5.x. From
> what I have found out, is one of the big developments in php 5.x it's
> ability to handle nested object references properly. In php < 5.x this is,
> in my opinion, very buggy. In fact one common error message when doing
> var_dump of SOAP_Fault objects is that php complains about recursive
> references in the object.
>
> My conclusion: PEAR::SOAP > 0.7.1 is for php 5.x only, and therefore you
> should put a warning saying that for php < 5.x the stable version is
> 0.7.1.
Objection ! :)
PEAR::SOAP 0.7+ is for PHP4. I remind you that PHP5 hadn't reached a usable point when 0.7.2
was released iirc.
In CVS HEAD there is a PHP5 version which has not seen a release yet.
Now, the object copying in PHP4 can lead to messy situation and that is what may happen here. There
were a few reports on problems with the error handling. It needs to be put on the todo.
Arnaud.