JW>>    /* rearranged */
JW>>    if ((p->h == h) && (p->nKeyLength == nKeyLength)
JW>>            && ((nKeyLength == 0) || (!memcmp(p->arKey, arKey, 
nKeyLength))))

This doesn't seem to be good - there's still a case when p->nKeyLength != 
nKeyLength but the match should happen - when p is 15 (integer) and 
incoming key is "15" (string). 

-- 
Stanislav Malyshev, Zend Products Engineer
[EMAIL PROTECTED]  http://www.zend.com/ +972-3-6139665 ext.115

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to