Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #3311 incorrect return values
Submitted: 2005-01-27 12:56 UTC
From: rkwtavdw at puk dot ac dot za Assigned: danielc
Status: Closed Package: Documentation
PHP Version: 4.3.10 OS: Linux
Roadmaps: (Not assigned)    
Subscription  
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes. If this is not your bug, you can add a comment by following this link. If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
2005-10-23 17:26 UTC
Package:
Bug Type:
Summary:
From: rkwtavdw at puk dot ac dot za
New email:
PHP Version: Package Version: OS:

 

 [2005-01-27 12:56 UTC] rkwtavdw at puk dot ac dot za
Description: ------------ The Net_POP3::login($username,$password) method API claims that it returns a boolean (stating whether the login was succesful or not), but I found it returned an Object on failure.

Comments

 [2005-02-24 16:44 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!
 [2005-08-25 13:41 UTC] matakagi at osk2 dot 3web dot ne dot jp
Hi, I reproduced the bug. try it. Actually, the sourcecode of Net_POP3::login() returns PEAR_Error (See: line 256 and line 264 of POP3.php). <?php require_once("Net/POP3.php"); $pop3 = new Net_POP3; $res = $pop3->connect('your.pop3.server'); $res = $pop3->login('your_account', 'wrong_password'); if (PEAR::isError($res)) { echo 'Net_POP3::login() returned PEAR_Error!'; } else { echo 'This Bug report is BOGUS!'; } ?>
 [2005-10-23 17:26 UTC] User who submitted this comment has not confirmed identity
If you submitted this note, check your email.If you do not have a message, click here to re-send
MANUAL CONFIRMATION IS NOT POSSIBLE.  Write a message to pear-dev@lists.php.net
to request the confirmation link.  All bugs/comments/patches associated with this

email address will be deleted within 48 hours if the account request is not confirmed!