PHP6, UTF & strlen
| From: | Jared Williams | Date: | Mon, 28 Nov 2005 16:04:29 +0000 |
| Subject: | PHP6, UTF & strlen | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226545@lists.php.net to get a copy of this message | ||
Hi,
Just been looking over some code, and saw
if (strlen($data) !== file_put_contents($filename, $data))
....
where $data is UTF8, so wondering if this is going to break in PHP6, if so what should be the
equivalent code?
Jared