PEAR is archived and read-only

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

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