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


Please Help Members By Posting Answers For Below Questions

What is the use of mysql_fetch_array in php?

508


What is echo in html?

500


What is pdo in php why use?

497


What is the use of array_count_values() in php?

537


What is the purpose of a query?

507






What is php beginner?

503


Who developed php?

547


How can you get the size of an image in PHP?

546


Tell me how can we define a variable accessible in functions of a php script?

527


Is uploaded file php?

541


What are the different loops in php?

543


What is slim framework?

507


What is printf in php?

527


How to track no of user logged in?

632


How I can control asset documents without GR/IR?

1211