ID: 46502 Updated by: [EMAIL PROTECTED] Reported By: frajper at gmail dot com -Status: Open +Status: Bogus Bug Type: Compile Failure Operating System: RHEL 4 PHP Version: 5.2CVS-2008-11-06 (snap) New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php . Previous Comments: ------------------------------------------------------------------------ [2008-11-06 12:49:22] frajper at gmail dot com Description: ------------ In the same file, you cannot instanciate an object of a child-class that extends an abstract one before the child-class has been defined. // The following code does not work // $s = new Son (); abstract class Bird {} class Father extends Dove {} Reproduce code: --------------- Fatal error: Class 'Import_ald' not found in /home/enric00/no_public/import/Import_ald.php on line 7 Expected result: ---------------- Normal execution ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=46502&edit=1