[php-src] PR #18496: Cleanup php_posix_passwd_to_array()

From: Date: Sun, 04 May 2025 17:23:45 +0000
Subject: [php-src] PR #18496: Cleanup php_posix_passwd_to_array()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-31614@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/18496 Author: nielsdos This function can be static, and the error checks are pointless: 1. It's guaranteed that the return value is an array by now, as it is always preceded by array_init(return_value). 2. The null check for pw is pointless as every callee already handles that in a better way.

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