ID: 37105 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Documentation problem Operating System: Irrelevant PHP Version: Irrelevant New Comment:
Well, "$instance = new parent;" would have to be documented too. Regards Previous Comments: ------------------------------------------------------------------------ [2006-04-17 13:02:20] [EMAIL PROTECTED] Description: ------------ The oop5 manual never talks about the ability to instanciate a class inside itself using "$instance = new self;". The only occurence of this behavior is in a user comment in the reflection manual. It would be nice to have this stated somewhere. Putting it in "The Basics" under the "new" section would be a possibility: Do you have any suggestion? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37105&edit=1