Report new bug | New search | Development Roadmap Status: Open | Feedback | All

Bug #16577 Documentation incorrect
Submitted: 2009-09-08 01:19 UTC
From: brandon Assigned: ashnazg
Status: Closed Package: Documentation
PHP Version: 5.3.0 OS: N/A
Roadmaps: (Not assigned)    
Subscription  


 [2009-09-08 01:19 UTC] brandon (Brandon Savage)
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.

Comments

 [2009-09-09 08:22 UTC] ashnazg (Chuck Burgess)
-Status: Open +Status: Duplicate -Assigned To: +Assigned To: ashnazg
Duplicate of PHP bug 47679... will work the issue on that older bug report. Thanks for spotting the issue and opening the PEAR bug though, Brandon.
 [2009-09-10 05:26 UTC] ashnazg (Chuck Burgess)
-Status: Duplicate +Status: Open
Considering that the PHP bug is against PhD, I presume its scope is with how PhD is handling the CDATA closing/opening. As such, reopening this bug in order to fix the peardoc file itself, so the PHP bug can remain open for PhD's handling issue.
 [2009-09-10 05:28 UTC] ashnazg (Chuck Burgess)
-Status: Assigned +Status: Closed
Given that no keyword expansion property is set on this file in SVN, using plain "$Id$" should suffice. Corrections committed to SVN.