[PEAR-BUG] Bug #16577 [NEW]: Documentation incorrect

[email protected] ("brandon at brandonsavage dot net")
Newsgroups php.pear.doc,php.pear.doc
Message-ID <[email protected]>
From:             #b17440f5587d8ae2129
Operating system: N/A
Package version:  
PHP version:      5.3.0
Package:          Documentation
Bug Type:         Bug
Bug description:  Documentation incorrect

Description:
------------
I was reading through the PEAR documentation today, and I noticed
something that looked incorrect in two places.

On both http://pear.php.net/manual/en/standards.header.php and
http://pear.php.net/manual/en/standards.sample.php there is a code sample
that contains the following:

* @copyright  1997-2005 The PHP Group
* @license    http://www.php.net/license/3_01.txt  PHP License 3.01
* @version    SVN: <?php
$
?> Id:$
* @link       http://pear.php.net/package/PackageName
* @see        NetOther, Net_Sample::Net_Sample()
* @since      File available since Release 1.2.0

I'm thinking this is incorrect, because the class is defined without
reopening the <?php tag. Since the class is defined after this point, it
wouldn't work in PHP.


-- 
Edit bug report at http://pear.php.net/bugs/bug.php?id=16577&edit=1
--
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.