Is PHP is procedure oriented or object oriented?

Answers were Sorted based on User's Feedback



Is PHP is procedure oriented or object oriented?..

Answer / 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

Is PHP is procedure oriented or object oriented?..

Answer / master

php is a hybrid language which has got both procedure and
oop concepts.
so you can take it in any way

Is This Answer Correct ?    16 Yes 3 No

Is PHP is procedure oriented or object oriented?..

Answer / hyma

No,PHP is object oriented language.PHP5 added the oops
concepts.

Is This Answer Correct ?    12 Yes 10 No

Is PHP is procedure oriented or object oriented?..

Answer / srinivasa rao

PHP is object based language. It supports OOPS features as
well as normal procedural programing. It is similar to C++.

Is This Answer Correct ?    3 Yes 1 No

Is PHP is procedure oriented or object oriented?..

Answer / payal

PHP is a object oriented language. We can not say it is a
purely object oriented Lang. like Java, but it has covered
major OOPs concept in version 5.

Is This Answer Correct ?    3 Yes 2 No

Is PHP is procedure oriented or object oriented?..

Answer / guest

PHP is object oriented

Is This Answer Correct ?    2 Yes 2 No

Is PHP is procedure oriented or object oriented?..

Answer / darshan

its object oriented oriented language

Is This Answer Correct ?    0 Yes 1 No

Is PHP is procedure oriented or object oriented?..

Answer / sudheer

its object oriented oriented language

Is This Answer Correct ?    1 Yes 7 No

Is PHP is procedure oriented or object oriented?..

Answer / apple

PHP is procedural language.
and is NOT object oriented language even in relese of version 5.

php5 and later versions support some of OO features.

Is This Answer Correct ?    4 Yes 11 No

Is PHP is procedure oriented or object oriented?..

Answer / pratheebha

php is a procedure oriented language

Is This Answer Correct ?    7 Yes 20 No

Post New Answer

More PHP Interview Questions

What is $_session in php?

0 Answers  


How is it possible to set an infinite execution time for php script?

0 Answers  


How can we register the variables into a session?

1 Answers  


What good is polymorphism?

0 Answers  


Is it easy to learn wordpress?

0 Answers  






Explain mysql_errno()?

0 Answers  


How to create a session? How to remove data from a session?

0 Answers  


What are php data types?

0 Answers  


How do you end a session in php?

0 Answers  


Do you know what is the differences between $a != $B and $a !== $B?

0 Answers  


Which framework is best for php development?

0 Answers  


What is php artisan tinker?

0 Answers  


Categories