Home >Backend Development >PHP Tutorial >PHP extension summary // to be improved

PHP extension summary // to be improved

WBOY
WBOYOriginal
2016-07-29 09:13:371132browse

1. PHP’s iconv extension: an interface for handling character set conversion.
The system checks that the iconv extension installed contains the character encoding set: iconv -l
Functions included in the extension module:
iconv_get_encoding()//Get iconv internal configuration information
iconv_mime_decode_headers()//Decode multiple MIME headers
iconv_mime_decode()//Decode a MIME header
iconv_mime_encode()//Compress a MIME header
iconv_set_encoding()//Set the current settings for character encoding conversion
iconv_strlen()//Count the number of characters in a string
iconv_strpos()// Finds position of first occurrence of a needle within a haystack
iconv_strrpos()//Finds the last occurrence of a needle within a haystack
iconv_substr()//Intercept part of the string
iconv()//Convert string encoding
ob_iconv_handler()//Use the buffer handler to convert the string encoding

').addClass('pre-numbering').hide(); $(this).addClass('has-numbering').parent().append($numbering); for (i = 1; i ').text(i)); }; $numbering.fadeIn(1700); }); });

The above has introduced a summary of PHP extensions // to be improved, including aspects of content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Character sets in MySQLNext article:Character sets in MySQL