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 are the rules to declare a php variables?

0 Answers  


what are the current or latest versions of LAMP ? Linux, Apache, MySql, PHP

4 Answers  


How send email in php?

0 Answers  


What are the benefits of using php and mysql?

0 Answers  


Why do we use inheritance in php?

0 Answers  


Explain Type juggling?

0 Answers  


write function of the sentence traversal passing the parameter, e.g input:this is input sentence. output:sentence input is this.

1 Answers   HyperQuality,


How to take a substring from a given string in php?

0 Answers  


How we can declare variable in php?

0 Answers  


Write down the code for save an uploaded file in php.

0 Answers  


Does php have block scope?

0 Answers  


What is session management php?

0 Answers  


Categories