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 |
What is php default argument?
How do I run a php file?
How to create a session? How to set a value in session?
Suppose your zend engine supports the mode <? ?> Then how can you configure your php zend engine to support <?php ?> Mode ?
what do you mean by php.ini file ?????????
What is the difference between runtime exception and compile time exception?
Explain me what is x+ mode in fopen() used for?
How to Pass JSON Data in a URL using CURL in PHP?
How big is varchar max?
Which is better mysql or sql?
Explain what is the static variable in function useful for?
What is difference between Method overriding and overloading in PHP?