PHP - Inheritance and Polymorphism
Which of the following is the correct syntax to call a parent class constructor inside a child class constructor in PHP?
__construct with two underscores.parent::__construct(); with double colon and double underscores.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions