Re: Can someone tell me what a tilde means ?
| From: | Németh Zoltán | Date: | Tue, 08 Apr 2008 11:45:12 +0000 |
| Subject: | Re: Can someone tell me what a tilde means ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-272694@lists.php.net to get a copy of this message | ||
> 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
>
>