Re: Can someone tell me what a tilde means ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux