Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-18 Thread Zeev Suraski
At 03:02 18/02/2006, Marcus Boerger wrote: the point is not being able to treat them differently. The point is being able to distinguish them so the right operation is called. Erm sorry, but it's exactly the same :) Zeev -- PHP Internals - PHP Runtime Development Mailing List To unsubscri

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Marcus Boerger
Hello Zeev and hello Sara Saturday, February 18, 2006, 1:04:20 AM, you wrote: > At 01:24 18/02/2006, Marcus Boerger wrote: >>Actually Sara only asked whether she could add a flag to some handlers. >>That has nothing to with anything you started to discuss from there. > Uhm, Sara asked whether sh

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Zeev Suraski
At 01:24 18/02/2006, Marcus Boerger wrote: Actually Sara only asked whether she could add a flag to some handlers. That has nothing to with anything you started to discuss from there. Uhm, Sara asked whether she could add a flag to a specific operator to facilitate a certain behavior, namely,

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Marcus Boerger
Hello Zeev, Friday, February 17, 2006, 12:09:26 PM, you wrote: > At 11:55 17/02/2006, Stefan Walk wrote: >>On 16/02/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: >> > In languages where operator overloading is supported, it comes hand >> > in hand with strict typing, which wouldn't allow for differ

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Zeev Suraski
Interesting stuff! Exactly the kind of stuff that's worrying me. I think you found a conceptual bug in zend_hash_compare(), I think it's worth fixing. Zeev At 14:59 17/02/2006, Jakub Vrana wrote: Sara Golemon wrote: > Yes, and that's the problem. $a > $b *isn't* read by the current parse

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Jochem Maas
Jakub Vrana wrote: Sara Golemon wrote: with thanks to Sara! - because (not for the first time) your post allowed me to learn/understand some new stuff. (Sara seems to have a knack for explaining stuff in a way that dummies can [also] understand it - that a good thing[tm]!) Yes, and that's t

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Zeev Suraski
At 11:55 17/02/2006, Stefan Walk wrote: On 16/02/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > In languages where operator overloading is supported, it comes hand > in hand with strict typing, which wouldn't allow for different values > for x>y and y > Zeev That's not true, Ruby for example has

Re: [PHP-DEV] Re: Minor engine patch to facilitate PECL/operator

2006-02-17 Thread Stefan Walk
On 16/02/06, Zeev Suraski <[EMAIL PROTECTED]> wrote: > In languages where operator overloading is supported, it comes hand > in hand with strict typing, which wouldn't allow for different values > for x>y and y > Zeev That's not true, Ruby for example has operator overloading, and has no problems