Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:64418 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 95999 invoked from network); 24 Dec 2012 04:11:49 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 24 Dec 2012 04:11:49 -0000 Authentication-Results: pb1.pair.com header.from=theanomaly.is@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=theanomaly.is@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.180 as permitted sender) X-PHP-List-Original-Sender: theanomaly.is@gmail.com X-Host-Fingerprint: 74.125.82.180 mail-we0-f180.google.com Received: from [74.125.82.180] ([74.125.82.180:43006] helo=mail-we0-f180.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 17/95-32426-406D7D05 for ; Sun, 23 Dec 2012 23:11:49 -0500 Received: by mail-we0-f180.google.com with SMTP id t57so3064082wey.39 for ; Sun, 23 Dec 2012 20:11:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RCyDxtHB+f7zGREA7kGSHLllK4erbO7WgRk/XP+5Ll8=; b=GEjo92bKR+cvux/8z4xQU2mDdt0mxdaQX7LLgMo2GsIN1slpXux/7zWDZhTzlzG6u2 EJcF9/X+PhbEQdUqceFxB//8/YiOE+azki3kCRpAhC74GijbBzfdaCOhGgisVm2rBnKE QIxtoozR5bCZPWsNqKEVwM0qtECY1dhwW7Z7MO/TktQqQLXtvwk0qBr1j14i7W7A1AJD hbn/eIcBvElamg8eV0umEJNSjGqxEYtWuLALp8xmlv1QPwR+CiWikTva8FZyIgU4c1z3 pDUP8xGsyZtf8tDDjpiw7xhYQ4TS3EEiniUDUqcAZ2LjcoTCnyWptCrP1FoW3BX+V8gL SbJA== MIME-Version: 1.0 Received: by 10.180.82.69 with SMTP id g5mr33476060wiy.21.1356322306011; Sun, 23 Dec 2012 20:11:46 -0800 (PST) Received: by 10.227.43.19 with HTTP; Sun, 23 Dec 2012 20:11:45 -0800 (PST) In-Reply-To: References: Date: Sun, 23 Dec 2012 23:11:45 -0500 Message-ID: To: Igor Wiedler Cc: PHP Internals Content-Type: multipart/alternative; boundary=f46d0442838a40313704d1916521 Subject: Re: [PHP-DEV] PHP-5.5 unpack change broke pecl/pear From: theanomaly.is@gmail.com (Sherif Ramadan) --f46d0442838a40313704d1916521 Content-Type: text/plain; charset=ISO-8859-1 This change does not break BC. The "a" format in pack/unpack functions has not changed at all in 5.5. It still does the same thing and it was not replaced by the new "Z" format option, which I added. They do different things. The "a" format strips null bytes from the string. The new "Z" format in 5.5 truncates the string at the first null-byte, returning everything prior to it. pack/unpack functions should still be backwards-compatible with PHP < 5.5. --f46d0442838a40313704d1916521--