Skip to content

ext/standard: Make str_ends_with frameless - #23510

Open
LamentXU123 wants to merge 1 commit into
php:masterfrom
LamentXU123:opt---
Open

ext/standard: Make str_ends_with frameless#23510
LamentXU123 wants to merge 1 commit into
php:masterfrom
LamentXU123:opt---

Conversation

@LamentXU123

Copy link
Copy Markdown
Member

Since str_starts_with is frameless, str_ends_with also should be frameless.

/** @compile-time-eval */
/**
* @compile-time-eval
* @frameless-function {"arity": 2}

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Any reason why not all "compile-time-eval" functions are not frameless?

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