Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35425 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 1402 invoked by uid 1010); 12 Feb 2008 22:45:11 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 1387 invoked from network); 12 Feb 2008 22:45:11 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 Feb 2008 22:45:11 -0000 Authentication-Results: pb1.pair.com smtp.mail=nlopess@php.net; spf=unknown; sender-id=unknown Authentication-Results: pb1.pair.com header.from=nlopess@php.net; sender-id=unknown Received-SPF: unknown (pb1.pair.com: domain php.net does not designate 212.55.154.24 as permitted sender) X-PHP-List-Original-Sender: nlopess@php.net X-Host-Fingerprint: 212.55.154.24 relay4.ptmail.sapo.pt Linux 2.4/2.6 Received: from [212.55.154.24] ([212.55.154.24:40524] helo=sapo.pt) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D5/D5-36990-67122B74 for ; Tue, 12 Feb 2008 17:45:11 -0500 Received: (qmail 13614 invoked from network); 12 Feb 2008 22:45:06 -0000 Received: from unknown (HELO sapo.pt) (10.134.35.207) by relay4 with SMTP; 12 Feb 2008 22:45:06 -0000 Received: (qmail 18967 invoked from network); 12 Feb 2008 22:45:06 -0000 X-AntiVirus: PTMail-AV 0.3-0.92.0 X-Virus-Status: Clean (0.00681 seconds) Received: from unknown (HELO pc07654) (nunoplopes@sapo.pt@[85.240.51.213]) (envelope-sender ) by mta12 (qmail-ldap-1.03) with SMTP for ; 12 Feb 2008 22:45:06 -0000 Message-ID: <47F3EED4B16E4E4491044B2244055685@pc07654> To: "Etienne Kneuss" , "php-dev" References: In-Reply-To: Date: Tue, 12 Feb 2008 22:44:34 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Windows Mail 6.0.6000.16480 X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16545 Subject: Re: [PHP-DEV] substr & substr_compare fix From: nlopess@php.net ("Nuno Lopes") I like the patches. If noone complains please go ahead and commit them. Thanks, Nuno ----- Original Message ----- From: "Etienne Kneuss" To: "php-dev" Sent: Monday, February 11, 2008 6:07 PM Subject: [PHP-DEV] substr & substr_compare fix > Hi, > > please consider the following patches [1,2] that are supposed to fix > 1) substr in 5_3 > 2) substr_compare in 5_3 and HEAD > > It basically makes them not so strict about the length argument. > > Regards > > [1] http://patches.colder.ch/php-src/string_substr_5_3.patch?markup > [2] http://patches.colder.ch/php-src/string_substr_HEAD.patch?markup > > -- > Etienne Kneuss > http://www.colder.ch