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 |
for image work which library?
How to return a value back to the function caller?
What is the difference between apache and tomcat?
How to turn on the session support in php?
How do you end a function in python?
What is empty php?
How you can update memcached when you make changes to php?
How many types of inheritances used in php and how we achieve it.
What is framework in php?
What are the different ways to login to a remote server?
How to create a directory?
What is session in c#?