I have a line of PHP source code that I would like to leave as a comment in the PHP file, so it can be used when necessary. This is only a debug script, so saving the file is not a problem.
However, I am trying to comment on these lines using /*
and */
:
/* $path = FOLDER . "*/*/*/*/*.gif"; $files = glob($path); */
But this result occurs when the parsing error occurs because the path */*/*/
closes the comment block. Opening /*
will not be considered as an open comment inside the line, but since the commented code is not parsed, */
considered as a final comment.
Can anyone think of a workaround without using //
?
source share