PEAR is archived and read-only

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

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