Home > php教程 > php手册 > 转换数组的编码格式

转换数组的编码格式

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 19:35:40
Original
1213 people have browsed it

/* *转换数据格式编码 *参数分别是:原编码,输出编码格式,要转换的数组 *returnarray *author:www.e2003.net */ 无 /* * 转换数据格式编码 * 参数分别是:原编码,输出编码格式,要转换的数组 * return array * author:www.e2003.net */function array_icon

/*
 * 转换数据格式编码
 * 参数分别是:原编码,输出编码格式,要转换的数组
 * return array
 * author:www.e2003.net
 */
/*
 * 转换数据格式编码
 * 参数分别是:原编码,输出编码格式,要转换的数组
 * return array
 * author:www.e2003.net
 */
function array_iconv($in_charset,$out_charset,$array){
	return eval('return '.iconv($in_charset,$out_charset,var_export($array,true).';'));
}
Copy after login
Related labels:
source:php.cn
Statement of this Website
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
Latest Issues
Popular Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template