Re: Remove old PHP6 forward compatibility
| From: | Sara Golemon | Date: | Thu, 30 Apr 2015 23:24:59 +0000 |
| Subject: | Re: Remove old PHP6 forward compatibility | ||
| References: | 1 2 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86101@lists.php.net to get a copy of this message | ||
On Wed, Apr 29, 2015 at 4:12 PM, Stanislav Malyshev <smalyshev@gmail.com> wrote:
>> Back when PHP6 was actually a thing, we added the 'b' string literal
>> prefix and the (binary) cast to be forward compatible with PHP6,
>> however since the entire unicode strings part were dropped, these are
>> no longer needed.
>>
>> I think its safe to remove these 2, and take it as a lession learned,
>> to safely and selectively added forward compatibile features.
>
> Why remove it? I'm not sure what removing it would improve.
>
Agreed. PHP6 dying on the vine doesn't establish that we'll never have
baked-in unicode support. Better to keep this around to improve
compatibility when/if we revisit this.
-Sara