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

How to stop the execution of php script?

746


Do you know when sessions ends?

761


What does namespace mean in php?

795


Tell me is it possible to protect special characters in a query string?

701


What is member function?

805


When you want to show some part of a text displayed on an html page in red font color? What different possibilities are there to do this? What are the advantages/disadvantages of these methods?

710


iam mca post graduate in 2010 not getting job in JAVA so iam looking for carear in php as market demand is high so it is best option to try for php or not

1650


How to create an array in php?

800


Why is php so popular?

708


How to create and destroy cookies in php?

689


What Is a Persistent Cookie?

815


How do I use isdigit function?

797


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

752


Tell me which programming language does php resemble to?

714


What is session data?

739