Sr. PHP Programmer Question:
Download Questions PDF

How will you access the reference to same object within the object in PHP?

Answer:

The variable $this is a special variable and it refers to the same object ie. itself.

Download Senior PHP Programmer Interview Questions And Answers PDF

Previous QuestionNext Question
Write down the code for save an uploaded file in php?What is the importance of "action" attribute in a html form?