Package home | Report new bug | New search | Development Roadmap Status: Open | Feedback | All | Closed Since Version 1.3.8

Bug #1078 $php_errormsg usage
Submitted: 2004-03-26 17:39 UTC
From: yunosh Assigned:
Status: Bogus Package: XML_Parser
PHP Version: Irrelevant OS:
Roadmaps: (Not assigned)    
Subscription  


 [2004-03-26 17:39 UTC] yunosh
Description: ------------ In line 207, the $php_errormsg variable is used though track_errors is never set.

Comments

 [2004-04-05 09:49 UTC] mike
Well, it though should - track_errors gets enabled in PEAR.php ### C:\>php -r "require_once 'XML/Parser.php'; $p=new XML_Parser; $p->setInputFile('/nonexist');" C:\>php -r "require_once 'XML/Parser.php'; ini_set('track_errors',0); $p=new XML_Parser; $p->setInputFile('/nonexist');" Notice: Undefined variable: php_errormsg in w:\php\pear\XML\Parser.php on line 197 ### We should probably be more embarrassed about hte fact that updates to this package have not been released for over a year now. Mike
 [2004-04-13 15:42 UTC] schst
Line 49 in PEAR.php: ini_set('track_errors', true);