Re: null character - file related function
| From: | Mark Charette | Date: | Mon, 06 Oct 2003 15:29:10 +0000 |
| Subject: | Re: null character - file related function | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-165188@lists.php.net to get a copy of this message | ||
On Mon, 6 Oct 2003, Martin Straka wrote:
>
> Is somewhere documented that everything after NULL (0x00 %00) character
> is ignored for example in functions include, fopen etc?
Interestingly, no, it's not documented in the manual (at least I couldn't
find any official documentation on NULL terminated strings as a definition
when I searched through the official docs). However, strings in PHP follow
the C convention of being NULL terminated.
Mark C.