WHat is the diff. between PHP4 and PHP5?
Answer Posted / pushpendra kumar
There are several differences between PHP4 and PHP5.
1.Unified constructor and Destructor.
2.Exception has been introduced.
3.New error level named E_STRICT has been introduced.
4.Now we can define full method definintions for a abstract
class.
4.Within a class we can define class constants.
5.we can use the final keyword to indicate that a method
cannot be overridden by a child
| Is This Answer Correct ? | 155 Yes | 24 No |
Post New Answer View All Answers
Does php require a web server?
What is meant by PEAR in PHP?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?
How to execute an sql query? How to fetch its result?
Explain different sorting function in php?
Why do we use interface in php?
What is the use of session and cookies in php?
What is difference between ksort() and usort() functions.
When is a conditional statement ended with an endif?
What is mysql_fetch_object?
In PHP, fgets() is used to read a file one line at a time. State Whether True or False?
What does the scope of variables means?
What is php resource type?
Explain me what is the difference between explode() and split() functions?
What is the meaning of symbol '$' in jquery?