Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:23015 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 41590 invoked by uid 1010); 28 Apr 2006 23:59:43 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 41575 invoked from network); 28 Apr 2006 23:59:43 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 28 Apr 2006 23:59:43 -0000 X-PHP-List-Original-Sender: kingwez@gmail.com X-Host-Fingerprint: 64.233.166.179 pproxy.gmail.com Linux 2.4/2.6 Received: from ([64.233.166.179:54159] helo=pproxy.gmail.com) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 0E/BD-18514-F6CA2544 for ; Fri, 28 Apr 2006 19:59:43 -0400 Received: by pproxy.gmail.com with SMTP id 57so2642745pya for ; Fri, 28 Apr 2006 16:59:39 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=fsEyZ98l/TG/FJ3Z6bb8RIxQGWqHgKtnn7GXlbgCF3Aw9Qr9IJONm49n9XvzyBEsOBaMII2prveOHa0FEot4fyi5gjWMSMoTv9YoR2ucPAW/Z7lhDL/CyQ6dtQbLiTXdNHXdGK9QJgxa8XJdkZ/NzGfyj3UrIg4tiF0I/yqYHFI= Received: by 10.35.40.10 with SMTP id s10mr1782922pyj; Fri, 28 Apr 2006 16:59:35 -0700 (PDT) Received: by 10.35.41.17 with HTTP; Fri, 28 Apr 2006 16:59:35 -0700 (PDT) Message-ID: <4e89b4260604281659n559d3156oe95ec2c0f07e8133@mail.gmail.com> Date: Fri, 28 Apr 2006 19:59:35 -0400 To: "Michael Wallner" Cc: internals@lists.php.net In-Reply-To: <1A.F7.18514.56422544@pb1.pair.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1A.F7.18514.56422544@pb1.pair.com> Subject: Re: [PHP-DEV] Hash entries added with keys without trailing null From: kingwez@gmail.com ("Wez Furlong") On 4/28/06, Michael Wallner wrote: > Hi, > > I wonder if the few places where entries are added and the terminating nu= ll > 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.