Aryan PrajapatKnowledge Contributor
What is the difference between PHP4 & PHP5?
What is the difference between PHP4 & PHP5?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Questions | Answers | Discussions | Knowledge sharing | Communities & more.
PHP4
1.The Constructor in PHP4 has the same name as the Class.
2.Everything is done on a value basis.
3.A class is not declared abstract in PHP4.
4.In a class, there are no static methods or properties.
PHP5
1._construct and _destruct are the names of constructors and destructors, respectively ().
2.References are used to pass all objects.
3.A class can be declared abstract in PHP5.
4.It lets a class have static Methods and Properties.