Doc #66035 [Opn->Csd]: convert_uudecode - return value on error

From: Date: Tue, 26 Nov 2013 07:32:57 +0000
Subject: Doc #66035 [Opn->Csd]: convert_uudecode - return value on error
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-10641@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66035&edit=1 ID: 66035 Updated by: frozenfire@php.net Reported by: vseticka dot martin at gmail dot com Summary: convert_uudecode - return value on error -Status: Open +Status: Closed Type: Documentation Problem Package: Strings related Operating System: Windows 7 PHP Version: 5.4.21 -Assigned To: +Assigned To: frozenfire Block user comment: N Private report: N New Comment: The fix for this bug has been committed. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. Previous Comments: ------------------------------------------------------------------------ [2013-11-26 07:32:42] frozenfire@php.net Automatic comment from SVN on behalf of frozenfire Revision: http://svn.php.net/viewvc/?view=revision&revision=332199 Log: Documented false return value on failure. Fixes bug #66035. ------------------------------------------------------------------------ [2013-11-05 10:41:33] vseticka dot martin at gmail dot com Description: ------------ --- From manual page: http://www.php.net/function.convert-uudecode#refsect1-function.convert-uudecode-returnvalues --- There is no information about the return value of convert_uudecode when an error occurs. Experimentally, I find out that the function returns FALSE on error. Test script: --------------- $result = @convert_uudecode("llllllllllll"); // invalid string var_dump($result); Expected result: ---------------- bool(false) Actual result: -------------- bool(false) ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=66035&edit=1

« previous php.doc.bugs (#10641) next »