Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-09-03 Thread Thijs Kinkhorst
On Fri, September 3, 2010 11:28, Thomas Goirand wrote: > I made a much much smaller patch for the package. Could you please have > a look at the interdiff, and let me know what you think before I upload? > Also, should I put myself in the Uploaders: list rather than doing it as > an NMU? Let me kno

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-09-03 Thread Thomas Goirand
Thijs Kinkhorst wrote: > On Tue, August 31, 2010 23:28, Thomas Goirand wrote: >> Because of upstream insisting to support >> ante-diluvian version of php, and my will to have >> the patch upstreamed. > > preg_match has been available since PHP 3.0, relased 1998. > > > cheers, > Thijs Hi, I mad

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-09-01 Thread Thomas Goirand
Thijs Kinkhorst wrote: > On Tue, August 31, 2010 23:28, Thomas Goirand wrote: >> Because of upstream insisting to support >> ante-diluvian version of php, and my will to have >> the patch upstreamed. > > preg_match has been available since PHP 3.0, relased 1998. > > > cheers, > Thijs Thanks for

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-09-01 Thread Thijs Kinkhorst
On Tue, August 31, 2010 23:28, Thomas Goirand wrote: > Because of upstream insisting to support > ante-diluvian version of php, and my will to have > the patch upstreamed. preg_match has been available since PHP 3.0, relased 1998. cheers, Thijs -- To UNSUBSCRIBE, email to debian-bugs-dist-req

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-08-31 Thread Thomas Goirand
- Original message - > You're using "prereg_match" which I think is a misspelling of the > "preg_match" function. Did you test it? Wooops!!! :( > I was wondering apart from this why you keep the ereg(i) calls. All > versions of PHP also support preg_match, so you can just replace them >

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-08-31 Thread Thijs Kinkhorst
On Tue, August 31, 2010 20:16, Thomas Goirand wrote: > Thijs Kinkhorst wrote: >> 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

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-08-31 Thread Thomas Goirand
Thijs Kinkhorst wrote: > 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

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-08-29 Thread Thomas Goirand
Thijs Kinkhorst wrote: > 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::rais

Bug#580383: [php-maint] Bug#580383: Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-08-29 Thread Thijs Kinkhorst
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

Bug#580383: [php-maint] Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-05-05 Thread Thomas Goirand
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? Thomas -- To UNSUBSCRIBE, email to debian

Bug#580383: php-xml-parser uses deprecated eregi and reference of new object

2010-05-05 Thread Thomas Goirand
Subject: php-xml-parser uses deprecated eregi and reference of new object Package: php-xml-parser Version: 1.3.0-1 Severity: important Hi, As per subject and: http://pear.php.net/bugs/bug.php?id=16567 I have written a small patch for replacing the eregi calls, and as the author didn't want to b