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 I can control asset documents without GR/IR?
Is php faster than python?
What is htaccess in php?
Why do we use htaccess and where?
What are arguments in php?
What is difference between strstr() and stristr()?
Explain me what are the main error types in php and how do they differ?
Is php closing tag necessary?
What is encapsulation in php?
Is ruby on rails php?
Tell me how is it possible to know the number of rows returned in result set?
What is the difference between get and post in php?
What is the difference between array_map () and array_shift ()?
What is the importance of "action" attribute in a html form?
How to convert one date format into another in php?