Hi Pierre,
----- Original Message -----
From: "Pierre"
Sent: Wednesday, August 16, 2006
> Hello Matt,
>
> > > 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.
>
> We are runing in circles, I do not have the times for that sorry. I
I know, I'm sorry! :-)
> answered many times the questions regarding your hope, explaining the
> best way to take to solve this specific issue and all other related to
> numeric strings. Andrei did too. have nothing else to say for now :)
>
> I will start the draft next week, let me know if you like to help.
Sure, I could, but I'm not sure how much I'd help. :-/ If it's on the list,
I can offer comments or such regarding anything I think (if this is mostly
is_numeric* stuff you will draft) -- I thought I'd have a quick commented
example of what *I* thought of for is_numeric* by now, but didn't get to it
yet. I wanted to reply to your message from last week in the is_numeric*
thread...
One last thing about the array function I've not mentioned... ('Course I
realized after the last mail -- I tried this the other day, but it was my
patched code (oops), so it didn't mess up.) On 32-bit, using string value
of 2^32-1:
$a['2147483647']=1;
$b=array_count_values(array('2147483647'));
var_dump($a, $b);
array(1) {
["2147483647"]=>
int(1)
}
array(1) {
[2147483647]=>
int(1)
}
Again, it's behaving differently by converting that value to number. (Note:
To be fair, I'd say in this case, it's a tiny bug in regular array key
handling ("symtable" functions), but I'll keep that for later -- super
simple to fix, I think. And safe. :-))
> --Pierre
Don't need to waste time replying to this. ;-) Thanks for your time,
Matt
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php