cvs: functable /lib/statistics in_php_3_only.php
| From: | Hartmut Holzgraefe | Date: | Tue, 28 May 2002 11:42:47 +0000 |
| Subject: | cvs: functable /lib/statistics in_php_3_only.php | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12141@lists.php.net to get a copy of this message | ||
hholzgra Tue May 28 07:42:47 2002 EDT
Added files:
/functable/lib/statistics in_php_3_only.php
Log:
initial checkin
Index: functable/lib/statistics/in_php_3_only.php
+++ functable/lib/statistics/in_php_3_only.php
<?php
include "deprecate.php";
head(false,false,"Statistics","Functions available in PHP 3 that are not (yet)
available in PHP 4");
print( "<table><tr
bgcolor=\"$bgcolor\"><th>function</th><th>file</th><th>reason</th></tr>\n");
$result=mysql_query("SELECT f1.function AS fname
, f1.filename AS file
, f1.lineno AS lineno
FROM funclist f1
LEFT JOIN funclist f2
ON f1.function = f2.function
AND f2.versionid = 499
WHERE f1.versionid = 399
AND f2.function IS NULL
ORDER BY f1.filename
, f1.function
");
$count['notin4']=mysql_num_rows($result);
$count['notin4withreason']=0;
while($row=mysql_fetch_array($result)) {
bg_toggle();
print("<tr bgcolor=\"$bgcolor\">");
print("<td>".fpage($row["fname"])."</td>");
print("<td>".sourceref($row["file"]."#".$row["lineno"])."</td>");
print("<td>");
if(isset($deprecate[$row["fname"]])) {
echo $deprecate[$row["fname"]];
$count['notin4withreason']++;
} else {
echo " ";
}
print("</td></tr>\n");
}
mysql_free_result($result);
print( "</table>\n");
foot("$outdir/notin4.$ext");
?>