Re: question regarding #67309

From: Date: Tue, 03 Jun 2014 11:01:18 +0000
Subject: Re: question regarding #67309
References: 1  Groups: php.internals 
Request: Send a blank email to internals+get-74704@lists.php.net to get a copy of this message
On Tue, Jun 3, 2014 at 10:41 AM, Ferenc Kovacs <tyra3l@gmail.com> wrote: > Hi, > > I wanted to ask what's our current consensus about feature requests like > this: https://bugs.php.net/bug.php?id=67309 > The requested function wouldn't provide anything which isn't currently > available via ini_get(), but it would be a bit natural to expect a get > method where a set exists. > > -- > Ferenc Kovács > @Tyr43l - http://tyrael.hu Hi, We talked about this with Yasuo in regards to some ext/session stuff (although it was about setters) and agreed on keeping ini_set() only. He even wrote a quick RFC about it: https://wiki.php.net/rfc/deprecate-ini-functions My opinion in general is that we don't need functions that duplicate ini_set(), ini_get() for a particular setting and existing ones should be removed in the future instead of adding more to complement them. No idea what other people think about it though. Cheers, Andrey.

« previous php.internals (#74704) next »