cvs: functable /lib/statistics no_prototype.php
| From: | Hartmut Holzgraefe | Date: | Tue, 28 May 2002 11:42:55 +0000 |
| Subject: | cvs: functable /lib/statistics no_prototype.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12143@lists.php.net to get a copy of this message | ||
hholzgra Tue May 28 07:42:55 2002 EDT
Added files:
/functable/lib/statistics no_prototype.php
Log:
initial checkin
Index: functable/lib/statistics/no_prototype.php
+++ functable/lib/statistics/no_prototype.php
<?php
head(false,false,"Statistics","Functions without Prototype");
print( "<table><tr
bgcolor=\"$bgcolor\"><th>function</th><th>file</th><th>PHP
3 proto</th></tr>\n");
$result=mysql_query("SELECT DISTINCT
funclist.function AS fname
, funclist.filename AS file
, funclist.lineno AS lineno
FROM funclist
LEFT JOIN proto4
ON funclist.function = proto4.function
WHERE proto4.function IS NULL
AND alias_for IS NULL
AND versionid = 499
ORDER BY funclist.filename
, funclist.function
");
$count['noproto']=mysql_num_rows($result);
while($row=mysql_fetch_array($result))
{
bg_toggle();
print("<tr
bgcolor=\"$bgcolor\"><td>".fpage($row["fname"])."</td><td>".sourceref($row["file"]."#".$row["lineno"])."</td><td>");
if(isset($proto3[trim($row["fname"])]))
print($proto3[trim($row["fname"])]);
print(" </td></tr>\n");
}
mysql_free_result($result);
print("</table>\n");
foot("$outdir/noproto.$ext");
?>