Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:18728 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14905 invoked by uid 1010); 8 Sep 2005 21:20:47 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 14890 invoked from network); 8 Sep 2005 21:20:47 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 8 Sep 2005 21:20:47 -0000 X-Host-Fingerprint: 70.85.46.36 unknown Received: from ([70.85.46.36:56305] helo=prohost.org) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 82/74-23233-E2BA0234 for ; Thu, 08 Sep 2005 17:20:46 -0400 Received: (qmail 4500 invoked from network); 8 Sep 2005 21:20:44 -0000 Received: from cpe000fb56099fd-cm000f9f7d6664.cpe.net.cable.rogers.com (HELO ?192.168.1.101?) (69.196.28.148) by prohost.org with SMTP; 8 Sep 2005 21:20:44 -0000 Message-ID: <4320AB2B.6020109@prohost.org> Date: Thu, 08 Sep 2005 17:20:43 -0400 User-Agent: Mozilla Thunderbird 1.0.6 (Windows/20050716) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Derick Rethans CC: PHP Developers Mailing List References: In-Reply-To: X-Enigmail-Version: 0.92.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] ord() on binary strings From: ilia@prohost.org (Ilia Alshanetsky) It makes perfect sense to me that ord() would work on binary strings. When we return an ASCII value we don't limit the range returned, it can be 1 or 255. So, I see no reason to cripple this function and prevent it from working on binary data. Ilia