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
How is it possible to return a value from a function?
What are the special characters you need to escape in single-quoted stings?
Explain the difference between mysql_connect and mysql_pconnect?
How do I expire a php session after 30 minutes?
Is it possible to protect special characters in a query string?
What are the different data types in javascript?
What is $_session in php?
Why do we use interface in php?
How does php isset work?
Explain the different types of errors in php.
What is the difference between php and cakephp?
What is string and its function?
How to execute an sql query? How to fetch its result?
What are the new features in php 7?
Do loops php?