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 the difference between ph4 and php5

2 Answers  


List few sensible functions in PHP?

0 Answers  


Tell me can the value of a constant change during the script's execution?

0 Answers  


What is the difference between InnoDB and MyIsam

1 Answers   Brain Technosys, IBM, TCS, TLI Software, Wipro,


List some features of php that are deprecated in php

0 Answers  






what are the various PHP Script Optimization techniques?

1 Answers   IBM, Krify Software Technologies, TCL,


how to get substring of string without using substr() function in php ????

3 Answers  


How to track no of user logged in?

0 Answers  


What is curl php?

0 Answers  


How does csrf token work?

0 Answers  


What is a session in php?

0 Answers  


How many keywords are there in php?

0 Answers  


Categories