# [RFC][DISCUSSION] Deprecate INI set/get aliases.

- Thread: https://externals.io/message/81462
- Original archive: https://news-web.php.net/php.internals/81462
- Started by Yasuo Ohgaki on 2015-01-31T01:08:56+00:00
- Messages: 6
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #81462 — Yasuo Ohgaki — 2015-01-31T01:08:56+00:00

URL: https://externals.io/message/81462#81462

Hi all,

This is the RFC for INI set/get alias function deprecation.

https://wiki.php.net/rfc/deprecate_ini_set_get_aliases

Open issue is exception. Almost all aliases should be deprecated, but there
may
be exceptions. I hope everyone agrees to deprecation by document at least.

Thank you for your time to address this RFC.

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net

---

## #81464 — Marcio Almada — 2015-01-31T02:25:12+00:00

URL: https://externals.io/message/81462#81464 · In reply to: #81462

> Hi all,
>
> This is the RFC for INI set/get alias function deprecation.
>
> https://wiki.php.net/rfc/deprecate_ini_set_get_aliases
>
> Open issue is exception. Almost all aliases should be deprecated, but there
> may
> be exceptions. I hope everyone agrees to deprecation by document at least.
>
> Thank you for your time to address this RFC.
>
> Regards,
>
> --
> Yasuo Ohgaki
> yohgaki@ohgaki.net

Hi, Yasuo

I agree it's a good time to deprecate those aliases.
Specially `mb_internal_encoding('UTF-8');` and other analogous
redundant extension
API that were created just as aliases to change runtime configuration options.

Regards,
Márcio Almada

---

## #81474 — Lester Caine — 2015-01-31T08:48:28+00:00

URL: https://externals.io/message/81462#81474 · In reply to: #81462

> Hi all,
> 
> This is the RFC for INI set/get alias function deprecation.
> 
> https://wiki.php.net/rfc/deprecate_ini_set_get_aliases
> 
> Open issue is exception. Almost all aliases should be deprecated, but there
> may
> be exceptions. I hope everyone agrees to deprecation by document at least.
> 
> Thank you for your time to address this RFC.

My only comment would be the one that the rfc displays perfectly ...

In 'Before' if I click on session_cache_limiter I get taken directly to
the manual page for it.

How do I get to the same page in 'After'?
If I drop 'session.cache_limiter' into the search I have the usual
hassle of trying to get to the right pigging section of the website
before it works, but I still have to search around for the
session_cache_limiter entry as one gets 'session.cache_limiter doesn't
exist. Closest matches: '

Many deprecated features exhibit this problem, but this one seems a lot
more critical to resolve if you want to simplify things. ini_set values
like max_execution_time don't even come up in a search!

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---

## #81496 — Yasuo Ohgaki — 2015-01-31T18:39:00+00:00

URL: https://externals.io/message/81462#81496 · In reply to: #81474

Hi Lester,



> My only comment would be the one that the rfc displays perfectly ...
>
> In 'Before' if I click on session_cache_limiter I get taken directly to
> the manual page for it.
>
> How do I get to the same page in 'After'?
> If I drop 'session.cache_limiter' into the search I have the usual
> hassle of trying to get to the right pigging section of the website
> before it works, but I still have to search around for the
> session_cache_limiter entry as one gets 'session.cache_limiter doesn't
> exist. Closest matches: '
>
> Many deprecated features exhibit this problem, but this one seems a lot
> more critical to resolve if you want to simplify things. ini_set values
> like max_execution_time don't even come up in a search!
>

Good point.

But whole site search shows these INI on top. Document search could be
improved. I agree. The same applies to all INI values.

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net

---

## #81504 — Lester Caine — 2015-02-01T00:05:08+00:00

URL: https://externals.io/message/81462#81504 · In reply to: #81496

> 
> 
> > […]
> Good point.
> 
> But whole site search shows these INI on top. Document search could be
> improved. I agree. The same applies to all INI values.

The whole site search only provides some ini_set/get values. (and not
being able to access that from a wiki page is irritating at times like
these!)

This is not such a problem with the ones you are looking to add to the
list but previous tidying has left manual entries somewhat lacking which
tends to prevent any lookup.

While the proposed changes only require a replacement of each entry with
the alternate text, it is important that the manual has a better means
of identifying all of the ini_set keys.

-- 
Lester Caine - G8HFL
-----------------------------
Contact - http://lsces.co.uk/wiki/?page=contact
L.S.Caine Electronic Services - http://lsces.co.uk
EnquirySolve - http://enquirysolve.com/
Model Engineers Digital Workshop - http://medw.co.uk
Rainbow Digital Media - http://rainbowdigitalmedia.co.uk

---

## #81542 — Yasuo Ohgaki — 2015-02-01T21:23:12+00:00

URL: https://externals.io/message/81462#81542 · In reply to: #81504

Hi Lester,



> it is important that the manual has a better means
> of identifying all of the ini_set keys.
>

I agree.

INI changes PHP behavior, it's better to be easily searchable with/without
this RFC. Good addition for Future Scope. I added it .

Regards,

--
Yasuo Ohgaki
yohgaki@ohgaki.net
