From phpdoc.org manual:
/**
* Example of unlimited parameters.
* @param string $s string to display
* @param mixed $v variable to display with var_dump()
* @param mixed $v,... unlimited OPTIONAL number of additional variables to display with var_dump()
*/
function fancy_debug($s,$v)
{
print $s."<blockquote>\n";
var_dump($v);
if (func_num_args()>2)
{
for($i=2;$i<func_num_args();$i++)
{
$a = func_get_arg($i);
var_dump($a);
print "<br>\n";
}}
print "</blockquote>\n";
}
So when I try to show doc for function fancy_debug
, Komodo must show me something like this:
fancy_debug(string $s, mixed $v,...)
or fancy_debug(string $s, mixed $v, [mixed $v])
, but it’s not. I see only fancy_debug(string $s, mixed $v)
. E.g. for function __construct()
I can see __construct([mixed $args, [$...]])
and it’s look nice. In May’14 I create topic with another bug with PHPDoc: PHPDoc doesn't print correctly but it’s doesn’t fixed. Can you “upgrade” PHPDoc and JSDoc in final release of Komodo 9 when it’s “see the world”?
Best regards, Defman.