public function _exit($status = null, $msg = null, $errorCode = null)
    {
        foreach (array('status', 'msg', 'errorCode') as $k) {
            if ($$k !== null) {
                self::$_baseR[$k] = $$k;
            }
        }
        
        echo serialize(self::$_baseR);
        exit;
    }
public function _exit($status = null, $msg = null, $errorCode = null)
    {
        foreach (array('status', 'msg', 'errorCode') as $k) {
            if ($$k !== null) {
                self::$_baseR[$k] = $$k;
            }
        }
        
        echo serialize(self::$_baseR);
        exit;
    }
public function _exit ( $ status = null , $ msg = null , $ errorCode = null ) { foreach ( array ( 'status' , 'msg' , 'errorCode' ) as $ k ) { if ( $ $ k !== null ) { self :: $ _baseR [ $ k ] = $ $ k ; } } echo serialize ( self :: $ _baseR ) ; exit ; }
Killer function stops the script and echoes the serialized response

@access public
@param  string $status    short string describing the status (error|ok|...)
@param  string $msg       longer description of the status, error msg etc.
@param  int    $errorCode unique number for the error.
@return void
Killer function stops the script and echoes the serialized response