php / doc-es

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

preg_split: Spanish bad traslation #46

Closed damasosc closed 2 years ago

damasosc commented 2 years ago

From manual page: https://php.net/function.preg-split


English limit If specified, .... in the last substring. A limit of -1 or 0 means "no limit".

Spanish limit Si se especifica, ... el último substring. Si limit vale -1, 0 o null, significa "sin límite" y, como es un estándar en PHP, se puede usar null para saltar hacia el parámetro flags.

Shuld be removed "o null, " as null guives the error: preg_split(): Passing null to parameter #3 ($limit) of type int is deprecated