Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:83539 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 48572 invoked from network); 23 Feb 2015 04:01:18 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Feb 2015 04:01:18 -0000 Authentication-Results: pb1.pair.com header.from=guilhermeblanco@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=guilhermeblanco@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.223.179 as permitted sender) X-PHP-List-Original-Sender: guilhermeblanco@gmail.com X-Host-Fingerprint: 209.85.223.179 mail-ie0-f179.google.com Received: from [209.85.223.179] ([209.85.223.179:35375] helo=mail-ie0-f179.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 05/49-33016-D06AAE45 for ; Sun, 22 Feb 2015 23:01:17 -0500 Received: by iecrl12 with SMTP id rl12so20591318iec.2 for ; Sun, 22 Feb 2015 20:01:15 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to:content-type; bh=bFvtNA5G8PAMnpxwI3lV9+KYeeEutEAIApyxMxAi+O4=; b=m+5h13VuBsNjwFDGwOmujfVbjdr6hAMyGBqgEGEt6iFPnQjXxieHAMB0BAURCptkQp Qx+5dzdlTd7MOXz3ZmPbCfJD31u+T9wCq+OAf9hQzE2W0wrWjX4WwFNDlcpF0qtH2hZZ 73xShXrVDyNXpt9XTiIXcoItT8BHUjh4WG05k32zB4QNKnZVvJ5cr6sAkbHNbNkfAWGv fpS0Mas4jKAQFWzxznh16oCTC2jfgCUoZmtm95pkZyTe+XAP63C5NLmE9Qz6pIilU0qh mzreEiA/rqktjzAsgOrzPizYYj8fj7e8QLmaPw7R47q/H/wWCM/QXkN/Yb51SPFQ7gMb crJg== X-Received: by 10.107.16.226 with SMTP id 95mr11136267ioq.32.1424664074936; Sun, 22 Feb 2015 20:01:14 -0800 (PST) MIME-Version: 1.0 Received: by 10.64.83.134 with HTTP; Sun, 22 Feb 2015 20:00:54 -0800 (PST) Date: Sun, 22 Feb 2015 23:00:54 -0500 Message-ID: To: PHP internals Content-Type: multipart/alternative; boundary=001a113ecda01c67f2050fb9748d Subject: Getting function namespace at runtime From: guilhermeblanco@gmail.com ("guilhermeblanco@gmail.com") --001a113ecda01c67f2050fb9748d Content-Type: text/plain; charset=UTF-8 Hi internals, I came really close to reach the final state of my to be proposed "private class, interface and trait" support here. However, I have a bug under this circumstance: https://gist.github.com/guilhermeblanco/3392925014c9f8374acc I'd love if someone could give me a hand on how could I get the currently active namespace (which does not exist at runtime, only compile time) in order to do the checks inside of VM. The only way I somehow through that could work was through something like EX(called_scope) or EX(func) or EX(call). Would love if someone could give me a north to finish the patch and put the finalized RFC for voting. =) []s, -- Guilherme Blanco MSN: guilhermeblanco@hotmail.com GTalk: guilhermeblanco Toronto - ON/Canada --001a113ecda01c67f2050fb9748d--