I've come across some unusual PHP code in a system that I have inherited.
To simplify it, the code reads:
$test_array['first_element'] = 1 | 2;
$test_array['second_element'] = 3 & 1;
and continues like this for a few lines.
I cant seem to find anything in the PHP manual that corresponds to this type of operator. I would appreciate even a link to an article or some documentation that explains the outcome of this code.