php / doc-es

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

Inconsistency on character_mask vs characters for rtrim named parameters #67

Open baljeetsidhu opened 12 months ago

baljeetsidhu commented 12 months 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 12 months 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.