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 » Networking » Net_Dig » Bug #2807

Fatal Error when dig is not found

Details

Submitted2004-11-22 09:32 UTC
Fromcmoehrke at netviser dot de
Assignedcmv
StatusClosed
PackageNet_Dig
PHP Version5.0.2
OSSuse Linux 9.0
Roadmaps(Not assigned)

Comments

[2004-11-22 09:32 UTC] cmoehrke at netviser dot de

Description:
------------
If the class can't find dig it results in a fatal error

Reproduce code:
---------------
require_once("Net/Dig.php");
$myDig=new Net_Dig ("www.golem.de");
$erg=$myDig->dig();

Actual result:
--------------
Fatal error: Cannot re-assign $this in /usr/local/php/pear/Net/Dig.php on line 121