Req #76148 [Opn->Csd]: Add array_key_exists() to the list of specialy compiled functions

From: Date: Wed, 29 Jan 2020 15:55:44 +0000
Subject: Req #76148 [Opn->Csd]: Add array_key_exists() to the list of specialy compiled functions
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-225222@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=76148&edit=1 ID: 76148 Updated by: nikic@php.net Reported by: nicolas dot grekas+php at gmail dot com Summary: Add array_key_exists() to the list of specialy compiled functions -Status: Open +Status: Closed Type: Feature/Change Request Package: Scripting Engine problem PHP Version: master-Git-2018-03-26 (Git) -Assigned To: +Assigned To: nikic Block user comment: N Private report: N Previous Comments: ------------------------------------------------------------------------ [2020-01-29 15:49:50] love at sickpeople dot se This and the related bug can be closed now as of PHP 7.4. ------------------------------------------------------------------------ [2018-08-23 00:50:31] carusogabriel@php.net Related To: Bug #71239 ------------------------------------------------------------------------ [2018-08-08 15:07:06] nicolas dot grekas+php at gmail dot com Implemented in https://github.com/php/php-src/pull/3360 ------------------------------------------------------------------------ [2018-03-26 07:54:41] nicolas dot grekas+php at gmail dot com Similar to https://bugs.php.net/71239 ------------------------------------------------------------------------ [2018-03-26 07:22:00] nicolas dot grekas+php at gmail dot com Description: ------------ zend_compile.c (zend_try_compile_special_func() in https://github.com/php/php-src/blob/master/Zend/zend_compile.c) turns come function calls into direct opcode operations. It would be great to add array_key_exists() to the list, because this function is used quite often in tight loops, for its ability to check nulled values in arrays (contrary to isset()). ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=76148&edit=1

« previous php.bugs (#225222) next »