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 an abstract class in php?
What is php trait?
What is session expiry?
How to create an empty array in php?
What is the integer?
What is difference between php and wordpress?
What is htaccess? Why do we use this and where?
With a heredoc syntax, do I get variable substitution inside the heredoc contents?
What is the difference between array_map () and array_shift ()?
The left association operator % is used in PHP for?
What are encryption functions in php?
Is php still used?
Is empty in excel?
Tell me what is the difference between characters 34 and x34?
What is the use of header() function in php?