Bitwise Negation
 
~
$n=~7 returns the bitwise NOT of its operand, in this case ~7 = –8.
The following operators are numeric and require numeric operands:
+, -, *, /, &, ^, |, <<, >>, %, ~, ++, and ––
Related Topics
Est-ce que cela a été utile ?