Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_php thread: controlling bytes in PHP


Message #1 by Yi Zheng <Yi.Zheng@s...> on Sun, 1 Jul 2001 15:28:11 -0400
Hi Dear PHP experts,

I had a hard time looking for documents on how to control the byte layout of
a string. Say I want to generate a string whose first 2 bytes contain code
A, second 2 bytes contain code B, etc... where code A and B are some code
word of a coding scheme. PHP is not a strictly typed language, and I didn't
find the PHP equivalent for sizeof() in C/C++. Does anyone have good idea
about this? Thank you in advance.

Yi




  Return to Index