[php-src] PR #18291: ext/standard: Implement list_filter()

From: Date: Wed, 09 Apr 2025 18:33:50 +0000
Subject: [php-src] PR #18291: ext/standard: Implement list_filter()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-31362@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18291 Author: jorgsowa There are a few array functions that return arrays, without the option to return a list, even when we pass lists to them. I would like to propose adding such functions to the core. One of them is list_filter() that is equivalent of array_filter(). I will prepare RFC later if the reception is positive. Next functions would be: - list_diff - list_merge - list_unique - list_intersect

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