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 variable give example?

0 Answers  


Explain what is smarty?

0 Answers  


How to move uploaded files to permanent directory?

0 Answers  


Is salary fixed or variable cost?

0 Answers  


Tell me what are magic methods?

0 Answers  






What is php and why it is used?

0 Answers  


How do you create an array in php?

0 Answers  


What are the Merits and De-Merits of CURL library ?

1 Answers  


Which php framework is best for beginners?

0 Answers  


What is php session and how it works?

0 Answers  


what is the scope of php in the future if any other language is developed then may be php is loss ???

1 Answers   ATI,


What is better .net or php?

0 Answers  


Categories