PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » HTTP » HTTP_Upload » Bug #2383

Notice: Undefined variable: error in C:\php5\PEAR\HTTP\Upload.php on line 509

Details

Submitted2004-09-23 21:12 UTC
Fromjet dot tian at cspencerltd dot co dot uk
Assignedantonio
StatusClosed
PackageHTTP_Upload
PHP Version5.0.1
OSWindows XP
Roadmaps(Not assigned)

Comments

[2004-09-23 21:12 UTC] jet dot tian at cspencerltd dot co dot uk

Description:
------------
Notice: Undefined variable: error in C:\php5\PEAR\HTTP\Upload.php on line 509

Reproduce code:
---------------
function isMissing()
{
...

$files = array();
$size = 0;
// I added error = null
$error = null;
foreach ($this->post_files as $userfile => $value) {
...
}

...
}