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

How to check an key is exists in array?

719


What is php how it works?

724


Where is session value stored?

719


How to redirect https to http url through .htaccess?

655


What is the ioncube php loader?

758


What is inheritance in php?

736


What is html used for?

727


What are the popular frameworks in php?

690


What is mysqli_real_escape_string?

723


Is php a dying language?

708


Explain about PHP cookies?

793


What is preg_match?

713


Difference between mysql_connect and mysql_pconnect?

683


What is dao in php?

664


What is the difference between single quoted string and double quoted string?

699