String to Byte array in PHP
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/885597/string-to-byte-array-in-php">String to byte array in php</a>  </p>
</blockquote>



<p>how do I convert the string to byte array in PHP. I am basically looking for PHP equivalent of the below C# code.</p>

<p>byte[] notificationMessage = new byte[] {};</p>
