Microsoft Word - Core PHP Programming Using PHP to Build Dynamic Web Sites

(singke) #1

Stig Bakken added the XML extension to PHP.


string utf8_decode(string data)


The utf8_decode function takes UTF-8 text and returns ISO-8859-1 text.


string utf8_encode(string data)


The utf8_encode function returns the data argument as UTF-8 text.


string xml_error_string(integer error)


The xml_error_string function returns the description for the given error code.


integer xml_get_current_byte_index(integer parser)


The xml_get_current_byte_index function returns the number of bytes parsed
so far.


integer xml_get_current_column_number(integer parser)

Free download pdf