Re: PECL in version information
| From: | Nuno Lopes | Date: | Thu, 30 Dec 2004 11:11:30 +0000 |
| Subject: | Re: PECL in version information | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969365711@lists.php.net to get a copy of this message | ||
Hi,
Here is the patch for including PECL functions in version information in PHP documentation to achieve e.g. "apd_breakpoint (PECL)" instead of "apd_breakpoint (no version information, might be only in CVS)" or "bzclose (PHP 4 >= 4.0.4, PHP 5, PECL)" instead of "bzclose (PHP 4 >= 4.0.4, PHP 5)".Althought the bz2 extension is in PECL, it is bundled in the main distribution, so why write PECL? IMHO, PECL should just be used for functions that aren't bundled. Examples: tidy_xx (PECL PHP >= 4.3.0, PHP 5) -- parsing the package.xml you can get the PHP version or even better: tidy_get_xx (PECL tidy >= 0.5.2, PHP 5) -- this one would be must more difficult to do, but just a suggestion :) spl* (PHP 5), not spl*(PHP 5, PECL) suggestions? Nuno