Hello Jasper,

Saturday, October 29, 2005, 11:34:52 PM, you wrote:

> On Sat, 2005-10-29 at 14:07 -0700, Sara Golemon wrote:
>> >> Evaluating an idea based on it's syntactic similarities to other
>> >> languages is complete and utter nonsense. It has nothing to with being
>> >> like language Xyz. It has to do with familiarity to language constructs.
>> >> One already understands the idea of 'this || that'. It's certainly
>> > 
>> > I'll throw the water on this one:
>> > 
>> > <?php
>> > $c = 0;
>> > $a = 1;
>> > var_dump($c || $a);
>> > ?>
>> > 
>> > Changing true into false consitutes a rather severe BC break :).
>> > 
>> How about |||  and |||= ?
>> 

> How about ~ and ~= ? Shorter to type.

> I know that in logic it can mean NOT, but I think nearly all PHP
> programmers would know that ! serves that purpose in PHP.

And guess what we have that ~ operator already: php -r 'var_dump(~0);'
RTFM :-)

Best regards,
 Marcus

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to