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
Can you specify the "new line" character in single-quoted strings?
Explain converting an object?
What is stripslashes php?
What type of comments are supported by PHP.
Which is better php praogramming or cad/cam scope wise and also salaray wise?
Is server side a session?
What is string and its function?
What is difference between mysql_fetch_array and mysql_fetch_assoc?
How to connect to a url in php?
How do you check if a variable has not been set in php?
How to get number of elements in an array?
Why overriding is called runtime polymorphism?
What is difference between python and php?
What are the methods useful for method overloading?
How is the comparison of objects done in php?