ID:               30148
 Updated by:       [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
 Status:           Closed
 Bug Type:         Class/Object related
-Operating System: Windows XP
+Operating System: *
 PHP Version:      5.0.1
-Assigned To:      
+Assigned To:      helly
 New Comment:

Fixed in 5.1-dev, we probably MFH it after 5.0.2 is out.


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

[2004-09-19 13:28:39] [EMAIL PROTECTED]

This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

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

[2004-09-19 00:55:45] [EMAIL PROTECTED]

Description:
------------
isConstructor() should return true for child classes as well, but it
does not.

Reproduce code:
---------------
<?php
class t
{
    function __construct(){}
}
class e extends t {}
$a = new ReflectionMethod('t','__construct');
$b = new ReflectionMethod('e','__construct');
var_dump($a->isConstructor());
var_dump($b->isConstructor());

Expected result:
----------------
bool(true)
bool(true)

Actual result:
--------------
bool(true)
bool(false)


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


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

Reply via email to