Re: cvs: phpdoc /en/reference/exif/functions exif-read-data.xml
| From: | Friedhelm Betz | Date: | Thu, 06 Oct 2005 19:23:50 +0000 |
| Subject: | Re: cvs: phpdoc /en/reference/exif/functions exif-read-data.xml | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969370488@lists.php.net to get a copy of this message | ||
Oliver Albers wrote:
simp Thu Oct 6 13:05:56 2005 EDTThis bug is bogus IMHO, in section Return values it is mentioned that on failure the function return false. [...]Modified files: /phpdoc/en/reference/exif/functions exif-read-data.xml Log:Bug #34764: returns mixed
<methodsynopsis>
- <type>array</type><methodname>exif_read_data</methodname>
+ <type>mixed</type><methodname>exif_read_data</methodname>
<methodparam><type>string</type><parameter>filename</parameter></methodparam>
<methodparam choice="opt"><type>string</type><parameter>sections</parameter></methodparam>
<methodparam choice="opt"><type>bool</type><parameter>arrays</parameter></methodparam>
AFAIR we had the decision, that the prototype should be the "main" type returned on success. "mixed" would be, returns eg. array or string and false on failure.
Please revert your commit and mark that bug bogus.
Friedhelm