ID:               12277
 Comment by:       story-sex1919 at hotmail dot com
 Reported By:      jack at mobil dot cz
 Status:           Closed
 Bug Type:         Class/Object related
 Operating System: All
 PHP Version:      4.0.5
 New Comment:

<a href=http://super-oldgirldouble.da.ru>sex story</a>


Previous Comments:
------------------------------------------------------------------------

[2001-11-17 13:42:30] [EMAIL PROTECTED]

This is a current implementation limitation.

Just define your real C constructor and access the other C method with
parent::C().

Closed.

------------------------------------------------------------------------

[2001-07-20 07:51:42] jack at mobil dot cz

the following code:
<?
class A {
    function A() {
        echo "I am the constructor of A.<br>\n";
    }
}

class B extends A {
    function C() {
        echo "I am a regular function C.<br>\n";
    }
}

class C extends B {
}

$b = new C();
?> 
in PHP 4.0.5 prints:
I am a regular function C.<br>

is this correct?



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=12277&edit=1

Reply via email to