Markus Fischer wrote: > On Fri, Dec 14, 2001 at 04:35:04PM +0900, Yasuo Ohgaki wrote : > >>- if (retval->type == IS_STRING) { >>+ convert_to_string_ex(&retval); >>+ if (retval->value.str.len) { >> > > Please always use Z_STRLEN_P and friends (even its just a > quick test, its a good idea to get used to it ;) > >
Thanks for your tips :) I appreciate your tip, it's very helpful. -- Yasuo Ohgaki _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]