syntax error, unexpected token “;”, expecting identifier¶
Description¶
The use
instruction is not finished properly: as
expects a name after it.
Example¶
<?php
use A\B as ;
?>
Solutions¶
Finish the
use
+as
with an alias name.Remove the
as
to make a simpleuse
instruction.