Skip to content

Conversation

@kamil-tekiela
Copy link
Member

Please correct me if I am wrong, but this method is not used internally within PHP. If any extension wants to use it they can still use pcre_get_compiled_regex as it does the same thing.

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.

Indeed looking at https://sourcegraph.com/search?q=context:global+pcre_get_compiled_regex_ex+-file:ext/pcre/php_pcre.c+-file:ext/pcre/php_pcre.h&patternType=standard&sm=1&groupBy=repo no one seems to be using this. Maybe just add an entry in UPGRADING.INTERNALS just to be sure.

@kamil-tekiela kamil-tekiela force-pushed the pcre_get_compiled_regex_ex branch from ff426a6 to e0f8c70 Compare January 18, 2023 14:28
@kamil-tekiela kamil-tekiela merged commit fa1e3f9 into php:master Jan 18, 2023
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.

2 participants