php/doc-en

xml_parser_create(_ns)() encoding param description is incorrect

Aperta

#1825 aperta il 13 set 2022

 (3 commenti) (0 reazioni) (0 assegnatari)XML (882 fork)auto 404
Extension: libxmlStatus: Verifiedbuggood first issue

Metriche repository

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

Descrizione

The input encoding is only detected if the value passed is an empty string. If the encoding is null then the default encoding is used.

This behaviour dates from at least PHP 5.3. See source code:

Guida contributor