PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Web Services » SOAP » Bug #4870

php 4.4.0 problems with return by reference

Details

Submitted2005-07-20 10:45 UTC
Fromna at index20 dot ru
Assignedyunosh
StatusClosed
PackageSOAP
PHP VersionIrrelevant
OSlinux
Roadmaps(Not assigned)

Comments

[2005-07-20 10:45 UTC] na at index20 dot ru

Description:
------------
Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Value.php on line 113

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Parser.php on line 476

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Parser.php on line 499

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Client.php on line 693

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Client.php on line 651

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Client.php on line 342

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Value.php on line 113

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Parser.php on line 476

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Parser.php on line 499

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Client.php on line 693

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Client.php on line 651

Notice: Only variable references should be returned by reference in /usr/local/lib/php/SOAP/Client.php on line 342

[2005-12-23 07:30 UTC] ngeow dot wuhan at ictinteractive dot com

Got similar result on PHP5 running with php_flag display_errors on:

<pre>
soap_fault Object
(
[error_message_prefix] =>
[mode] => 1
[level] => 1024
[code] => Parser
[message] => XML error on line 2 col 0 byte 7 junk after document element
[userinfo] => <br />
<b>Notice</b>: Only variable references should be returned by reference in <b>C:\php5\PEAR\SOAP\Parser.php</b> on line <b>499</b><br />
<br />
<b>Notice</b>: Only variable references should be returned by reference in <b>C:\php5\PEAR\SOAP\Value.php</b> on line <b>113</b><br />
<br />
<b>Notice</b>: Only variable references should be returned by reference in <b>C:\php5\PEAR\SOAP\Value.php</b> on line <b>113</b><br />
<?xml version="1.0" encoding="UTF-8"?>

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>

<SOAP-ENV:onsaleResponse>
<return xsi:type="xsd:string">1</return></SOAP-ENV:onsaleResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
[callback] =>
)
</pre>