Doc #71174 [Asn->Csd]: -
Edit report at https://bugs.php.net/bug.php?id=71174&edit=1
ID: 71174
Updated by: tpunt@php.net
Reported by: inpost at list dot ru
Summary: -
-Status: Assigned
+Status: Closed
Type: Documentation Problem
Package: Documentation problem
Operating System: win7
PHP Version: 7.0.1
Assigned To: tpunt
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2015-12-20 14:33:55] 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-20 14:31:31] 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 13:11:13] 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 13:10:00] 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:
--------------
-
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=71174&edit=1
Thread (4 messages)