php run.php
- animal.php should not require_once('cat.php'): This commit
- Animal class should not extend Creature class: This commit
- Instead of using autoloader, explicitly require_once creature.php and animal.php from run.php: This commit
PHP experiments showing spl_autoload_register() and require_once successfully and failing to resolve circular dependencies
php run.php
PHP experiments showing spl_autoload_register() and require_once successfully and failing to resolve circular dependencies