I have a snippet of code, thus:
$match |= in_array($type, $types);
but I am unfamiliar with the |= expression and have been unable to find it in the PHP manuals.
I have a snippet of code, thus:
$match |= in_array($type, $types);
but I am unfamiliar with the |= expression and have been unable to find it in the PHP manuals.
I have a snippet of code, thus:
$match |= in_array($type, $types);
but I am unfamiliar with the |= expression and have been unable to find it in the PHP manuals.
I'm not getting enough practice these days. I found it as a bitwise or operator. Thanks anyway.
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.