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 final class and final method?

0 Answers  


How many escape sequences are recognized in double-quoted strings in php?

0 Answers  


What the difference between WAMP5 1.7.3 and WampServer 2?

3 Answers  


How can I retrieve values from one database server and store them in other database server using PHP?

2 Answers   DRC Systems, Photon,


Tell me what is the difference between characters 34 and x34?

0 Answers  


Is PHP an open source software?

0 Answers  


What are the main error types in php and how do they differ?

0 Answers  


How are php sessions stored?

0 Answers  


Tell me how comparison of objects is done in php5?

0 Answers  


Is empty array php?

0 Answers  


Does php 5 support exceptions?

0 Answers  


What is difference Between PHP 5 and 7?

0 Answers  


Categories