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
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