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 can you make a connection with mysql server using php?
What is nan value?
What is final class and final method in php?
What is use of count() function in php?
How to enable parsing?
What is oops php?
What is an associative array?
What is the difference between print() and echo()?
Is polymorphism inherited?
How do you compare strings in java?
How to access standard error stream in PHP?
Is php pass by reference or value?
What is the difference between require_once and require in php?
How can image properties be retrieved in php?
What is the use of post in php?