Unterminated comment starting line %d¶
Description¶
The multi-line comments with /* ... */ and /** ... */ require a closing tag. When that closing tag is missing, the error is emitted.
This problem does not occur with the single line comment //, as this comment only ends with the end of the line.
Example¶
<?php
/*
comment
Missing final / below
*
?>
Literal Examples¶
Unterminated comment starting line 3
Solutions¶
Check if the closing tag is complete, with
*and/.Check if the closing tag is not missing entirely.