Doc #61898 [NEW]: Docs for stream_get_meta_data() advertise false return value
| From: | john dot papaioannou at gmail dot com | Date: | Wed, 02 May 2012 10:04:53 +0000 |
| Subject: | Doc #61898 [NEW]: Docs for stream_get_meta_data() advertise false return value | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-8326@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: 5.3.11
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Docs for stream_get_meta_data() advertise false return value
Description:
------------
The documentation for stream_get_meta_data() mentions that the resulting
array contains, among others, the "filters" key which is used to tell the
caller which filters have been attached to the stream in question. However,
no such information is included in the return value.
The reason is obvious if you look at
http://lxr.php.net/opengrok/xref/PHP_5_3/ext/standard/streamsfuncs.c#519
Expected result:
----------------
The documentation should reflect the current behavior of the
implementation.
--
Edit bug report at https://bugs.php.net/bug.php?id=61898&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=61898&r=trysnapshot54
Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=61898&r=trysnapshot53
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=61898&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=61898&r=fixed
Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=61898&r=needdocs
Fixed in release: https://bugs.php.net/fix.php?id=61898&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=61898&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=61898&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=61898&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=61898&r=support
Expected behavior: https://bugs.php.net/fix.php?id=61898&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=61898&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=61898&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=61898&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=61898&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=61898&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=61898&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=61898&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=61898&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=61898&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=61898&r=mysqlcfg