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
How to create an array from php string?
How can I load data from a text file into a table?
What are the features of object-oriented programming in php?
Why is php so popular?
What is cookies? How to create cookies in php?
what the new feature add in php 7.2?
Can php run without server?
What is the use of preg_match in php?
Tell me how is the ternary conditional operator used in php?
What does empty mean in php?
What is php artisan serve?
What is the expansion of LAMP?
Explain me what are the main error types in php and how do they differ?
What does $globals mean?
What is the difference between $_files['userfile']['name'] and $_files['userfile']['tmp_name']?