php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54627 stream_get_meta_data return values
Submitted: 2011-04-28 18:55 UTC Modified: 2011-04-30 14:02 UTC
Votes:1
Avg. Score:1.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: coderjoe69 at yahoo dot com Assigned: salathe (profile)
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: coderjoe69 at yahoo dot com
New email:
PHP Version: OS:

 

 [2011-04-28 18:55 UTC] 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.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-04-30 14:02 UTC] salathe@php.net
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: salathe
 [2011-04-30 14:02 UTC] salathe@php.net
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
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 07:01:28 2024 UTC