Hi Jared,

Monday, November 28, 2005, 4:04:29 PM, you wrote:

>         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?

If $data is UTF8 already, shouldn't you really be using mb_strlen? In
which case, I'd expect it to function exactly the same in PHP6.

Cheers,

Rich
-- 
Zend Certified Engineer
PHP Development Services
http://www.corephp.co.uk

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to