Home » Tools and Utilities » PhpDocumentor » Bug #5825
@example not working
Details
| Submitted | 2005-10-29 17:54 UTC |
|---|---|
| From | steve918 at hotmail dot com |
| Status | Bogus |
| Package | PhpDocumentor |
| PHP Version | 5.0.5 |
| OS | Fedora C4 |
| Roadmaps | (Not assigned) |
Comments
[2005-10-29 17:54 UTC] steve918 at hotmail dot com
Description:
------------
PhpDoc not parsing @example sections
Test script:
---------------
/**
* Grabs the remote users host address(some.somewhere.com)
*
* @example adsl-38-255-255.tulsaconnect.com
* @return string host's identification
*/
function getisp () {
$ip = $_SERVER['REMOTE_ADDR'];
$ISP = gethostbyaddr($ip);
return $ISP;
}
Expected result:
----------------
example: adsl-38-255-255.tulsaconnect.com
Actual result:
--------------
example: example not found
[2005-10-29 18:25 UTC] jeichorn at php dot net
@example is documented at:
http://manual.phpdoc.org/HTMLframesConverter/default/phpDocumentor/tutorial_tags.example.pkg.html