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
What is magic quotes?
What is use of mysqli_query in php?
How does php isset work?
What is laracast?
What are new features in php 7?
Differentiate between php5 and php7?
How to write in a file in php?
How to update memcached when you make changes to php?
what is session_set_save_handler in PHP?
Which php global variable is used for uploading a file?
Do while loops php?
What is advanced php programming?
What is the use of rand() in php?
What is overriding in php?
What is difference between include and include_once in php?