/** * Alias function for object analysis. * * Register an alias function for object analysis, * so you will not have to type \Krexx::open($data); * all the time. * * @param mixed $data * The variable we want to analyse. * @param string $handle * The developer handle. */ function krexx($data = null, $handle = '') { if (empty($handle)) { \Krexx::open($data); } else { \Krexx::$handle($data); } }