Bitwise complement (~)
Complement each bit of a single operand.
CKTIS / PHP
Programming syntax, operators and concepts. Find an explanation, explore an example and return to learning.
Complement each bit of a single operand.
Combine two flag sets while retaining every set bit.
Enable the flags selected by the right mask in the variable.
Find the positions where two masks differ in bit value.
Toggle the flags selected by the mask in the variable.
Build an identifier from a prefix and a number.
Build up a label in the same variable by appending the text on the right.
Choose one of two expressions according to the boolean value of the condition.
Subtract one from an integer counter.
Divide the total cost by the number of units to get a unit price.
Divide the current batch size by a factor and replace it with the quotient.
Test whether two values are equal under PHP’s conversion rules. A numeric string can match a number despite leading zeros.
Suppress ordinary diagnostics generated while evaluating an expression.
Raise a base to an exponent to calculate geometric growth.
Replace a variable by a power of its current value.
Check whether an order reaches the minimum quantity. The result is true even when the quantity exactly equals the minimum.
Signal a limit overrun when the left value is greater than the right. A value exactly at the limit does not trigger the alarm.
Add one to an integer counter.
The condition is true when the values compare unequal after loose comparison. A difference in type alone cannot identify a changed product code.
Test whether an object belongs to a class or one of its subclasses, or implements an interface.
Move a bit field toward more significant positions.
Store the left-shifted bits to make room for another field.
Accept a load whose weight does not exceed capacity. A load exactly at capacity satisfies the condition.
Check a list index against its element count. With zero-based indexing an index equal to the length is already past the last element.