While coding in PHP today I ran into a strange bug.
Turns out the operators „AND“ and „&“ dont have the same behavior
While both apparently work with boolean comparison, AND does not work as a bit operator.
While doing a short test, the result of AND returns a boolean while & returns an integer.
Need to look out for not doing that mistake again ^^“