[php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object
thijs at debian.org
Sun Aug 29 11:09:29 UTC 2010
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?
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 490 bytes
Desc: This is a digitally signed message part.
More information about the pkg-php-maint