RE: [PHP] PHP6, UTF strlen

2005-11-28 Thread Jay Blanchard
[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? -- PHP General Mailing

Re: [PHP] PHP6, UTF strlen

2005-11-28 Thread Richard Davey
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

Re: [PHP] PHP6, UTF strlen

2005-11-28 Thread Jochem Maas
Jared Williams wrote: 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? that

RE: [PHP] PHP6, UTF strlen

2005-11-28 Thread Jared Williams
Jared Williams wrote: 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? that