Hi Pierre, ----- Original Message ----- From: "Pierre" Sent: Tuesday, August 15, 2006
> Hello, > > On 8/15/06, Matt W wrote: > > Hi Pierre, > > > > I will go ahead and enter a Bug report for this in a bit ('cause there's > > definitely a bug), just so it's in the official place (preferred, I guess?) > > and doesn't keep going here on the list. :-) > > Please don't. I have no more ways or words to explain you what needs > to be done.... Please ask me if you still don't get it. I was actually thinking the same thing. ;-) Don't what, don't enter a Bug report? Sorry, I already had awhile before getting your reply (but you've probably seen it). I didn't know it was bad to record the bug there -- so anyone affected could find it easier, or it's noted in the PHP changelog, assuming it's eventually fixed. > > ----- Original Message ----- > > From: "Pierre" > > Sent: Monday, August 14, 2006 > > > > > Hello, > > > ... > > > I did not say it should be broken. All I said (and confirmed by > > > Andrei) is that we should first sit down and figure out what, how and > > > when we can/should change something. It seems to me as the sanest > > > attitude given the insane amount of senseless changes. > > > > > > There is no need to push a patch just to bring another entry to this > > > changelog. As I already suggested, we can work together on a proposal > > > and bring it to a conclusion. > > > Just to be sure, you are just talking about the array_count_values() > > function and not the is_numeric... stuff? > > No, I'm talking about __all__ cases :-). This function or the array > keys in general is only one issue, there is some more. But I've only been talking about this one specific array_count_values bug in this thread... As I've said, I haven't seen "some more" places where this specific behavior exists. > Which part of "We need to sit down and come up with a proposal?" did > you not understand? seriously? Nothing. :-) But the patch is all I know of, so that was my proposal. Maybe with the "sitting down," "if" to change this function would be the decision, but not "what" to change, as I only see 2 options: Do nothing; or fix the bug, which if there's a change, I'm pretty sure the behavior my patch provides will be the final result. I hope you guys DO see that there's a bug, and are simply wanting to be careful with changes. BTW, I think my Bug report (#38464) shows the problem well (I mean, better than my previous mails). I use this function to count words from text, and other than it being slower than it could with my patch, the leading spaces + numbers issue wouldn't really affect me (since I split on spaces), BUT after also realizing that a leading sign is also an issue, then it obviously could affect my code (if signs are allowed as part of a "word"), which is a problem, as the "word" characters have been modified. :-( Hmm, I haven't tried it, but I wonder if a userland foreach loop would be faster than using the function (and it would work correctly), unlike in PHP 4. > --Pierre Matt -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php