Skip to content
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

Inconsistency on character_mask vs characters for rtrim named parameters #67

Open
baljeetsidhu opened this issue Nov 2, 2023 · 1 comment

Comments

@baljeetsidhu
Copy link

From manual page: https://php.net/function.rtrim


Till php74, both character_mask and characters named parameter was supportted. Seem slike character_mask is dropped silently without any deprecation mentioing.

In php80, I am getting error Unknown named parameter $character_mask.

On English documentation page, its characters but Spanish version is still showing as character_mask.

@Girgias
Copy link
Member

Girgias commented Nov 2, 2023

PHP didn't support named parameters prior to PHP 8.0, so the argument about PHP 7.4 makes no sense.

This is a doc-es issue of the Spanish translations not being up to date. If you want to help them feel free to send PRs.

@Girgias Girgias transferred this issue from php/doc-en Nov 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants