Created
August 20, 2021 13:25
-
-
Save crux/d4ab83bfc84476e8f6b4da7d34cd4b10 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# this fails: | |
use function App\Services\Wordpress\{ }; | |
# with: | |
# | |
# PHP Fatal error: Uncaught ParseError: syntax error, unexpected token "}".. | |
# this works: | |
use function App\Services\Wordpress\{ foo }; | |
# It works even though the 'foo' function does not even exists!!!!! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment