Re: [PHP-DEV] Unicode progress [Was: unicode.semantics adinfinitum]

2008-05-24 Thread Johannes Schlüter
Steph, On Sat, 2008-05-24 at 20:37 +0100, Steph Fox wrote: > Heya Johannes, > > > For some functions taking binary strings is critical for working nicely > > with an automatic conversion in this case > > crc32(u"äöü") > > and > > crc32(b"äöü") > > would give completely different results depen

Re: [PHP-DEV] Unicode progress [Was: unicode.semantics adinfinitum]

2008-05-24 Thread Steph Fox
Heya Johannes, For some functions taking binary strings is critical for working nicely with an automatic conversion in this case crc32(u"äöü") and crc32(b"äöü") would give completely different results depending on the runtime encoding, Yes - but why should the user have to do the casting?

Re: [PHP-DEV] Unicode progress [Was: unicode.semantics ad infinitum]

2008-05-24 Thread Johannes Schlüter
Hi, On Sat, 2008-05-24 at 13:55 +0100, "Steph Fox" wrote: > Warning: crc32() expects parameter 1 to be strictly a binary string, Unicode > string given in ... > > Surely if a function's *expecting* a binary string it should do a silent > conversion, and only throw a warning if the conversion fa

Re: [PHP-DEV] Unicode progress [Was: unicode.semantics ad infinitum]

2008-05-24 Thread Steph Fox
Hi Andrei, I see where you're coming from over the (binary)|(string) issue, just trying to find some way that would preserve a little more back compatibility. UG(ascii_conv) is for the format string, not the arguments. The warning is thrown by this code: convert_to_string_ex(argv[curr

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-24 Thread Arvids Godjuks
Use XCache instead - it's simple, fast and stable. APC is far more complex and unstable (is't like code for code) 2008/5/23 Edward Z. Yang <[EMAIL PROTECTED]>: > I don't really care either way, but if it's a well known fact, might as > well stop trying. Does APC work on Windows? I recently submit

Re: [PHP-DEV] APC doesn't work on Windows?

2008-05-24 Thread Christian Hoffmann
On 2008-05-24 04:03, Edward Z. Yang wrote: Jared Williams wrote: I'm running php 5.2.5 NTS with APC 3.1.0-dev. It works, but not without some issues, like occasionally get a FastCGI process crashing which I suspect is APC. Hello Jared, Doesn't running APC under FastCGI kind of defeat the purp

Re: [PHP-DEV] magic quotes finale

2008-05-24 Thread Pierre Joye
On Sat, May 24, 2008 at 4:03 AM, Rasmus Lerdorf <[EMAIL PROTECTED]> wrote: > Right, I guess I wasn't absolutely explicit. There is no point in spewing > an E_DEPRECATED on get_magic_quotes_gpc(). Such warnings should be for > people actually using a deprecated feature, not for functions that che