On Tue, 8 Jun 2004, Alexander Valyalkin wrote:

> Today I checked stripslashes() function.
> My version of the function if faster, more clearer and bugs free (I hope
> :))

You'll have to proof that by writing testcases, for example try it with
the test cases in the current source and write new ones for things that
we don't have a test case for yet.

> -PHPAPI void php_stripslashes(char *str, int *len TSRMLS_DC)
> +PHPAPI void php_stripslashes(char *str, size_t *len TSRMLS_DC)

You can't just change the API call, that will break things.


regards,
Derick

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

Reply via email to