From:             [EMAIL PROTECTED]
Operating system: Windows 2000 Professional
PHP version:      4.0.5
PHP Bug Type:     Class/Object related
Bug description:  Parent's constructor uncallable directly from within child's methods.

Calling a parent class's constructor from a child's method does not work
without the parent:: operator, although the parent's constructor is listed
in the child's list of method as reported by get_class_methods().

Example script:


class A
    function A()
class B extends A
    function foo()
$obj = new B;

Edit bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to