Re: Re: Deprecating all INI set/get functions and use ini_set/get()
| From: | Yasuo Ohgaki | Date: | Tue, 27 Jan 2015 11:13:30 +0000 |
| Subject: | Re: Re: Deprecating all INI set/get functions and use ini_set/get() | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-81229@lists.php.net to get a copy of this message | ||
Hi Martin,
On Tue, Jan 27, 2015 at 5:41 PM, Martin Keckeis <martin.keckeis1@gmail.com>
wrote:
> This would also deprecate following functions?
> http://php.net/manual/en/function.gc-enable.php
> http://php.net/manual/en/function.set-include-path.php
> http://php.net/manual/en/function.set-time-limit.php
> http://php.net/manual/en/function.error-reporting.php
>
I suppose so, but we may have some exceptions.
There will be many others. I haven't count all of them yet.
Other examples are
http://php.net/manual/en/function.mb-internal-encoding.php
http://php.net/manual/en/function.mb-detect-order.php
http://php.net/manual/en/function.mb-language.php
http://php.net/manual/en/function.iconv-set-encoding.php
mb_internal_encoding() and iconv_set_encoding() will be deprecated
functions, though.
Global encoding setting should be used as the RFC that removes module own
encoding
setting passed. I'll make them to set/get global encoding setting as well
as add E_DEPRECATED
errors.
Regards,
--
Yasuo Ohgaki
yohgaki@ohgaki.net