永发信息网

php中的pack:type h:illegal hex digit x怎么解决

答案:2  悬赏:0  手机版
解决时间 2021-03-18 05:44
  • 提问者网友:玫瑰园
  • 2021-03-17 15:47
php中的pack:type h:illegal hex digit x怎么解决
最佳答案
  • 五星知识达人网友:渊鱼
  • 2021-03-17 15:53
The h format code specifies input as a hex string. It's hard to tell this from the error, but the -between the words digit and line is literally the character that is causing the error (i.e. it's not a separator in the message).
PHP Warning: pack(): Type h: illegal hex digit - line 37
^

In other words, your input is interpreted as a string containing the - character, which is not a legal hex digit (0123456789abcdef).
It's hard to give any specific advice on solving your problem without more information. At the very least, you need to review PHP's implementation of pack.
全部回答
  • 1楼网友:轻熟杀无赦
  • 2021-03-17 17:23
支持一下感觉挺不错的
我要举报
如以上回答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
点此我要举报以上问答信息
大家都在看
推荐资讯