Date:  10 Feb 2015 08:35:23 Hong Kong Time

[PEAR-BUG] Req #13161 [Asn->Csd]: should have dumpRawAttributes()

NNTP-Posting-Host:  null

Edit report at

 ID:               13161
 Updated by:
 Reported By:      joy at entuzijast dot net
 Summary:          should have dumpRawAttributes()
-Status:           Assigned
+Status:           Closed
 Type:             Feature/Change Request
 Package:          Auth_RADIUS
 Operating System: Linux
 Package Version:  1.0.5
 PHP Version:      Irrelevant
 Assigned To:      mbretter
 Roadmap Versions: 
 New Comment:

-Status: Assigned
+Status: Closed
This bug has been fixed in SVN.

If this was a documentation problem, the fix will appear on
by the end of next Sunday (CET).

If this was a problem with the website, the change should
be live shortly.

Otherwise, the fix will appear in the package's next release.

Thank you for the report and for helping us make PEAR better.

Previous Comments:

[2008-04-13 07:49:24] shallot

Well, the first part is pretty easy :)

     * Prints all attributes received from the server
     * (even the unknown ones).
     * @access public
    function dumpRawAttributes()
        foreach ($this->rawAttributes as $name => $data) {
            echo "$name:$data
\n"; } } ------------------------------------------------------------------------ [2008-04-13 06:36:40] mbretter Patches welcome ;-) ------------------------------------------------------------------------ [2008-02-20 20:16:11] shallot Description: ------------ There is a method dumpAttributes() which prints the known attributes received from the server, but getAttributes() recognizes only a small set, and stores the rest in $rawAttributes. However, there isn't a method to print those, so it would make sense to add one. It would be useful to have a method which converts numbers into constant names, based on radius/radius_init_const.h, although it would have to be a bit tricky in order to distinguish e.g. RADIUS_ACCESS_REQUEST from a RADIUS_USER_NAME, both of which have the same number... ------------------------------------------------------------------------ -- Edit this bug report at