PHP hex2bin()函数用法实例

2019-02-2519:35:21后端程序开发Comments2,035 views字数 156阅读模式

PHP hex2bin() 函数文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

实例文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

把十六进制值转换为 ASCII 字符:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

<?php 
echo hex2bin("48656c6c6f20576f726c6421"); 
?>

以上实例输出结果:文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

Hello World!文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

定义和用法文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

hex2bin()函数把十六进制值的字符串转换为 ASCII 字符。文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

语法文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

hex2bin( _string_ )

PHP hex2bin()函数用法实例文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

PHP hex2bin()函数用法实例文章源自菜鸟学院-https://www.cainiaoxueyuan.com/bc/9694.html

  • 本站内容整理自互联网,仅提供信息存储空间服务,以方便学习之用。如对文章、图片、字体等版权有疑问,请在下方留言,管理员看到后,将第一时间进行处理。
  • 转载请务必保留本文链接:https://www.cainiaoxueyuan.com/bc/9694.html

Comment

匿名网友 填写信息

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定