Menu
Heya folks, Im trying to build a stream of Hex values for a socket.
This works fine for example..
[CODE]$packet1 = “x32”;
If you echo $packet1 you would get “2”.
But now the following…
[CODE]$packet2 = ‘x32’;
Note the use of single quotes insted of double.
Now if you echo $packet2 you get “x32”, how would I go about typecasting $packet2 to be like $packet1?