php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #80878 array_key_exists is obsolete
Submitted: 2021-03-17 16:01 UTC Modified: 2021-03-28 04:22 UTC
From: regist70 at mail dot ru Assigned: cmb (profile)
Status: No Feedback Package: Documentation problem
PHP Version: 7.4.16 OS: win 7
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2021-03-17 16:01 UTC] regist70 at mail dot ru
Description:
------------
---
From manual page: https://php.net/function.array-key-exists
---

Plesae check php version that supports this function.
On my PHP 7.4.12 this gunction is called obsolete

Test script:
---------------
if( array_key_exists ( 'owner_id', [/*somearray*/] ) )
{
//
}


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2021-03-17 16:04 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-03-17 16:04 UTC] cmb@php.net
array_key_exists() is neither obsolete nor deprecated.  How do you
get the idea?
 [2021-03-28 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 08:01:28 2024 UTC