On Mon, 2004-02-09 at 18:28, Andrey Hristov wrote: > Hello internals, > what's your opinion on whether the constructors must follow one of the > principles of the polymorphism - "The visibility in extending classes must be > the same or better". [...] > Currently this code emits a compilation error.
Not just one: Fatal error: Cannot use 'parent' as class name as it is reserved:) AFAIS, you only run into this in cases where your base class has a public constructor or any other public methods extended class might want to make private or protected (see the thread about having a built-in base class with all methods implemented - one more reason for not having one). I'm fine with the current solution. Everything else is sloppy, IMHO. - Timm -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php