Dumbledore always says some strange things in the films though. I don't know if he said this in the book (can't remember it anyway). In the film he says
I was like 'wwhhhaaaaat?'
Also, in one of the other films he randomly starts talking about the curtains hanging on Harry's bed