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 use of header() function in php? What the limitation of header()?
Does php pass arrays by reference?
How do you put a space in html?
What is the use of ajax in php?
Explain the difference between $var and $$var?
How to link one site backend to another site frontend?
Which software is best for php?
Do you know design patterns. List few?
What does the initials of php stand for?
Write a function that takes "depth" as argument and return sum of node's data of that depth. For instance, (0) depth 0 / \ (10) (20) depth 1 / \ (40) (50) depth2 If I pass get_sum_by_depth(2) , it would return 90 (i.e. 40 + 50 )
Explain Creating and Naming an Array?
What is MIME?