1
$arr = array(235,14,123,10);

How can i convert php byte array to int value. I have searched lot in stackoverflow, there is no solution.

4
  • in c# is possible using Bitconverter to int Commented Oct 23, 2013 at 5:39
  • See this link , will solve your problem How to convert byte array to integer in php or See this PHP mannual PHP Manual, Pack data into binary string Commented Oct 23, 2013 at 5:54
  • thanks its working now i got the solution Commented Oct 23, 2013 at 6:32
  • OK, if it helps you, then Accept this answer. Thanks Commented Oct 23, 2013 at 6:37

0

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.