Hi,
well, my apologies for not making that clear enough. I suppose it
wouldn't require any runtime information, as this kind of construct
could be expanded at compile time.
For example:
willUse('LibraryWithAVeryLongName\Cache\FileCache')
->willUse('LibraryWithAVeryLongName\Routing\Cach
Hi!
unqualified aliases, it would be useful to extend this functionality
to string references to these classes/functions/constants as well.
It would require to carry "namespace context" around with every
function/class in runtime and for me the usecase is not clear. Can you
describe more in
On Sat, Jul 31, 2010 at 2:14 PM, Ignas Rudaitis
wrote:
> Hello php.internals,
>
> Here is a (hopefully) simple language feature I'd like to suggest:
>
> Now that PHP has support for namespaces and therefore makes it
> possible to refer to classes, functions and constants by their shorter
> unquali
Hello php.internals,
Here is a (hopefully) simple language feature I'd like to suggest:
Now that PHP has support for namespaces and therefore makes it
possible to refer to classes, functions and constants by their shorter
unqualified aliases, it would be useful to extend this functionality
to str