Bug #19337 [Ana->Csd]: Use of undefined variable

From: Date: Sun, 18 Mar 2012 16:20:40 +0000
Subject: Bug #19337 [Ana->Csd]: Use of undefined variable
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8411@lists.php.net to get a copy of this message
Edit report at https://pear.php.net/bugs/bug.php?id=19337&edit=1 ID: 19337 Updated by: borz_off@cs.msu.su Reported By: am at 24tails dot com Summary: Use of undefined variable -Status: Analyzed +Status: Closed Type: Bug Package: HTTP_Request2 Operating System: Irrelevant Package Version: 2.0.0 PHP Version: Irrelevant Assigned To: avb Roadmap Versions: New Comment: -Status: Analyzed +Status: Closed This bug has been fixed in SVN. If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET). If this was a problem with the pear.php.net website, the change should be live shortly. Otherwise, the fix will appear in the package's next release. Thank you for the report and for helping us make PEAR better. -- Got rid of track_errors in both places where it was used. Previous Comments: ------------------------------------------------------------------------ [2012-03-18 09:29:49] avb -Status: Open +Status: Analyzed -Assigned To: +Assigned To: avb I can reproduce this if I set track_errors = Off disable_functions = ini_set in my php.ini. Alexander, is your PHP installation configured in similar way? Looks like error_get_last() is the best bet here. ------------------------------------------------------------------------ [2012-03-18 06:28:15] doconnor http://php.net/manual/en/reserved.variables.phperrormsg.php Seems odd - the ini set to track errors seems to have failed for you. ------------------------------------------------------------------------ [2012-03-16 17:13:36] tallman Description: ------------ Undefined variable: php_errormsg in /usr/share/pear/HTTP/Request2/Adapter/Socket.php on 326 Best Regards, Alex. Expected result: ---------------- No errors or warnings Actual result: -------------- Error: Undefined variable: php_errormsg in /usr/share/pear/HTTP/Request2/Adapter/Socket.php on 326 ------------------------------------------------------------------------ -- Edit this bug report at https://pear.php.net/bugs/bug.php?id=19337&edit=1

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