PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Validate » Validate » Bug #8442

Undefined variable "return"

Details

Submitted2006-08-15 04:35 UTC
Fromsoporte at onfocus dot cl
Assignedamir
StatusClosed
PackageValidate
PHP Version5.2.0 RC1
OSIrrelevant
Roadmaps0.8.0

Comments

[2006-08-15 04:35 UTC] soporte at onfocus dot cl

Description:
------------
Validate.php throws a notice about return not being defined in some situations.

Test script:
---------------
patch :

define $return as an empty string in function __stringToUtf7() before use.

Expected result:
----------------
no notice

Actual result:
--------------
Notice : undefined variable return

[2006-08-15 05:41 UTC] amir at php dot net

This bug has been fixed in CVS.

If this was a documentation problem, the fix will appear on pear.php.net by the end of next Sunday (CET).

If this was a problem with the pear.php.net website, the change should be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Thanks