Re: [PEPr] Comment on Networking::GeoIP
| From: | David Costa | Date: | Wed, 16 Jun 2004 14:33:55 +0000 |
| Subject: | Re: [PEPr] Comment on Networking::GeoIP | ||
| References: | 1 2 3 4 5 6 7 8 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-30773@lists.php.net to get a copy of this message | ||
On Jun 16, 2004, at 4:22 PM, Hans Lellelid wrote:
aka 373 if (PEAR::isError($temp)) {Yup, that's right. Also, you don't need to explicitly check whether method calls return exceptions since they will naturally bubble-up. I sent you a w/ Exceptions version of MP3/Playlist.php and for fun MP3/Id.php too -- since that has PEAR dep. Thanks a lot, all received ;) The problem is how to deal with line 373 error check on mp3_id
return PEAR::raiseError(self::MP3_PLAYLIST_INVALID_MERG,
-1, PEAR_ERROR_PRINT);
}
your method is great but mp3_id cannot be converted in PHP 5 therefore I would have to find another way :D
I do welcome any suggestion on this ;)
Cheers
David Costa
HTH, Hans