Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:17469 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1159 invoked by uid 1010); 30 Jul 2005 12:37:22 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1144 invoked from network); 30 Jul 2005 12:37:22 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 30 Jul 2005 12:37:22 -0000 X-Host-Fingerprint: 81.169.145.166 natnoddy.rzone.de Solaris 8 (1) Received: from ([81.169.145.166:62560] helo=natnoddy.rzone.de) by pb1.pair.com (ecelerity 2.0 beta r(6323M)) with SMTP id 1C/EB-04646-1847BE24 for ; Sat, 30 Jul 2005 08:37:22 -0400 Received: from [192.168.1.77] (p50875846.dip.t-dialin.net [80.135.88.70]) by post.webmailer.de (8.13.1/8.13.1) with ESMTP id j6UCahrc011648; Sat, 30 Jul 2005 14:37:09 +0200 (MEST) Message-ID: <42EB744D.5090908@php.net> Date: Sat, 30 Jul 2005 14:36:29 +0200 User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: "cshmoove@bellsouth.net" CC: internals@lists.php.net References: <446750995.20050730134023@vk.kiev.ua> <06.BB.04646.2437BE24@pb1.pair.com> In-Reply-To: <06.BB.04646.2437BE24@pb1.pair.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] patch to allow negative string offsets in {} From: sesser@php.net (Stefan Esser) cshmoove@bellsouth.net wrote: >val, > you dont clamp at the lower bound. suppose offset == -LONG_MAX > > This would result in a negative offset value and the execution logic of PHP will tell you that this is not a valid string offset....