Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:96123 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 73084 invoked from network); 23 Sep 2016 22:07:09 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Sep 2016 22:07:09 -0000 Authentication-Results: pb1.pair.com header.from=ocramius@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=ocramius@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 74.125.82.42 as permitted sender) X-PHP-List-Original-Sender: ocramius@gmail.com X-Host-Fingerprint: 74.125.82.42 mail-wm0-f42.google.com Received: from [74.125.82.42] ([74.125.82.42:36024] helo=mail-wm0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 78/34-51000-887A5E75 for ; Fri, 23 Sep 2016 18:07:07 -0400 Received: by mail-wm0-f42.google.com with SMTP id w84so55664759wmg.1 for ; Fri, 23 Sep 2016 15:07:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=9BH0TTgW+M+lnYgWaOXBfDf35Dxvi+7QdtFVMAxKWhs=; b=EolMSZU+q0bMebSGcrsSsthR6ksvLsTZhPh/EZqEO9lwjx37pOehuU08krISnxElNr PaffODLpLt+09BwAxxG8UjmsxW2i2+YBiiRlAsvns1JpvLPNeNo6Benlg17qsbCSTDP2 UK6IDqkwT/o6WustcdL+4gqttD+X7hkM/d15MU3rtLn4dB4r68uCWTIWJxl4/tayKzPh P6tLuLcjeeArzzGjNmRm8f7/wx3zLySijK3uI2gLWeNd1Y2BMM8Cxhym8FHgtdXgCh1B h56zlDzY23BZP8Gp/eGMv+NojITdNSIAVbgunzg3V5Mq0kwF5HdgaT4I1K1L27EI59GY FfWw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=9BH0TTgW+M+lnYgWaOXBfDf35Dxvi+7QdtFVMAxKWhs=; b=FPlJcGPht/45bdDKBi4nZc/Mbyml71udp1jgsdwrBLvp/9RvgJls0bx87v/0batYXy 9gMjNy9o+3n61THf4B0nI88SX+8Xki6VO39UNEO9wNgex5k/lIVm5pTyXQ1kGMgT2vlO Mc1kPwRsoaVFiKsdfK6QuaJaukD9trPL8wkZlgwHqtLi9NWOjE3lgbLze34EmMBq5EQm fV9cj1BVqIXt5YSZk+L3f/wvABSM79PE0XbDGrKTuFPZbmFSbUNX+LxdJxq3K0EfP31A R5qWx3ampmKlxdzrR+Dd2QU/RFlaSDNR189rwO+IJZUXTtXWJZ7juK2k7PUPa/34yszX evAQ== X-Gm-Message-State: AA6/9RnBPb1Vpa4CQtAoraf+CzaNK1aMxMVhfeFAVR8c97nD1UKyrGKZ2k5MTVbZ4zLHmlypyfnoi8N2vcmbcg== X-Received: by 10.28.167.204 with SMTP id q195mr5024758wme.76.1474668421754; Fri, 23 Sep 2016 15:07:01 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.19.229 with HTTP; Fri, 23 Sep 2016 15:06:41 -0700 (PDT) In-Reply-To: References: Date: Sat, 24 Sep 2016 00:06:41 +0200 Message-ID: To: Dan Ackroyd Cc: Stanislav Malyshev , Nikita Popov , PHP internals Content-Type: multipart/alternative; boundary=001a114b74dc70b4a4053d33ffc5 Subject: Re: [PHP-DEV] [RFC] Namespace-scoped declares From: ocramius@gmail.com (Marco Pivetta) --001a114b74dc70b4a4053d33ffc5 Content-Type: text/plain; charset=UTF-8 On Fri, Sep 23, 2016 at 11:58 PM, Dan Ackroyd wrote: > On 23 September 2016 at 20:45, Stanislav Malyshev > 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/ --001a114b74dc70b4a4053d33ffc5--