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 example of a variable?
Explain the types of functions for Splitting String?
Which php framework is fastest?
What are the advantages of using php?
What is new keyword in php?
Is php easy language to learn?
What is inheritance in php with example?
What is final class and final method in php?
What is the correct syntax of mail() function in php?
What is a PHP accelerator?
What is abstraction php?
Write down the code for save an uploaded file in php.
What is get method in java?
Why post method is used in php?
What are the difference between array_keys() and array_key_exists() in php?