Logo Search packages:      
Sourcecode: magpierss version File versions  Download package

MagpieRSS::php5_create_parser ( in_enc,

Instantiate an XML parser under PHP5

PHP5 will do a fine job of detecting input encoding if passed an empty string as the encoding.

All hail libxml2!

Definition at line 475 of file rss_parse.inc.

Referenced by create_parser().

        // by default php5 does a fine job of detecting input encodings
        if(!$detect && $in_enc) {
            return xml_parser_create($in_enc);
        else {
            return xml_parser_create('');

Here is the caller graph for this function:

Generated by  Doxygen 1.6.0   Back to index