[php-src] PR #22831: Optimize array intersection functions for empty operands

From: Date: Mon, 20 Jul 2026 14:13:41 +0000
Subject: [php-src] PR #22831: Optimize array intersection functions for empty operands
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-37193@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/22831 Author: mehmetcansahin Avoid unnecessary iteration when an empty operand guarantees an empty result for array_intersect_key(), array_intersect_assoc(), and array_uintersect_assoc(). Includes regression tests covering validation and observable callback/warning behavior.

« previous php.git-pulls (#37193) next »