Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:37838 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 81266 invoked from network); 23 May 2008 18:50:28 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 May 2008 18:50:28 -0000 Authentication-Results: pb1.pair.com smtp.mail=andrei@gravitonic.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=andrei@gravitonic.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain gravitonic.com from 64.233.170.184 cause and error) X-PHP-List-Original-Sender: andrei@gravitonic.com X-Host-Fingerprint: 64.233.170.184 rn-out-0910.google.com Received: from [64.233.170.184] ([64.233.170.184:35325] helo=rn-out-0910.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 42/22-03677-3F117384 for ; Fri, 23 May 2008 14:50:28 -0400 Received: by rn-out-0910.google.com with SMTP id v73so677046rnb.0 for ; Fri, 23 May 2008 11:50:25 -0700 (PDT) Received: by 10.114.66.2 with SMTP id o2mr2191177waa.102.1211568624728; Fri, 23 May 2008 11:50:24 -0700 (PDT) Received: from Macintosh-5.local ( [12.51.40.234]) by mx.google.com with ESMTPS id a8sm8166218poa.12.2008.05.23.11.50.22 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 23 May 2008 11:50:23 -0700 (PDT) Message-ID: <483711EE.5060506@gravitonic.com> Date: Fri, 23 May 2008 11:50:22 -0700 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070807) MIME-Version: 1.0 To: Steph Fox CC: internals References: <00a701c8bcfb$cdfa5f50$4401a8c0@foxbox> In-Reply-To: <00a701c8bcfb$cdfa5f50$4401a8c0@foxbox> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] BC an' all that From: andrei@gravitonic.com (Andrei Zmievski) Because the majority of use cases involving strings do not involve binary strings. Or, as Rasmus said, "logic". -Andrei Steph Fox wrote: > Hi all, > > Tony's not alone, I'm also playing with PHP 6 today. > > As Edward mentioned when I started talking about the upgrade path, we > don't have a way to cope with the (binary)|(b) cast prior to PHP 5.2.1. > It's arguable that most people will have access to PHP > 5.2.1, but > that's not 100% useful if you have something you'd like to 'just work' > regardless of other peoples' updates. Personally I'm stuck with the > choice of making the default phar stub forward compatible or backward > compatible - there's no way to do both. > > Can someone please explain why (string) isn't a pseudonym for (binary) > in PHP 6.0? There's probably a very good reason and I'm just not seeing > it... but it would go a long way to solving the problem if it were. > > - Steph >