how get UnsignedBytes in php? In java very easy: readUnsignedByte (Java)
+1
A:
There's no byte datatype in php, however, php character type is 8-bit, that is, you can use char/string type to store bytes. fgetc reads a character from input and ord returns a numeric byte value, given a character.
stereofrog
2010-04-12 10:10:14
A:
Php does not have a byte type. Maybe an alternative is to create a byte array to represent your byte value.
Hanseh
2010-04-12 10:12:03