Re: Re: [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode()
| From: | Kalle Sommer Nielsen | Date: | Fri, 09 Sep 2016 09:32:32 +0000 |
| Subject: | Re: Re: [RFC][DISCUSSION] Remove utf8_decode() and utf8_encode() | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-95838@lists.php.net to get a copy of this message | ||
2016-09-09 10:31 GMT+02:00 Yasuo Ohgaki <yohgaki@ohgaki.net>:
> Hi Niklas,
>
> On Fri, Sep 9, 2016 at 5:26 PM, Niklas Keller <me@kelunik.com> wrote:
>>> --
>>> PHP Internals - PHP Runtime Development Mailing List
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>
>> Do you plan to emit E_DEPRECATED or only deprecate them via documentation?
>>
>> What about the alias suggestions?
>
> No E_DEPRECATED. Only document deprecation.
>
> I thought alias will bring more problems than solving issue from the
> discussion, so I left aliasing as future scope.
>
> If anyone insists, I don't mind to have alias voting option in the RFC.
I don't think we should have a vote to deprecate something in the
manual, that is not actually emitting an E_DEPRECATED in php-src. Just
go ahead and change the manual, we got lots of similar things already
in there.
Another note to keep in mind; If these were to be moved to any other
extension, we would have to use our own implementation, or a library
which we can use, because if my memory strikes me right, then these
functions are implemented from LibXML2, although we always enable
ext/libxml, at least on Windows, this could be a minor issue if moved.
I'm neutral on the renaming.
--
regards,
Kalle Sommer Nielsen
kalle@php.net