You are here: Re: [PEAR] PHP 4.4.0 references problems when using PEAR::SOAP « PHP « IT news, forums, messages
Re: [PEAR] PHP 4.4.0 references problems when using PEAR::SOAP

Posted by Justin Patrin on 10/07/05 19:22

On 10/7/05, Denis Gerasimov <denis.gerasimov@team-force.org> wrote:
> Hello list,
>
> I am facing serious troubles when using PEAR::SOAP with PHP 4.4.0 while it
> works fine with PHP 4.3.9.
> PHP 4.4.0 produces many notices like these:
>
> Notice: Only variable references should be returned by reference in
> C:\PHP4\PEAR\SOAP\Value.php on line 118
> Notice: Only variable references should be returned by reference in
> C:\PHP4\PEAR\SOAP\WSDL.php on line 668
> Notice: Only variable references should be returned by reference in
> C:\PHP4\PEAR\SOAP\Value.php on line 118
>
> and so on.
>
> What is the problem?
>
> Currently I have rolled back to version 4.3.9 but this problem will appear
> again after upgrade, of course, - is there any solution (say, php.ini
> setting etc.)?
>
> Have a great day,
>

The solution is to fix the SOAP package. Instead of:
return $serializer->....
make it:
$ret = $serializer->...
return $ret;

This notice was added because PHP has memory corruption issues when
doing this particular thing (it always has).

--
Justin Patrin

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация