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 does the scope of variables mean?
Which function parses an English textual date or time into Unix timestamp in PHP.
What are the different ways to login to a remote server?
What is the static variable in function useful for?
Explain how can we increase the execution time of a php script?
What type of comments are supported by PHP.
What is composer json?
When are you supposed to use endif to end the conditional statement?
What is call by reference in php?
How we get ip address of client, previous reference page etc?
What is overriding in php?
How to get a total number of rows available in the table?
How to join multiple strings into a single string?
What is the use of mvc in php?
What's the output of the ucwords function in this example?