Mega Code Archive
Categories
/
Php
/
Class
Invoking parent constructors
Staff constructor called!"; } } class Manager extends Staff { function __construct() { parent::__construct(); echo "
Manager constructor called!
"; } } $employee = new Manager(); ?>