Re: [PHP] String termination

2002-04-11 Thread Andrey Hristov
the zval struct in PHP is multifunctional and its string branch has length member. Much of the operations on string are with *_STRINGL() L comes from length. It is preferable php function to use the length instead of *_STRING macros which looks throug the string to find its end. Andrey - Or

RE: [PHP] String termination

2002-04-11 Thread Martin Towell
I think that all chars (\0 to \255) are valid chars in php, from the looks of it, php maintains the strings length, or something, so that you can have \0 in the string Martin -Original Message- From: Marco Laponder [mailto:[EMAIL PROTECTED]] Sent: Friday, April 12, 2002 4:50 PM To: 'Php