cvs: phpdoc /scripts zendapi_protos.php
| From: | Hartmut Holzgraefe | Date: | Sun, 28 Aug 2005 13:19:57 +0000 |
| Subject: | cvs: phpdoc /scripts zendapi_protos.php | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969369738@lists.php.net to get a copy of this message | ||
hholzgra Sun Aug 28 09:19:57 2005 EDT
Modified files:
/phpdoc/scripts zendapi_protos.php
Log:
pointer check needs to be done on parameters, too
http://cvs.php.net/diff.php/phpdoc/scripts/zendapi_protos.php?r1=1.2&r2=1.3&ty=u
Index: phpdoc/scripts/zendapi_protos.php
diff -u phpdoc/scripts/zendapi_protos.php:1.2 phpdoc/scripts/zendapi_protos.php:1.3
--- phpdoc/scripts/zendapi_protos.php:1.2 Sun Aug 28 09:15:09 2005
+++ phpdoc/scripts/zendapi_protos.php Sun Aug 28 09:19:55 2005
@@ -35,6 +35,10 @@
if (empty($name)) {
$params[] = $type;
} else {
+ if ($name{0} == '*') {
+ $type.= "*";
+ $name = substr($name, 1);
+ }
$params[$type] = $name;
}
}
@@ -44,8 +48,9 @@
ob_start();
echo '<?xml version="1.0"
encoding="iso-8859-1"?>'."\n";
+ echo "<!-- $"."Revision: 1.1 $ -->\n";
+
?>
-<!-- $Revision: 1.2 $ -->
<refentry id="zend-api.<?php echo str_replace("_","-",$function);
?>">
<refnamediv>
<refname><?php echo $function; ?></refname>