Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:76614 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 55903 invoked from network); 17 Aug 2014 20:45:14 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Aug 2014 20:45:14 -0000 Authentication-Results: pb1.pair.com smtp.mail=adrianguenter@gmail.com; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=adrianguenter@gmail.com; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.182 as permitted sender) X-PHP-List-Original-Sender: adrianguenter@gmail.com X-Host-Fingerprint: 209.85.213.182 mail-ig0-f182.google.com Received: from [209.85.213.182] ([209.85.213.182:56285] helo=mail-ig0-f182.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id B3/93-28428-65411F35 for ; Sun, 17 Aug 2014 16:45:12 -0400 Received: by mail-ig0-f182.google.com with SMTP id c1so6054464igq.15 for ; Sun, 17 Aug 2014 13:45:07 -0700 (PDT) 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=Ekd9rzglCn/fFadxytK2y586/vNFVelM6U32GbnzX/4=; b=GhrRaJlmhvh4szQaT+TF93JjfuXG/Q4y6Y7HPr3rllJldH8mmAkM2VLrP/UvmTF9CC bI3Yp5gnCayVwTXQuE6+22g4wOyxi4gDPDrEIBgaOZ8+07kBrrpbzYZf4DSCR5jXjEIw Sy9MLej0R7L4DTAajB/ivSLmlSK8x/kxPPHqqwOmCCrtFOn3iZl4ETDbsiCf+e53EMCw Yzo1vb3f+VxKQpwxVD38rwlgMDjs5GzWySkn4gx/12b94njjmagzdRDm4dEFDjLdIeGf pJRfykv04tqOPS/N163rZ2qDVLQe5/El9avam2+JghKTES7OwwUR/uMJDAGLKF9GAlJg mNnQ== MIME-Version: 1.0 X-Received: by 10.42.247.80 with SMTP id mb16mr32031571icb.38.1408308307332; Sun, 17 Aug 2014 13:45:07 -0700 (PDT) Received: by 10.107.162.9 with HTTP; Sun, 17 Aug 2014 13:45:07 -0700 (PDT) Received: by 10.107.162.9 with HTTP; Sun, 17 Aug 2014 13:45:07 -0700 (PDT) In-Reply-To: References: <53F1094B.4040100@mabe.berlin> Date: Sun, 17 Aug 2014 16:45:07 -0400 Message-ID: To: Sara Golemon Cc: PHP internals , Marc Bennewitz Content-Type: multipart/alternative; boundary=90e6ba1f019864955a0500d9541c Subject: Re: [PHP-DEV] [RFC] Binary String Comparison From: adrianguenter@gmail.com (Adrian Guenter) --90e6ba1f019864955a0500d9541c Content-Type: text/plain; charset=UTF-8 Type juggling is a (major) feature of PHP which would effectively be neutered by this change. As Sara mentioned we already have tools to achieve binary and string comparison. On Aug 17, 2014 4:19 PM, "Sara Golemon" wrote: > On Sun, Aug 17, 2014 at 12:58 PM, Marc Bennewitz wrote: > > I've created a draft RFC and patch to change the behavior of non-strict > > string to string comparison to be binary safe (as the strict comparison > > operator does): > > > > https://wiki.php.net/rfc/binary_string_comparison > > > If I understand your goal correctly, you seem to want to change a very > fundamental (and ancient) behavior of the language even though > mechanisms already exist to do what you describe as the "changed > behavior". > > What exactly is wrong with ===, strcmp(), etc..? > > -Sara > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > --90e6ba1f019864955a0500d9541c--