Prior to PHP 6, bytes are just characters. Writing a string is the same as writing an array of bytes. If these are decimal values โโof the ascii character, you can replace your $ msg ... bit as follows:
$msg.chr(14).chr(56).chr(255).chr(11).chr(7).chr(89).chr(152)
If you could explain what you are trying to do, it will be easier for us to provide a more useful answer, but in the meantime it will fulfill what you have described so far.
source share