1

In Java :

     int num=1455269554
     BigInteger bigInt = new BigInteger(num.toString());
     byte[] bytes = bigInt.toByteArray();

will return as:

    86
    -67
    -90
    -78

Is there any similar function in PHP?

Pradhaban
  • 664
  • 2
  • 6
  • 22

0 Answers0