- "break" should be indented the same as the three lines above of it
- having the "default" case here seems to circumvent that the script reaches the other cases (below the default case)
And to be nit-picky:
"$var=>$val" in Message.php should get two spaces