Tricks with bit masks for php errors.