[php-src] PR #14477: Fix parameter numbers and missing alpha check for imagecolorset()

From: Date: Wed, 05 Jun 2024 07:02:00 +0000
Subject: [php-src] PR #14477: Fix parameter numbers and missing alpha check for imagecolorset()
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26540@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14477 Author: thg2k This PR addresses two issues: 1) The parameter number reference is wrong 2) The check for the alpha parameter was lost during the PHP 8.0 refactoring (commit 50765075db6b6d5a9597589601c59f743f6ee9c8) probably due to some copy-paste action. I'm targeting master due to the additional check in the alpha parameter, as it is not a bug strictly speaking, I wouldn't like to break code that relies on this loose behavior on a patch release. I'm available to retarget a lower branch or even split this into two PRs: one for fixing the parameter indexes (that is a bug), and one for adding the missing check (targeting master), just let me know.

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