Doc #80878 [Fbk->NoF]: array_key_exists is obsolete

From: Date: Sun, 28 Mar 2021 04:22:14 +0000
Subject: Doc #80878 [Fbk->NoF]: array_key_exists is obsolete
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18675@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80878&edit=1 ID: 80878 Updated by: php-bugs@lists.php.net Reported by: regist70 at mail dot ru Summary: array_key_exists is obsolete -Status: Feedback +Status: No Feedback Type: Documentation Problem Package: Documentation problem Operating System: win 7 PHP Version: 7.4.16 Assigned To: cmb Private report: N New Comment: 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. Previous Comments: ------------------------------------------------------------------------ [2021-03-17 16:04:59] cmb@php.net array_key_exists() is neither obsolete nor deprecated. How do you get the idea? ------------------------------------------------------------------------ [2021-03-17 16:01:10] 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*/] ) ) { // } ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=80878&edit=1

« previous php.doc.bugs (#18675) next »