阅读背景:

Why does PHP have no length argument on functions which deal with binary data?

来源:互联网 

Why is it that functions that deal with binary data dont have length arguments? I come from a C background, so this is really confusing me. I thought that perhaps the string object holds the length, but that doesnt appear to be the case (correct me if im wrong). Two examples of functions that exhibit this behavior are base64_encode/decode and bin2hex.Why is it that functions that deal with binary




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: