Bug #19326 [Com]: raiseError issue

From: Date: Fri, 30 Mar 2012 21:08:26 +0000
Subject: Bug #19326 [Com]: raiseError issue
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8466@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19326&edit=1 ID: 19326 Comment by: zigo@debian.org Reported By: zigo at debian dot org Summary: raiseError issue Status: Open Type: Bug Package: XML_Parser Operating System: Debian Package Version: 1.3.4 PHP Version: 5.4.0 Roadmap Versions: New Comment: Hi, Please apply the patch that I have added ASAP. This patch removes one of the constructor which is defined twice, and which isn't acceptable. It also removes the return by reference, and fixes the raiseError() definition which is wrong. PLEASE do not tell again that you want to retain PHP4 compatibility. People willing to use an old version of PHP can also use an old version of your class, that wouldn't be right to leave people following PHP development and keeping conscientiously their server up-to-date that you don't want to help them. I hope this patch will help to have an upstream version fixed ASAP and that this time, it wont take so much time to have such small fixes upstreamed, Cheers, Thomas Goirand (zigo) Previous Comments: ------------------------------------------------------------------------ [2012-03-30 22:04:58] zigo_debian Added #patch bug:19326;patch:0001-PHP-5.4-strict-standard-compat;revision:1333141498;. ------------------------------------------------------------------------ [2012-03-09 10:28:58] zigo_debian Description: ------------ When using XML_Parser with PHP 5.4, the following issue appears: PHP Strict Standards: Declaration of XML_Parser::raiseError() should be compatible with & PEAR::raiseError($message = NULL, $code = NULL, $mode = NULL, $options = NULL, $userinfo = NULL, $error_class = NULL, $skipmsg = false) in /usr/share/php/XML/Parser.php on line 703 ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19326&edit=1

« previous php.pear.bugs (#8466) next »