PEAR is discontinued

This is a static archive preserving historical releases and metadata. No new packages or updates will be published. For updates to existing packages, or to publish new packages, please use Composer and Packagist.

Home » Database » DB_DataObject » Bug #647

debug is always called staticlly

Details

Submitted2004-01-31 11:56 UTC
Frommaka3d at yhaoo dot com
Assignedalan_k
StatusClosed
PackageDB_DataObject
PHP VersionIrrelevant
OSirrelevant
Roadmaps(Not assigned)

Comments

[2004-01-31 11:56 UTC] maka3d at yhaoo dot com

Description:
------------
I want be able to write custom debug function by overriding this, but debug is always called staticlly.

I don't know how dangerous could be this, but a patch would be replace all calls for this:

if(isset($this)) $this->debug(....
else DB_DataObject::debug(

this would maintain BC.