Junior PHP Developer Question:

Download Job Interview Questions and Answers PDF

Tell me are Parent constructors called implicitly inside a class constructor?

Junior PHP Developer Interview Question
Junior PHP Developer Interview Question

Answer:

No, a parent constructor have to be called explicitly as follows:

parent::constructor($value)

Download Junior PHP Developer Interview Questions And Answers PDF

Previous QuestionNext Question
Tell me is it possible to protect special characters in a query string?Tell me is it possible to remove the HTML tags from data?