Why do we create an instance of a class in php?



Why do we create an instance of a class in php?..

Answer / gokul

The instanceof keyword is used to check if an object belongs to a class.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More PHP Interview Questions

What is the role of the .htaccess file in php?

0 Answers  


What is a PHP Filter?

0 Answers  


How can I convert ereg expressions to preg in php?

0 Answers  


What is multidimensional array in php?

0 Answers  


What are the benefits of using php?

0 Answers  






How can php and javascript interact?

0 Answers  


Can I write php code in html file?

0 Answers  


How can we convert asp pages to PHP pages?

3 Answers   Agile Software,


How can we know that a session is started or not?

8 Answers  


Difference among echo, print and printf.

1 Answers  


Give any ten basic functions in PHP?

4 Answers   T3 Softwares,


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

1 Answers  


Categories