Getting function namespace at runtime

From: Date: Mon, 23 Feb 2015 04:00:54 +0000
Subject: Getting function namespace at runtime
Groups: php.internals 
Request: Send a blank email to internals+get-83539@lists.php.net to get a copy of this message
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

« previous php.internals (#83539) next »