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

Can I write php code in html file?

0 Answers  


Tell me how can we change the maximum size of the files to be uploaded?

0 Answers  


What is difference between core php and framework?

0 Answers  


Do you know design patterns. List few?

0 Answers  


What is meant by nl2br()?

4 Answers   Rushmore Consultancy,






Does csrf token change?

0 Answers  


How can we do user authentication without using session/cookies ? For ex:- From page1 accepts user name and password and need to check in all other pages whether the user has logged in or not

6 Answers   TCS,


What's diffrence between Get() and Post() Function

7 Answers  


What is the difference between include and require?

0 Answers  


Which function would you use to determine the length of a string in php?

0 Answers  


What is the difference between unset and unlink?

0 Answers  


Explain the types of string comparision function in PHP

0 Answers  


Categories