Re: [RFC] Namespace-scoped declares
| From: | Marco Pivetta | Date: | Fri, 23 Sep 2016 22:06:41 +0000 |
| Subject: | Re: [RFC] Namespace-scoped declares | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-96123@lists.php.net to get a copy of this message | ||
On Fri, Sep 23, 2016 at 11:58 PM, Dan Ackroyd <danack@basereality.com>
wrote:
> On 23 September 2016 at 20:45, Stanislav Malyshev <smalyshev@gmail.com>
> wrote:
>
> > Imagine how
> > fun it is if somebody's action in different code module wouldn't just
> > mess up some data - it would actually break your code by changing
> > language semantics for your code!
>
> If you are concerned about libraries modifying how code is run, the
> same theoretical problem exists with libraries that register
> autoloaders - 'omg they can totally change what code is even going to
> be run, let alone the precise semantic behaviour'.
And I'd also add: some libraries are doing amazing AOP things with this.
Marco Pivetta
http://twitter.com/Ocramius
http://ocramius.github.com/