Skip to content

ext/intl: further fast ZPP usage. #14419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 1, 2024

Conversation

devnexen
Copy link
Member

@devnexen devnexen commented Jun 1, 2024

No description provided.

Copy link
Member

@Girgias Girgias left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Z_PARAM_OBJECT(object)
Z_PARAM_OPTIONAL
Z_PARAM_ZVAL(format)
Z_PARAM_STRING_OR_NULL(locale_str, locale_len)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does it possibly make more sense to use a zend_string here to be able to keep the const qualifier?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That is a possibility I may look after indeed.

@@ -82,8 +82,15 @@ U_CFUNC PHP_FUNCTION(datefmt_format_object)
RETURN_THROWS();
}

ZEND_PARSE_PARAMETERS_START(1, 3)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Forgot to remove the zend_parse_parameters in this function.

@devnexen devnexen force-pushed the ext_intl_fast_zpp_upd branch from c45d0e3 to e733191 Compare June 1, 2024 19:13
@devnexen devnexen merged commit bc6f333 into php:master Jun 1, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants