This repository was archived by the owner on Nov 1, 2022. It is now read-only.
This repository was archived by the owner on Nov 1, 2022. It is now read-only.
Does importing a global namespace for methods still work? #8
Open
Description
I can see why this
namespace App;
if (\is_string($s))
is supposed to work faster then this
namespace App;
if (is_string($s))
but I was wondering if, without changing your code much, one could import a function from global namespace like so
namespace App;
use function is_string;
if (is_string($s))
...and still benefit from improved performance?
Metadata
Metadata
Assignees
Labels
No labels