unsetFlag.php
Table of Contents
Functions
- unsetFlag() : int
- Unsets (removes) a specific flag from a bitmask.
Functions
unsetFlag()
Unsets (removes) a specific flag from a bitmask.
unsetFlag(int $mask, int $flag) : int
Parameters
- $mask : int
-
The original bitmask.
- $flag : int
-
The flag to remove.
Tags
Return values
int —The new bitmask with the flag removed.