The only thing that use does is alias the class name. It. Nothing more. Instead of re-writing the full class name in the script:
$q = new \Foo\Bar\Baz\Quux; if ($q instanceof \Foo\Bar\Baz\Quux) ...
You can shorten this to:
use Foo\Bar\Baz\Quux; $q = new Quux; if ($q instanceof Quux) ...
Thus, it makes absolutely no sense to want to use use conditionally. It is just a syntax assistant; if it can be used conditionally, your script syntax will become ambiguous, nobody wants something.
This does not reduce the loading of the code, because the code is loaded explicitly only when require / include called or during autoload. The latter is very preferable, because it already lazily goes into action only when necessary.
source share