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
What is strstr php?
How does one prevent the following warning ‘warning: cannot modify header information – headers already sent' and why does it occur in the first place?
What are the string function in php?
What is api example?
i m a B.E,passed out few yrs bak failed to find good job due to less marks now thinkin of a career as PHP developer. is it a lucarative field and wat r career prospects; hv heard dat initial salary is very less bout 6k also most jobs r contrct jobs.pls guide me need ur valuable advice.pls hellppp!! thnx..
What is php.ini & .htacess file?
What enctype is required for file uploads to work?
How do you sort an array in php?
How to increase the execution time of a PHP script?
How do I sort numbers in php?
In php, objects are they passed by value or by reference?
Tell me whether it is possible to share a single instance of a memcache between multiple php projects?
What types of Data Can Be Used as Array Keys?
When is a conditional statement ended with an endif?
What does type casting mean in php? Explain with an example?