<?php class Employee { function __construct() { echo "<p>Employee construct called!!</p>\n"; } } class Manager { function __construct() { new Employee(); echo "<p>Manager Construct Called! </p>\n"; } } new Manager();
You have javascript disabled. You will not be able to edit any code.