php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #71174 -
Submitted: 2015-12-20 13:10 UTC Modified: 2015-12-22 15:30 UTC
From: inpost at list dot ru Assigned: tpunt (profile)
Status: Closed Package: Documentation problem
PHP Version: 7.0.1 OS: win7
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 this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: inpost at list dot ru
New email:
PHP Version: OS:

 

 [2015-12-20 13:10 UTC] inpost at list dot ru
Description:
------------
---
From manual page: http://www.php.net/function.key-exists
---

Deprecated, but no information about it on this page! Please, fix that!

Test script:
---------------
-

Expected result:
----------------
-

Actual result:
--------------
-

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-12-20 13:11 UTC] inpost at list dot ru
Quote from https://secure.php.net/manual/en/function.array-key-exists.php :
Note:
For backward compatibility, the following deprecated alias may be used: key_exists()
 [2015-12-20 14:28 UTC] tpunt@php.net
-Assigned To: +Assigned To: tpunt
 [2015-12-20 14:31 UTC] tpunt@php.net
Automatic comment from SVN on behalf of tpunt
Revision: http://svn.php.net/viewvc/?view=revision&revision=338334
Log: Resolve doc bug #71174
 [2015-12-20 14:33 UTC] tpunt@php.net
The key_exists() function has never been deprecated (according to its source code for PHP 5.2 and above, at least). There was a discussion some years ago about documenting it[1], where it was brought up that some aliases (including this one) were old, but since it was never formally deprecated, I've removed the deprecation warning from the array_key_exists() page. I will also delete the comment on the key_exists() page to remove any confusion about the function being deprecated.

Commit: https://svn.php.net/viewvc?view=revision&revision=338334

I'll leave this open for a few days for other docs members to see in case they have anything further to say on this.

[1]: http://grokbase.com/t/php/php-doc-bugs/1099axq7we/php-bug-doc-52806-new-key-exists-alias-of-array-key-exists-undocumented
 [2015-12-22 15:30 UTC] tpunt@php.net
-Status: Assigned +Status: Closed
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 22:01:30 2024 UTC