Is it necessary to use closing tag in php?sometime without
closing tag things work.why?
Answers were Sorted based on User's Feedback
Answer / prashant
This isn't exactly a bug. PHP doesn't require the closing
tag (it is assumed when the file ends). Not specifying the
closing ?> helps prevent accidents like additional
whitespace which will cause session initialization to fail
("headers already sent").
| Is This Answer Correct ? | 10 Yes | 2 No |
Answer / ankur
some times session are not expired or logout then we find
that type of situation.
| Is This Answer Correct ? | 1 Yes | 2 No |
Explain about a search-friendly site looks like?
What is the use of mysql_fetch_array in php?
what are Implode and Explode functions?
How to find datatype of variable in php?
Tell me what is the main difference between require() and require_once()?
Where is php code written?
Explain me is it possible to destroy a cookie?
What are the differences between mysqli_connect and mysqli_pconnect?
Is string php function?
Suppose the variable $var1 is set to 10 and the $var2 is set to the character var1, what's the value of $$var2?
How can I learn php fast?
How can we submit a form without using submit buttons?