Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:35391 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 80357 invoked by uid 1010); 11 Feb 2008 18:07:42 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 80342 invoked from network); 11 Feb 2008 18:07:42 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 11 Feb 2008 18:07:42 -0000 Authentication-Results: pb1.pair.com smtp.mail=ekneuss@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=ekneuss@gmail.com; sender-id=pass; domainkeys=bad Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.142.187 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: ekneuss@gmail.com X-Host-Fingerprint: 209.85.142.187 ti-out-0910.google.com Received: from [209.85.142.187] ([209.85.142.187:15229] helo=ti-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 30/CD-64922-CEE80B74 for ; Mon, 11 Feb 2008 13:07:42 -0500 Received: by ti-out-0910.google.com with SMTP id a21so316568tia.17 for ; Mon, 11 Feb 2008 10:07:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; bh=UNLHx0Q6HelF4d5fFoEBr5TkQPCqO0vSNr5qvkXnoEI=; b=otQZW231xgrQYE24DtQQNkN3MH+UjxWJ/c9EOJmlXdqY++4rpnlz2AII1YQxxkzUAR/r3xUUqHUgOrXt7C+wEKoT8sYvI6Ri5Y1EXLfd0IXyMpY3rZIlWUxBKif76kIeAtwBsL0fvPPV6xSt3OR1Dz2OFDzYHBEgPfJih/dFVmk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:sender:to:subject:mime-version:content-type:x-google-sender-auth; b=o24HR1Xg+yubtgwcBSdB6HL/w/ZJEBjY7tgwUrmohCb/aQaE48G3LGra9vkpiU4Mzikt97CE2eq0RHI+kUD9JKbAMns3vd+w5mdnwzwR87a1Nj+lBhsxyOl00tSWLkrD7bDh+qJJmVIIAdAZ+cwF90DzKlQmKunqUM11/Zit6UM= Received: by 10.110.2.2 with SMTP id 2mr244574tib.14.1202753254629; Mon, 11 Feb 2008 10:07:34 -0800 (PST) Received: by 10.70.24.12 with HTTP; Mon, 11 Feb 2008 10:07:34 -0800 (PST) Message-ID: Date: Mon, 11 Feb 2008 19:07:34 +0100 Sender: ekneuss@gmail.com To: php-dev MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_Part_15830_29320994.1202753254531" X-Google-Sender-Auth: adc0e8eac6eff6b3 Subject: substr & substr_compare fix From: colder@php.net ("Etienne Kneuss") ------=_Part_15830_29320994.1202753254531 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline 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 Men never do evil so completely and cheerfully as when they do it from a religious conviction. -- Pascal ------=_Part_15830_29320994.1202753254531--