PHP5 constructor
public __construct ( string $srcenc = null, string $mode = 'event', string $tgtenc = null ) | ||
$srcenc | string | source charset encoding, use NULL (default) to use whatever the document specifies |
$mode | string | how this parser object should work, "event" for startelement/endelement-type events, "func" to have it call functions named after elements |
$tgtenc | string | a valid target encoding |