|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #54775 Bad variable argument list in register_tick_function
Submitted: 2011-05-17 11:05 UTC Modified: 2011-05-18 00:25 UTC
Avg. Score:3.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: gwarnants at gmail dot com Assigned: salathe (profile)
Status: Wont fix Package: Documentation problem
PHP Version: Irrelevant OS:
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
Solve the problem:
39 - 27 = ?
Subscribe to this entry?

 [2011-05-17 11:05 UTC] gwarnants at gmail dot com
From manual page:

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:
Duplicating an optional parameter and "..." should be avoided because it
a redondant information.


Expected result:
bool register_tick_function ( callback $function [, mixed $... ] )

Actual result:
bool register_tick_function ( callback $function [, mixed $arg [, mixed $... ]] )


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-18 00:25 UTC]
-Status: Open +Status: Wont fix -Assigned To: +Assigned To: salathe
 [2011-05-18 00:25 UTC]
The current prototype makes it clear that the $... means more $arg's.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Jul 19 18:01:30 2024 UTC