@ NUL-fill to absolute position 例子1. pack() example <?php$binarydata = pack("nvc*", 0x1234, 0x5678, 65, 66);?> The resulting binary string will be 6 bytes long and contain the byte sequence 0x12, 0x34, 0x78, 0x56, 0x41, 0x42. Note that the distinction between signed an...
www.dbjr.com.cn/shouce/php5/zh/function... 2025-4-27