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  
Comments Add Comment Add patch


Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know! Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem : 49 + 14 = ?

 
 [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);