Programming style in example.
Trigger E_USER_DEPRECATED.
Typo.
Throw an exception on invalid mode.