【问题标题】:convert hex codes to characters PHP将十六进制代码转换为字符 PHP
【发布时间】:2018-07-12 05:41:46
【问题描述】:

这里有一些例子: \x2f \x3f \x253d

有没有可以转换这些类型字符的 PHP 函数?我似乎找不到任何东西。 提前致谢!

【问题讨论】:

标签: php hex decode


【解决方案1】:

使用hexdec()。它应该涵盖您需要的内容。

Here's the link to the PHP manual on the subject

【讨论】:

    猜你喜欢
    • 2019-01-01
    • 1970-01-01
    • 2020-11-07
    • 2018-03-27
    • 1970-01-01
    • 2018-01-31
    • 2018-01-22
    • 2014-04-05
    相关资源
    最近更新 更多