PHP hebrev() 函数
2017-08-06 PHP hebrev() 函数 PHP String 函数 实例 反向显示希伯来字符: ?phpecho hebrev(? ???? ?????);? 定义和用法 hebrev() 函数把希伯来文本从右至左的流转换为左至右的流。 提示: hebrev() 和 hebrevc() 可以
PHP get_html_translation_table() 函数
2017-08-06 PHP get_html_translation_table() 函数 PHP String 函数 实例 输出 htmlspecialchars 函数使用的翻译表: ?phpprint_r (get_html_translation_table()); // HTML_SPECIALCHARS 为默认 ? 运行实例 定义和用法 get_html_translat
PHP fprintf() 函数
2017-08-06 PHP fprintf() 函数 PHP String 函数 实例 把文本写入名为 test.txt 的文本文件: ?php$number = 9;$str = Beijing;$file = fopen(test.txt,w);echo fprintf($file,There are %u million bicycles in %s.,$number,$str);? 以上代码的输
PHP explode() 函数
2017-08-06 PHP explode() 函数 PHP String 函数 实例 把字符串打散为数组: ?php$str = Hello world. I love Shanghai!;print_r (explode( ,$str));? 运行实例 定义和用法 explode() 函数把字符串打散为数组。 注释: separato
PHP echo() 函数
2017-08-06 PHP echo() 函数 PHP String 函数 实例 输出文本: ?phpecho Hello world!;? 运行实例 定义和用法 echo() 函数输出一个或多个字符串。 注释: echo() 函数实际不是一个函数,所以您不必对它使用括号
PHP crypt() 函数
2017-08-06 PHP crypt() 函数 PHP String 函数 定义和用法 crypt() 函数返回使用 DES、Blowfish 或 MD5 算法加密的字符串。 在不同的操作系统上,该函数的行为不同,某些操作系统支持一种以上的算法类型。
PHP crc32() 函数
2017-08-06 PHP crc32() 函数 PHP String 函数 实例 输出 crc32() 的结果: ?php$str = crc32(Shanghai);printf(%un,$str);? 运行实例 定义和用法 crc32() 函数计算字符串的 32 位 CRC(循环冗余校验)。 该函数可用于验证
PHP count_chars() 函数
2017-08-06 PHP count_chars() 函数 PHP String 函数 实例 返回一个字符串,包含所有在 Hello World! 中使用过的不同字符(模式 3): ?php$str = Hello World!;echo count_chars($str,3);? 运行实例 定义和用法 count_chars(
PHP convert_uuencode() 函数
2017-08-06 PHP convert_uuencode() 函数 PHP String 函数 实例 编码字符串: ?php$str = Hello world!;echo convert_uuencode($str);? 运行实例 定义和用法 convert_uuencode() 函数使用 uuencode 算法对字符串进行编码。 注释:
PHP convert_uudecode() 函数
2017-08-06 PHP convert_uudecode() 函数 PHP String 函数 实例 对 uuencode 编码的字符串进行解码: ?php$str = ,25L;@=V]R;0A `;echo convert_uudecode($str);? 运行实例 定义和用法 convert_uudecode() 函数对 uuencode 编码的字符