cvs: docweb /scripts gen_missing_examples.php
[email protected] ("Felipe Pena")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <cvsfelipe1223683104@cvsserver> |
felipe Fri Oct 10 23:58:24 2008 UTC
Modified files:
/docweb/scripts gen_missing_examples.php
Log:
- Added check for "&info.function.alias;" and 'main', 'delete' pseudo functions. (patch by Kalle)
http://cvs.php.net/viewvc.cgi/docweb/scripts/gen_missing_examples.php?r1=1.2&r2=1.3&diff_format=u
Index: docweb/scripts/gen_missing_examples.php
diff -u docweb/scripts/gen_missing_examples.php:1.2 docweb/scripts/gen_missing_examples.php:1.3
--- docweb/scripts/gen_missing_examples.php:1.2 Sun Feb 3 15:14:30 2008
+++ docweb/scripts/gen_missing_examples.php Fri Oct 10 23:58:24 2008
@@ -17,7 +17,7 @@
| Author: Dave Barr <[email protected]> |
| DocWeb Port: Sean Coates <[email protected]> |
+----------------------------------------------------------------------+
-$Id: gen_missing_examples.php,v 1.2 2008/02/03 15:14:30 bjori Exp $
+$Id: gen_missing_examples.php,v 1.3 2008/10/10 23:58:24 felipe Exp $
*/
set_time_limit(0);
@@ -57,7 +57,7 @@
sort($exts, SORT_STRING);
-$extfuncs = array();
+$extfuncs = array('delete', 'main');
$functotal = 0;
foreach ($exts as $ext) {
@@ -83,7 +83,8 @@
if (
strstr($file, "<example") === false &&
- strstr($file, "<informalexample") === false
+ strstr($file, "<informalexample") === false &&
+ strstr($file, "&info.function.alias;") === false
) {
// this function doesn't have an example