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 are majic methords in php?
How can use sys time in loop?
How can you increase the maximum execution time of a script in php?
How do I use isdigit function?
Which is useful for method overloading?
What is abstraction php?
Which methods should be used for sending an email using the variables $to, $subject, and $body?
Is a number php?
Tell me how to initiate a session in php?
What is MVC structure in Magento?
How do I end a php session?
Explain the difference b/w static and dynamic websites?