Hi,

Based on Sebastian's feedback I have updated the RFC and the patch to include a 
`use const` sequence that works just like `use function`, but for namespaced 
constants.

Example usage:

    namespace foo\bar {
        const baz = 42;
    }
     
    namespace {
        use const foo\bar\baz;
        var_dump(baz);
    }

I also fixed some other issues that the original patch had in the process (see 
commit history). Please keep the feedback coming.

Thanks,

Igor


--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to