Edit report at http://pear.php.net/bugs/bug.php?id=16556&edit=1
ID: 16556
Comment by: spork
Reported By: css at morefoo dot com
Summary: Deprecated errors thrown by PHP
Status: Wont fix
Type: Bug
Package: XML_Serializer
Operating System: All
Package Version: 0.20.0
PHP Version: 5.3.0
New Comment:
I'm finding this same error in a number of pear packages now, including
XML Serializer, Unserializer and Parser.
It's now 2010 and php4 is not being actively developed. Can we look
towards the future on this? If no one is working on the next version,
perhaps the community is better served by simply brining the old one
into compliance with the current supported versions of php...
Previous Comments:
------------------------------------------------------------------------
[2009-09-14 15:11:54] mjgw
Just curious, but why is it so important to keep compatibility with
PHP4? That version of PHP stopped
being supported elsewhere quite a while ago. Couldn't PHP4 users simply
be warned not to upgrade
beyond version 0.20.0? I've already fixed the problem for my own use and
would be happy to share
those fixes (though they're easy). Out with the old, etc...
------------------------------------------------------------------------
[2009-09-14 15:06:28] cweiske
<div id="changeset">
<span class="removed">-Status: Open</span>
<span class="added">+Status: Wont fix</span>
</div>We cannot fix that because XML_Serializer is compatible with PHP4,
which needs this. Because PEAR strives to keep backward compatibility,
we cannot fix that until the next major version (XML_Serializer2) - but
nobody started work on that yet.
------------------------------------------------------------------------
[2009-08-30 21:33:14] mjgw
Description:
------------
These are the errors that are thrown when including Unserializer.php
Deprecated: Assigning the return value of new by reference is
deprecated in /private/var/www/Library/Pear/XML/Unserializer.php on
line 801
Deprecated: Assigning the return value of new by reference is
deprecated in /private/var/www/Library/Pear/XML/Unserializer.php on
line 804
Deprecated: Assigning the return value of new by reference is
deprecated in /private/var/www/Library/Pear/XML/Unserializer.php on
line 974
------------------------------------------------------------------------