Hi, On 2/11/07, Andy Mason <[EMAIL PROTECTED]> wrote:
Is the filter_var function automagically removing the \0 ?
Not magically, it is normal and expected. You can keep these kind of values using one of the encode flags, like: $a= filter_var("abc\0\r\n", FILTER_SANITIZE_STRING, FILTER_FLAG_ENCODE_LOW)); --Pierre -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php