Re: null character - file related function
| From: | Mark Charette | Date: | Mon, 06 Oct 2003 15:46:05 +0000 |
| Subject: | Re: null character - file related function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165192@lists.php.net to get a copy of this message | ||
On 6 Oct 2003, Robert Cummings wrote:
>
> Strings in PHP are binary safe and thus do not rely on null temrination.
You are, of course, right (just a brainfart on my part ...).
There are a number of functions that depend on null termination of
strings; handing a string with embedded nulls in it to those functions may
result in "interesting" things happening ....
Mark C.