Answer Posted / leelu
Difference between php4/5
PHP5
----
Strong OOPS support
1) Data Encapsulation (public, private, protect
visibility for member variables and methods)
2) Concepts like Abstraction, Inheritance,
Reflections(reverse engineering APIs)
3) More Magic Functions like __construct, __destruct,
__call, __get, __set
4)Type Hinting (as in C , we can specify the data type
the argument will be taking in function)
5) late static bindings etc..
| Is This Answer Correct ? | 20 Yes | 1 No |
Post New Answer View All Answers
Why php language is used?
What is php and its uses?
Explain PHP looping?
Which function(s) in PHP computes the difference of arrays?
What is the use of get and post method in php?
How can you retrieve data from the mysql database using php?
Tell me how comparison of objects is done in php5?
Is php used in 2019?
How to create a session? How to set a value in session? How to remove data from a session?
What is difference between mysqli and mysql?
Why did you choose this particular career path?
How send email using php?
What is parent __construct ();?
Is it possible to extend the execution time of a php script?
Is it possible to submit a form with a dedicated button?