RE: [PHP] PHP6, UTF & strlen
| From: | Jay Blanchard | Date: | Mon, 28 Nov 2005 16:09:53 +0000 |
| Subject: | RE: [PHP] PHP6, UTF & strlen | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226546@lists.php.net to get a copy of this message | ||
[snip]
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?
[/snip]
PHP6?