How to find the string length in bytes?.....
i have a code like this
<?php str1 = "new"; echo strlen(str1); ?>
i want to find the length in bytes....
in ASCII character set every character is encoded in exactly one byte, so strlen gives a output in bytes...