We used to tell our friends that
PHP unpack function definition
Unzip the bit string data.
Grammar:
String Pack (string format, mixed [args] ...);
return value:
Array
PHP Unpack function types:
Data processing
PHP Unpack Function Content description
This function is used to decompress the data of a bit string. This function is identical to Perl's function function with the same name. The parameter format is compressed.
PHP Unpack Function Example 1
- < ? PHP
- $ Data "PHP";
- Print_r (Unpack ("c*", $data));
- ?>
Output:
- Array
- (
- [1] =>
- [2] =>
- [3] =>
- )
http://www.bkjia.com/PHPjc/446032.html www.bkjia.com true http://www.bkjia.com/PHPjc/446032.html techarticle we have introduced to our friends the PHP unpack function to define the extracted bit string data. Syntax: string Pack (string format, mixed [args] ...); Return value: Array PHP unpack function type ...