php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #52806 key_exists (alias of array_key_exists) undocumented
Submitted: 2010-09-09 22:23 UTC Modified: 2010-09-10 04:53 UTC
From: mfonda@php.net Assigned: aharvey (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS:
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: mfonda@php.net
New email:
PHP Version: OS:

 

 [2010-09-09 22:23 UTC] mfonda@php.net
Description:
------------
The function key_exists is an alias of array_key_exists, but does not have an 
alias page or appear anywhere in the manaul.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-09-09 22:40 UTC] philip@php.net
I don't think we need a manual page for this, and am unsure exactly what to do. 
Maybe list all these old/dead/deprecated aliases somewhere? Referring to them 
all over the place may add needless clutter. And the following checks for 
missing docs:

http://svn.php.net/viewvc/phpdoc/doc-base/trunk/scripts/check-missing-docs.php?
view=markup

It also skips known deprecated features like key_exists().
 [2010-09-10 04:43 UTC] aharvey@php.net
-Status: Open +Status: Assigned -Assigned To: +Assigned To: aharvey
 [2010-09-10 04:43 UTC] aharvey@php.net
Happily, we already have somewhere for this: the list of function aliases at http://php.net/manual/en/aliases.php. The normal procedure (based on the MySQL deprecated aliases) seems to be a listing there and a note on the manual page.

I'll take care of that for key_exists().
 [2010-09-10 04:53 UTC] aharvey@php.net
Automatic comment from SVN on behalf of aharvey
Revision: http://svn.php.net/viewvc/?view=revision&revision=303248
Log: Fix doc bug #52806 (key_exists (alias of array_key_exists) undocumented) by
adding key_exists() to the list of function aliases and moving the note about
the deprecated alias to the normal place on the array_key_exists() manual page.
Also removed the now horribly out of date note on the function alias list about
it being correct "as of 4.0.6".
 [2010-09-10 04:53 UTC] aharvey@php.net
-Status: Assigned +Status: Closed
 [2010-09-10 04:53 UTC] aharvey@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 03:00:02 2026 UTC