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
List some features of php that are deprecated in php7?
Explain the difference between mysql_connect and mysql_pconnect?
What is the function func_num_args() used for?
How to create database connection and query in php?
Do you know what is the use of rand() in php?
What is factory pattern in php?
How can MYSQL functions be available with PHP?
What are the benefits of using php?
What is full form of php? Who is the father or inventor of php?
Differences between get, post and request methods ?
Is it easy to learn wordpress?
Which library is used in php to do various types of image work?
Explain about a search-friendly site looks like?
Explain about getters and setters in php?
Define soundex()?