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 difference between required and require_once in php?

0 Answers  


how to include a datepicker in a form using php and mysql

2 Answers  


Is php a mvc?

0 Answers  


How to call a php function from html button?

0 Answers  


What is binary safe function in php?

0 Answers  


Which function gives us the number of affected entries by a query?

0 Answers  


What are the difference between include_once & Require_once?

2 Answers  


What is form submission?

0 Answers  


When a conditional statement is ended with an endif?

0 Answers  


What is Gd PHP?

0 Answers  


What is the difference between print() and echo()?

0 Answers  


List some of the features of php7.

0 Answers  


Categories