syntax error, unexpected token “as”
Description
The as token was found, where it was not expected. as is often used as a modulator of another instruction: foreach, use, function.
Example
<?php
A\B as C;
?>
Alternatives
- Add a missing
useto start the instruction.