pro_php thread: controlling bytes in PHP
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
|





