Login
Remember
Register
Ask a Question
Are Parent constructors called implicitly inside a class constructor?
0
votes
asked
Jun 23, 2019
in
PHP
by
SakshiSharma
Are Parent constructors called implicitly inside a class constructor?
#php
#php-php
#php-server-monitor-script
#php-support
#mysql-php
#php-programmer
#php-development
#php-language
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jun 23, 2019
by
anonymous
No, a parent constructor have to be called explicitly as follows:
parent::constructor($value)
...