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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Fri Mar 14 15:01:30 2025 UTC