Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:98317 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 2169 invoked from network); 16 Feb 2017 23:08:03 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 16 Feb 2017 23:08:03 -0000 Authentication-Results: pb1.pair.com smtp.mail=me@daveyshafik.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=me@daveyshafik.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daveyshafik.com from 209.85.161.181 cause and error) X-PHP-List-Original-Sender: me@daveyshafik.com X-Host-Fingerprint: 209.85.161.181 mail-yw0-f181.google.com Received: from [209.85.161.181] ([209.85.161.181:33007] helo=mail-yw0-f181.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 4D/BB-01562-1D036A85 for ; Thu, 16 Feb 2017 18:08:02 -0500 Received: by mail-yw0-f181.google.com with SMTP id u68so15859446ywg.0 for ; Thu, 16 Feb 2017 15:08:01 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daveyshafik-com.20150623.gappssmtp.com; s=20150623; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=qfpGvclKn/ZhebQwC+cqpELi03MYjGt5AkCXHLF/EyY=; b=Whz+sk1msozLu/9WneBJny3vgK1sOcOm9oxS5gXtTYjRXGCc7TFaqteDRldyUMIxjX y48ij8ev8xqwVFWlPRzBI0kEvB21LRHy7EEv50cAsndSMqRbkzmXHEVXaNKUgcS6WGpl 94IsVBPw4CAiQqgvqcjH2TwYzPrxLcoZuEUJxD8JLCRGgHwNtG24/DRCdFzB0JArHfP0 jrNwQthPRluR+0Sq5/aKNrXYJhNbYcagcJKb5B8NmTf2sYkgWE/qYVDtLWoLONOSqafY ebPRL5NAS6pM8HVG2ETixrANgI1dhB17Q8leTRxoSLTng2Rjf2Y1MshY0sGDYhTNnHpa onMA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=qfpGvclKn/ZhebQwC+cqpELi03MYjGt5AkCXHLF/EyY=; b=TbVXNdwM1UpJeanXXCyrBBtLlAsvjeIgwEUyBudQ0Az0T60SW0Mtsx08sc7BROfDpB Oo7luEt4fyqeYBD5wlBvFyETCXzX5yzOUTugFmWhVMiZ92OotNpk/kzPo/M/x9BbVq/E OSd2CBug4GwjyZ1Lkk3VzVCZks7MVB9LamFzwGCOl1BeQ5RjGp/GChBm64K0DKaTGx/z 937lrusD+qK7DXZ/pZ9GiUD3YbK/UF4tOY3XzJHtgrPAviPVVZk97QLWzy34eWaiceU4 3nnVFki5nFRLT8j0r0QFtt91VEQamlYBKDlKKPhLi9pXdTOTMu1CEaKtjFRgd5fVzshJ 9viw== X-Gm-Message-State: AMke39mZPVol7UbiKxIqJmJCrsXdlP3jvm8Vov37vs9YlDA+jFSZCKVt62WvIk3vAVm781V07RoR5ZMPIHopu+50 X-Received: by 10.129.128.133 with SMTP id q127mr3667512ywf.27.1487286479105; Thu, 16 Feb 2017 15:07:59 -0800 (PST) MIME-Version: 1.0 Sender: me@daveyshafik.com Received: by 10.129.96.87 with HTTP; Thu, 16 Feb 2017 15:07:58 -0800 (PST) In-Reply-To: References: <998bc24d-bd6d-76d3-e99b-ef26fcc76eff@free.fr> Date: Thu, 16 Feb 2017 15:07:58 -0800 X-Google-Sender-Auth: 08rsKgpWxblkwPBZjyFRn5jI7uo Message-ID: To: =?UTF-8?Q?Pedro_Magalh=C3=A3es?= Cc: Nicolas Grekas , Dan Ackroyd , =?UTF-8?Q?Fran=C3=A7ois_Laupretre?= , "internals@lists.php.net" Content-Type: multipart/alternative; boundary=94eb2c03616c4494740548adde20 Subject: Re: [PHP-DEV] [RFC][VOTE] Binary String Deprecation From: davey@php.net (Davey Shafik) --94eb2c03616c4494740548adde20 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable I personally think there is value in marking strings as binary using the 'b' even if PHP currently doesn't differentiate, from a developer friendliness perspective. It shows intent, and informs the reader of what to expect if they inspect the value. If anything, the only change I'd make, if possible, would be for var_dump() to print it in a readable format (e.g. hex encoded) by default. I don't see any issues with forward compatibility either, any attempt to re-add a 'b' later would exhibit the same behavior it does now, most likely= . - Davey On Thu, Feb 16, 2017 at 2:36 PM, Pedro Magalh=C3=A3es wro= te: > > > > > > Too bad it has been rejected. > > > > The vote is still open until the 20th. > > Regards, > Pedro > --94eb2c03616c4494740548adde20--