cvs: docweb /scripts gen_missing_examples.php

From: Date: Fri, 10 Oct 2008 23:58:24 +0000
Subject: cvs: docweb /scripts gen_missing_examples.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-1005@lists.php.net to get a copy of this message
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 <dave@php.net> | | DocWeb Port: Sean Coates <sean@php.net> | +----------------------------------------------------------------------+ -$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

« previous php.doc.web (#1005) next »