From: Michael Wallner Date: Wed, 25 Apr 2007 08:18:34 +0000 (+0000) Subject: sheesh X-Git-Tag: RELEASE_1_6_0b1~29 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=878af6cf27f64a1979100ecb0d74e4c972da13d8;p=m6w6%2Fext-http sheesh --- diff --git a/scripts/check_docs.php b/scripts/check_docs.php index d1e76ba..b6044fd 100755 --- a/scripts/check_docs.php +++ b/scripts/check_docs.php @@ -20,23 +20,20 @@ $ext = "http"; $doc = "/home/mike/cvs/phpdoc/en/reference/$ext"; $ref = new ReflectionExtension($ext); -$ini = $ref->getINIEntries(); -printf("Undocumented INI options (%d):\n", count($ini)); -foreach ($ini as $name => $tmp) { +printf("Undocumented INI options:\n"); +foreach ($ref->getINIEntries() as $name => $tmp) { re("configuration.xml", "#$name#") or printf("\t%s (%s)\n", $name, $tmp); } printf("\n"); -$flt = preg_grep("/^$ext\./", stream_get_filters()); -printf("Undocumented stream filters (%d):\n", count($flt)); -foreach ($flt as $filter) { +printf("Undocumented stream filters:\n"); +foreach (preg_grep("/^$ext\./", stream_get_filters()) as $filter) { fe(sprintf("streamfilters/%s.xml", substr($filter, 5))) or printf("\t%s\n", $filter); } printf("\n"); -$con = $ref->getConstants(); -printf("Undocumented constants (%d):\n", count($con)); -foreach ($con as $name => $tmp) { +printf("Undocumented constants:\n"); +foreach ($ref->getConstants() as $name => $tmp) { re("constants.xml", "#$name#") or printf("\t%s (%s)\n", $name, $tmp); } printf("\n");