On Thu, Nov 6, 2014 at 3:36 PM, Andrea Faulds <a...@ajf.me> wrote:

> Perhaps, dare I say it, we should merge the constant and class namespaces
> in PHP7? Those are perhaps the least likely to conflict. It’d mean we could
> handle instanceof expressions, and we wouldn’t need to use ::class.


Hi Andrea!

I'm not sure I understand what you mean by "don't need to use ::class".
Currently, we can only use the class constant itself, like $foo instanceof
stdClass or a string representation of that class' name.

Concerning the parenthesis, I agree they shouldn't be treated differently,
but as for now they are.

Daniel Ribeiro
http://danielribeiro.org

Reply via email to