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

From: Date: Sun, 18 Mar 2012 09:29:49 +0000
Subject: Bug #19337 [Opn->Ana]: Use of undefined variable
References: 1  Groups: php.pear.bugs 
Request: Send a blank email to pear-bugs+get-8410@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: Open +Status: Analyzed Type: Bug Package: HTTP_Request2 Operating System: Irrelevant Package Version: 2.0.0 PHP Version: Irrelevant -Assigned To: +Assigned To: avb Roadmap Versions: New Comment: -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. Previous Comments: ------------------------------------------------------------------------ [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 (#8410) next »