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+aswith an alias name.Remove the
asto make a simpleuseinstruction.