Hi internals, This RFC proposes to support an opt-in "use global functions/consts;" statement to disable PHP's check for the function/const in the current namespace before falling back to the global namespace.
https://wiki.php.net/rfc/use_global_elements Earlier discussion can be found in the 'Opt-in "use function *;" for skipping check for function/const in alternate namespace' email thread, which can be seen at https://externals.io/message/107877 Let me know if you have any comments on the RFC, e.g. - Typical RFC feedback - Missing parts, sections, or formatting issues in the RFC - Choices of voting options - Alternate syntax ideas ("use function *" was mentioned earlier, "use global function" doesn't make sense to me because it's singular instead of plural) e.g. different directive names for the declare() voting option. Thanks, - Tyson -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php