PEAR is archived and read-only

This mirror preserves historical PEAR package releases and metadata so existing references remain available.

Home » Structures » Tree » Bug #1976

Missing $this-> with __construct()

Details

Submitted2004-07-25 04:58 UTC
Fromrquast at rolandquast dot com
Assigneddufuz
StatusClosed
PackageTree
PHP Version5.0.0
OSLinux 2.4.26-gentoo-r5
Roadmaps(Not assigned)

Comments

[2004-07-25 04:58 UTC] rquast at rolandquast dot com

Description:
------------
new __construct constructor in php5 not referencing old constructor correctly.. missing $this->

Reproduce code:
---------------
Simple problem I found when installing Tree with php5, the new __construct method cant find the old constructor because its not referencing $this

/usr/lib/php/Tree/Dynamic/DBNested.php

Line 76: currently... Tree_Dynamic_DBnested( $dsn , $options );

Requires: $this->Tree_Dynamic_DBnested( $dsn , $options );