Is PHP is procedure oriented or object oriented?
Answer Posted / uttam thakor
PHP is Both Procedure oriented and Object Oriented.
We have the choice of using procedural programming or object
oriented programming, or a mixture of them.
Although not every standard OOP feature is implemented in
PHP 4, many code libraries and large applications (including
the PEAR library) are written only using OOP code.
PHP 5 fixes the OOP related weaknesses of PHP 4, and
introduces a complete object model.
Thanks.
| Is This Answer Correct ? | 38 Yes | 2 No |
Post New Answer View All Answers
Do you know how can php and html interact?
Write a program in php to reverse a number?
How to get the IP address of the client/user in PHP?
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
What is the use of final class in php?
Which function is used in php to check the data type of any variable?
What is difference between echo and print_r in php?
Why is php so popular?
How many functions are there in php?
How to create an empty array in php?
What does type casting mean in php? Explain with an example?
Which function would you use to format date information in php?
What are the disadvantages of php?
How to get the value of current session id?
How to open a file in php?