[php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object
Thijs Kinkhorst
thijs at debian.org
Sun Aug 29 11:09:29 UTC 2010
Hi,
On woansdei 5 Maaie 2010, Thomas Goirand wrote:
> Replying to myself, as I didn't know it would go back to the list! :)
>
> My patch fixes the eregi calls, but not this one:
>
> $err = &new XML_Parser_Error($msg, $ecode);
> return parent::raiseError($err);
>
> What's the way to fix for php 5.3.x?
Two questions:
1) Why is it needed to pass the object by reference? It looks like it could
just as well be passed by value.
2) Why is this bug of grave severity? As I understand it, using this only
generates notices of level E_DEPRECATED. The code functions just as it did
before.
Cheers,
Thijs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20100829/dcc28687/attachment-0001.pgp>
More information about the pkg-php-maint
mailing list