setFlag.php
Table of Contents
Functions
- setFlag() : int
- Sets a specific flag in a bitmask.
Functions
setFlag()
Sets a specific flag in a bitmask.
setFlag(int $mask, int $flag) : int
Parameters
- $mask : int
-
The original bitmask.
- $flag : int
-
The flag to set.
Tags
Return values
int —The new bitmask with the flag set.