Re: Bug #2252 [NEW]: HTTP_Upload uses strings as error codes

From: 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:
From:             mike at php dot net
Operating system: N/A
PHP version:      Irrelevant
Package:          HTTP_Upload
Bug Type:         Bug
Bug 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.
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 Jam

« previous php.pear.dev (#33079) next »