Home » Networking » Net_DNS » Bug #8321
fatal error Cannot re-assign $this in /usr/share/php/Net/DNS/RR.php on line 60
Details
| Submitted | 2006-07-30 02:44 UTC |
|---|---|
| From | siegfri3d at gmail dot com |
| Assigned | bate |
| Status | Closed |
| Package | Net_DNS |
| PHP Version | 5.1.4 |
| OS | Debian AND fedora |
| Roadmaps | (Not assigned) |
Comments
[2006-07-30 02:44 UTC] siegfri3d at gmail dot com
Description:
------------
i got this error when using the test script of your documentation to make an axfr request:
Fatal error: Cannot re-assign $this in /usr/share/php/Net/DNS/RR.php on line 60
i tried on debian unstable and fedora core 5 both with php 5.1.4
Test script:
---------------
the script i got in the documentation to make an axfr query:
require_once 'Net/DNS.php';
$resolver = new Net_DNS_Resolver();
$resolver->debug = 1;
$response = $resolver->axfr($_GET['host']);
print_r($response);
if (count($response) == 0) {
echo "\n";
echo "AXFR Failed\n";
}
Expected result:
----------------
that it works ;p
Actual result:
--------------
Fatal error: Cannot re-assign $this in /usr/share/php/Net/DNS/RR.php on line 60