function define($k, $v) { if (defined($k)) { runkit_constant_redefine($k, $v); } else { runkit_constant_add($k, $v); } }