Doc #54627 [Opn->Wfx]: stream_get_meta_data return values

From: Date: Sat, 30 Apr 2011 12:02:06 +0000
Subject: Doc #54627 [Opn->Wfx]: stream_get_meta_data return values
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-6320@lists.php.net to get a copy of this message
Edit report at http://bugs.php.net/bug.php?id=54627&edit=1 ID: 54627 Updated by: salathe@php.net Reported by: coderjoe69 at yahoo dot com Summary: stream_get_meta_data return values -Status: Open +Status: Wont fix Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: Built-in functions generally return NULL and emit an E_WARNING if they receive invalid parameters, due to the common parameter type checking handlers. This information is not usually part of the "Return Values" section for each individual function. See also the "note" on http://php.net/manual/en/functions.internal.php Previous Comments: ------------------------------------------------------------------------ [2011-04-28 18:55:17] coderjoe69 at yahoo dot com Description: ------------ The documentation for stream_get_meta_data does not specify what is returned if the parameter is not a stream handle. Experimentation with 5.3.6 suggests that the return value is false, and that a warning is emitted. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/bug.php?id=54627&edit=1

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