note 16638 added to keyword.extends

From: Date: Wed, 07 Nov 2001 17:08:26 +0000
Subject: note 16638 added to keyword.extends
Groups: php.notes 
Request: Send a blank email to php-notes+get-20552@lists.php.net to get a copy of this message
Just one thing that may seem obvious but not mentionned in this page is that you need to include/require the file containing the parent class or else you'll get an error: <?php require(dirname(__FILE__).'/'.'myParent.php'); ... myChild extends myParent { ... } ... ?> -- http://www.php.net/manual/en/keyword.extends.php http://master.php.net/manage/user-notes.php?action=edit+16638 http://master.php.net/manage/user-notes.php?action=delete+16638 http://master.php.net/manage/user-notes.php?action=reject+16638

« previous php.notes (#20552) next »