Doc #54775 [NEW]: Bad variable argument list in register_tick_function
| From: | gwarnants at gmail dot com | Date: | Tue, 17 May 2011 09:05:00 +0000 |
| Subject: | Doc #54775 [NEW]: Bad variable argument list in register_tick_function | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-6438@lists.php.net to get a copy of this message | ||
From:
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Bad variable argument list in register_tick_function
Description:
------------
---
From manual page:
http://www.php.net/function.register-tick-function#Description
---
I think variable argument list of register_tick_function() function could
be
rewritten in a more conveniant way, like any other similar function does
(ie:
array_map).
Duplicating an optional parameter and "..." should be avoided because it
is
a redondant information.
Regards,
Geoffray
Expected result:
----------------
bool register_tick_function ( callback $function [, mixed $... ] )
Actual result:
--------------
bool register_tick_function ( callback $function [, mixed $arg [, mixed
$... ]] )
--
Edit bug report at http://bugs.php.net/bug.php?id=54775&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54775&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54775&r=trysnapshot53
Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54775&r=trysnapshottrunk
Fixed in SVN: http://bugs.php.net/fix.php?id=54775&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54775&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=54775&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=54775&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=54775&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=54775&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=54775&r=support
Expected behavior: http://bugs.php.net/fix.php?id=54775&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=54775&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=54775&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=54775&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54775&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=54775&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=54775&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=54775&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=54775&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=54775&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=54775&r=mysqlcfg