Bug #18186 Updated: warning using PEAR::isError
| From: | stevem at solveinteractive dot com | Date: | Mon, 08 Jul 2002 14:15:24 +0000 |
| Subject: | Bug #18186 Updated: warning using PEAR::isError | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-13521@lists.php.net to get a copy of this message | ||
ID: 18186
Updated by: stevem@solveinteractive.com
Reported By: stevem@solveinteractive.com
-Status: Feedback
+Status: Open
Bug Type: Class/Object related
Operating System: Unix
PHP Version: 4.2.1
New Comment:
The error is 100% reproducable. I am unable to test with the latest
version of the CVS.
If there is something else I could try, please let me know.
Thank you for your assistance.
Previous Comments:
------------------------------------------------------------------------
[2002-07-06 09:10:28] jan@php.net
apologies ;)
------------------------------------------------------------------------
[2002-07-06 08:54:51] sander@php.net
Not so fast, Jan... this is an error generated by PHP (well, Zend to be
precise, zend_execute.c). This should never happen.
Status -> feedback.
------------------------------------------------------------------------
[2002-07-06 08:51:10] jan@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. Your problem does not imply a bug in PHP itself.
For a list of more appropriate places to ask for help using PHP,
please visit http://www.php.net/support.php
Thank you for your interest in PHP.
is there a server running on \'localhost\' port 8090?
------------------------------------------------------------------------
[2002-07-06 05:32:54] sander@php.net
Can't reproduce with latest CVS.
Is this error 100% reproducable for you? Can you try the latest CVS and
see if the error still persists?
------------------------------------------------------------------------
[2002-07-05 11:39:35] stevem@solveinteractive.com
Using the following example from the PEAR documentation:
function mysockopen($host = "localhost", $port = 8090)
{
$fp = fsockopen($host, $port, $errno, $errstr);
if (!is_resource($fp))
{
return new PEAR_Error($errstr, $errno);
}
return $fp;
}
$sock = mysockopen();
if (PEAR::isError($sock))
{
print "mysockopen error: ".$sock->getMessage()."<BR>\n";
}
I receive the following:
Warning: Problem with method call - please report this bug in
/webcert/infinityeasystreet/rw/docroot/administration/processagentfile.php
on line 15
mysockopen error: Connection refused
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18186&edit=1