adspace


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


Please Help Members By Posting Answers For Below Questions

What is trait in php?

1068


What sized websites have you worked on in the past?

1089


How can we extract string "pcds.co.in" from a string "https://info@pcds.co.in" using regular expression of php? More on reg can you explain

1080


how to detect a mobile device using php

1175


What is the current stable version of php? What advance thing in php7?

1096


Name and explain five of the PHP error constants?

1039


Tell me what kind of things have you done on the social side?

1068


What is the difference between htmlentities() and htmlspecialchars()?

1094


Write a program using while loop?

1122


hello all, I need some sample placement papers in lion bridge.. can anyone help me?

2179


Which variable declarations within a class is invalid in php?

1050


Explain me is it possible to destroy a cookie?

1032


How to create a web form?

1113


How to calculate the difference between two dates using php?

1147


sort term descripttion form, report and uery

2254