[php-src] PR #14254: Use `zend_call_known_function()` to call `#[\SensitiveParameter]`’s constructor

From: Date: Thu, 16 May 2024 18:45:03 +0000
Subject: [php-src] PR #14254: Use `zend_call_known_function()` to call `#[\SensitiveParameter]`’s constructor
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-26188@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/14254 Author: TimWolla zend_call_method_with_1_params() causes needless overhead, due to the capability of looking up the function by name. It’s also very rarely used (only in ext/spl). zend_call_known_function() is the standard methodology to call a known function and going through Z_OBJCE_P() avoids the repeated hardcoding of the CE name.

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