Re: [RFC][DISCUSSION] Script only includes
| From: | Stanislav Malyshev | Date: | Wed, 11 Feb 2015 07:24:21 +0000 |
| Subject: | Re: [RFC][DISCUSSION] Script only includes | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-82435@lists.php.net to get a copy of this message | ||
Hi!
> I proposed script()/script_once() at first. Considering new names that
> might
> break existing apps, I choose INI.
The problem with script_once is not that it may break existing apps. The
problem is that somebody careful enough to use special operator would
probably be careful enough not to put $_GET['pleasehackme'] there, and
somebody not careful enough to do that won't also use special operator
because he probably wouldn't even know why it's needed or whether it
exists.
--
Stas Malyshev
smalyshev@gmail.com