php/doc-en

Small issues with mb_convert_* documentation

Aperta

#1308 aperta il 7 gen 2022

 (0 commenti) (0 reazioni) (0 assegnatari)XML (882 fork)auto 404
Extension: mbstringenhancementgood first issue

Metriche repository

Star
 (596 stelle)
Metriche merge PR
 (Merge medio 99g 23h) (90 PR mergiate in 30 g)

Descrizione

  1. mb_convert_encoding()

to_encoding and from_encoding mentions "type of coding" and "character code" while it should be just "encoding" or "character encoding". It might be confusing.

  1. mb_convert_variables()

from_encoding mentions non-existing from-coding label. Also, the argument description could be written better. Last, but not least, in "When from_encoding is omitted, detect_order is used.", how it can be omitted if the argument type is array|string? I think it could be clarified.

Guida contributor