WHat is the diff. between PHP4 and PHP5?

Answer Posted / shanmugam.l

1.In PHP4 supports very few oops concepts.But PHP5 supports
more oops concepts .
For example Access specifiers,inheritence,etc..
2.Exception class included in PHP5
3.More XML related function included in PHP%
4.PHP4 uses Zend engine 1.0 as a parser.PHP5 uses Zend
engine 2.0

Is This Answer Correct ?    24 Yes 18 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain what is meant by pear in php?

721


What is the use of pear in php?

747


Write a program to get second highest number in an array using php?

761


What is $globals php?

746


Does php need apache?

688


How many open modes available when a file open in PHP?

889


Explain Type hinting in PHP?

779


What is the meaning of ‘escaping to php’?

824


What's php?

836


Name some of the constants in php and their purpose.

733


How to pass an argument to a function?

828


How can we destroy the cookie in php?

731


Define anonymous classes in php7?

743


What does mysqli_query return?

704


What are the benefits of composer?

740