syntax error, unexpected token “use”, expecting “,” or “;”¶
Description¶
The previous use command was not properly finished with a semi-colon.
Example¶
<?php
use A as B
use C as D;
?>
Solutions¶
Add another
usecase, with a comma, and then finish the instruction with;.Finish the previous
usecase, with a semi colon;.Remove the next
usekeyword, and replace it with a comma.