This would make perfect sense with constant strings and constant length, when using variables this may lead to some magic bugs, which would be normally reported as E_WARNING. Not sure if it's a good idea :(
Jan Dolecek juzna...@gmail.com On Mon, Aug 1, 2011 at 7:40 AM, Laruence <larue...@php.net> wrote: > Hi everyone: > > plz vote for this : "strn(case)cmp supporting a negative length as > its third paramter" > > RFC: https://wiki.php.net/rfc/strncmpnegativelen#vote > > if you have any objection, plz write back. > > thanks > > -- > Laruence Xinchen Hui > http://www.laruence.com/ > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php