For Programmers: Free Programming Magazines  


Home > Archive > PHP Documentation > August 2005 > cvs: phpdoc /scripts zendapi_protos.php









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author cvs: phpdoc /scripts zendapi_protos.php
Hartmut Holzgraefe

2005-08-28, 6:55 pm

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/...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>
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com