Doc #68798 [NEW]: stream_select() preserves keys since rev. 305856
| From: | grzegorz129 at gmail dot com | Date: | Sun, 11 Jan 2015 03:14:49 +0000 |
| Subject: | Doc #68798 [NEW]: stream_select() preserves keys since rev. 305856 | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-11843@lists.php.net to get a copy of this message | ||
From: grzegorz129 at gmail dot com
Operating system: All
PHP version: 5.6.4
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:stream_select() preserves keys since rev. 305856
Description:
------------
Bug #53427 proposed stream_select() should preserve array keys, it was
implemented in revision #305856
(http://svn.php.net/viewvc/?view=revision&revision=305856).
However there's no documentation or changelog informations about changed
behaviour.
I believe it was first available since 5.4.
Test script:
---------------
$read = $except = null;
$write = ["test" => fopen("php://stdout", "w")];
var_dump($write);
stream_select($read, $write, $except, 0);
var_dump($write);
--
Edit bug report at https://bugs.php.net/bug.php?id=68798&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=68798&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=68798&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=68798&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=68798&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=68798&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=68798&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=68798&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=68798&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=68798&r=support
Expected behavior: https://bugs.php.net/fix.php?id=68798&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=68798&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=68798&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=68798&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=68798&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=68798&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=68798&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=68798&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=68798&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=68798&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=68798&r=mysqlcfg