php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #26225 array_filter documentation should discuss optionality of the callback parameter
Submitted: 2003-11-12 14:41 UTC Modified: 2003-11-12 16:06 UTC
From: ikindred at cox dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Irrelevant
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ikindred at cox dot net
New email:
PHP Version: OS:

 

 [2003-11-12 14:41 UTC] ikindred at cox dot net
Description:
------------
On this page: http://www.php.net/array_filter

The paramater "callback" is optional.  However, the documentation does not describe how array_filter behaves when the parameter "callback" is omitted.

There is a user comment:
muell-spam-trash-abfall at kcet dot de
10-Mar-2003 01:27
This comment does describe what happens when the parameter "callback" is omitted.

However, I feel that this information should be included in the official documenation for array_filter.

Many thanks!

Izzy.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-11-12 16:06 UTC] didou@php.net
This bug has been fixed in CVS.

In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
 
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.

In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
 
Thank you for the report, and for helping us make PHP better.

thanks :)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 17 07:01:28 2024 UTC