/ Published in: PHP
Expand |
Embed | Plain Text
function byteCode($data) { $hexArray = str_split($hex, 2); foreach($hexArray as $byteCode) { $return .= '\x'.$byteCode; } return $return; }
You need to login to post a comment.
ishkur on 07/22/08
1 person have marked this snippet as a favorite
function byteCode($data) { $hexArray = str_split($hex, 2); foreach($hexArray as $byteCode) { $return .= '\x'.$byteCode; } return $return; }
You need to login to post a comment.