#40168 [Opn->Csd]: stream_get_wrappers() appends a null-byte
| From: | tony2001@php.net | Date: | Fri, 19 Jan 2007 14:51:31 +0000 |
| Subject: | #40168 [Opn->Csd]: stream_get_wrappers() appends a null-byte | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-107769@lists.php.net to get a copy of this message | ||
ID: 40168
Updated by: tony2001@php.net
Reported By: php dot net at benjamin dot schulz dot name
-Status: Open
+Status: Closed
Bug Type: Streams related
Operating System: linux
PHP Version: 5.2.1RC3
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-01-19 14:35:29] php dot net at benjamin dot schulz dot name
Description:
------------
see the summary
Reproduce code:
---------------
class foo {}
stream_wrapper_register("foo", "foo");
$t = stream_get_wrappers();
$t = array_pop($t);
var_dump($t); // string(4) "foo
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=40168&edit=1