1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

Convert more zend_parse_parameters_none() to fast ZPP (#21330)

This commit is contained in:
Alexandre Daubois
2026-03-04 14:07:46 +01:00
committed by GitHub
parent 471ae15312
commit 11a95749b1
34 changed files with 80 additions and 240 deletions

View File

@@ -646,9 +646,7 @@ PHP_FUNCTION(sapi_windows_cp_get)
/* {{{ Indicates whether the codepage is UTF-8 compatible. */
PHP_FUNCTION(sapi_windows_cp_is_utf8)
{
if (zend_parse_parameters_none() == FAILURE) {
RETURN_THROWS();
}
ZEND_PARSE_PARAMETERS_NONE();
RETURN_BOOL(php_win32_cp_use_unicode());
}