> define(ROSTER_DIED,1);
According to the PHP Manual, your first argument must be a string. ie:
define('ROSTER_DIED', 1);
Then you can refer to it without the quotes (ie $this = ROSTER_DIED)
> if (defined(ROSTER_DIED))
This should also be a string ie: defined('ROSTER_DIED')