Jun 23, 2019 in PHP
Q:

Are Parent constructors called implicitly inside a class constructor?

1 Answer

0 votes
Jun 23, 2019
No, a parent constructor have to be called explicitly as follows:

parent::constructor($value)

Related questions

0 votes
Jun 23, 2019 in PHP
0 votes
Jun 23, 2019 in PHP
...