title: Alternative function for toByteArray() in php
body: <p>In Java :</p>
  
  <pre><code>     int num=1455269554
       BigInteger bigInt = new BigInteger(num.toString());
       byte[] bytes = bigInt.toByteArray();
  </code></pre>
  
  <p>will return as:</p>
  
  <pre><code>    86
      -67
      -90
      -78
  </code></pre>
  
  <p>Is there any similar function in PHP?</p>