Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
By Lucideye on
Hello,
Drupal heavily relies on the php function array_key_exists(). This function is VERY slow compared to a simple "isset($array[$key])". See notes on http://php.net/array_key_exists
I really would recommend to change all occurences of array_key_exists($key, $array) to isset($array[$key]) to make Drupal even better by increasing its performance.
Thank you,
Alex