Re: What's our official stance on small self-containedadditions in a micro version
| From: | Stanislav Malyshev | Date: | Wed, 01 Apr 2015 23:21:42 +0000 |
| Subject: | Re: What's our official stance on small self-containedadditions in a micro version | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-85680@lists.php.net to get a copy of this message | ||
Hi!
> Hmm, would you consider introducing a new function in the *global*
> namespace to be a self-contained feature? I would not, because the
Depends on the function. It it's properly prefixed and does not rely or
disrupt anything else then yes. Otherwise, no.
> function definition would change the global environment, possibly
> breaking some code.
You can always invent some code that depends on exact state of the
universe in the moment (https://xkcd.com/1172/) but let's be reasonable
- if somebody stuck their function into intl_* or mysql_* namespace
whatever happens next is on them.
--
Stas Malyshev
smalyshev@gmail.com