Re: Hash entries added with keys without trailing null
| From: | Wez Furlong | Date: | Fri, 28 Apr 2006 23:59:35 +0000 |
| Subject: | Re: Hash entries added with keys without trailing null | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-23015@lists.php.net to get a copy of this message | ||
On 4/28/06, Michael Wallner <mike@php.net> wrote:
Hi,
I wonder if the few places where entries are added and the terminating null
of the array key is not honored are intentional or by mistake?
AFAICS at least these places are affected:
- Registered PHP Streams
- Registered Stream Socket Transports
- Registered Stream Filters
- PDO drivers
These are all intentional; there is no need to store nor compare
against that NUL byte.
--Wez.