On Fri, Dec 14, 2001 at 05:42:16PM +0900, Yasuo Ohgaki wrote : 
> 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.

    well, it guarantees to work in the future too.

-- 
Please always Cc to me when replying to me on the lists.

-- 
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]

Reply via email to