have comments any influence on script in php?
is it possible, that in开发者_C百科 php something, which was written as comment( like //comment...
), makes some influence on the script? i remember, that once i use open source script, but when i delete all comments from it, it became non working. sorry for an abstract question. i haven't the code now, so i dont show it.
Comments should not affect code in anyway, provided:
- The script is not opening itself/another file of code through a
fread
or similar function, and searching for data in the comments.
However, if you removed comments that were commenting out lines of code that are now not commented out, there would be a problem.
精彩评论