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 this is not your bug, you can add a comment by following this link.
If this is your bug, but 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

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: Mon Apr 29 00:01:32 2024 UTC