Note that the functions do not behave equally, because
    xxx_strlcat does a plain strlen() whereas php_strlcat uses
    strnlen(), i.e. it always catches the n1 >= nMax situation,
    even in release mode.

    I'd prefer slow strl* functions, because they remind people of
    avoiding them altogether and use smarter functions.  Like
    those in php_smart_str.h, for example. :-)

    - Sascha                                     Experience IRCG
      http://schumann.cx/                http://schumann.cx/ircg


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

Reply via email to