silence some warnings at php E_ALL levels