> The humble tilde (~). I came across it the other day in some PHP code
> [code]~E_ERROR[/code]
>
> I'm curious, can't find any documentation on it. In math it refers to
> propostional logic, is it the same thing in PHP ?

~ $a    Not      Bits that are set in $a are not set, and vice versa.

http://hu.php.net/manual/en/language.operators.bitwise.php

greets,
Zoltán Németh

>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to