php / doc-es

Spanish translation of the PHP documentation
24 stars 55 forks source link

Inconsistency on character_mask vs characters for rtrim named parameters #67

Open baljeetsidhu opened 1 year ago

baljeetsidhu commented 1 year ago

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 commented 1 year ago

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.