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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: regist70 at mail dot ru
New email:
PHP Version: OS:

 

 [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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Thu Jul 03 10:01:33 2025 UTC