I’m trying to add comment in php line.
But I don’t know if a close tag ?> stay in the same line with //comment will work.
for example <?php function() {//comment ?>
will the //comment will make ?> not avaliable?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
With
//and#style comments?>will close the PHP block as well as the comment. With/* ... */style comments it will not:Edit: Syntax highlighting here is wrong, the PHP block isn’t closed until the last one.