Re: Bug #2252 [NEW]: HTTP_Upload uses strings as error codes
| From: | Antônio Carlos Venâncio Júnior | Date: | Mon, 30 Aug 2004 17:28:23 +0000 |
| Subject: | Re: Bug #2252 [NEW]: HTTP_Upload uses strings as error codes | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-33079@lists.php.net to get a copy of this message | ||
Christian,
mike at php dot net wrote:
could you patch it to return PEAR_Error object? -- Cya Antônio echo antonio php net | sed 's/ /@/;s/ /./g' FreeBSD/OpenBSD | PHP/MySQL/Python | PGP Key ID 0x5BBEB073 "Can't buy what I want because its FREE!" - Pearl JamFrom: mike at php dot netOperating system: N/APHP version: Irrelevant Package: HTTP_Upload Bug Type: BugBug description: HTTP_Upload uses strings as error codes Description: ------------ HTTP_Upload uses strings as PEAR_Error codes, which makes it impossible to catch specific errors through PEARs error handling, because the strings get converted to 0's.