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 » Tools and Utilities » PhpDocumentor » Bug #5825

@example not working

Details

Submitted2005-10-29 17:54 UTC
Fromsteve918 at hotmail dot com
StatusBogus
PackagePhpDocumentor
PHP Version5.0.5
OSFedora 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