How to use unpack in PHP
In this article I will explain how unpack Function can be used in PHP.
unpack() Function
This function unpacks data from a binary string.
Syntax
Example
<html>
<body>
<?php
$data = "PHP";
print_r(unpack("C*",$data));
?>
</body>
</html> |
Output
You may also want to read these related articles Click here
Ask Your Question
Got a programming related question? You may want to post your question here
Programming Answers here