and exit * * @param mixed[] $output The variable (single/array) to print * * @return void Nothing */ function _log($output): void { echo '
'; var_dump($output); echo ''; die(); } //-------------------------------------// if (!function_exists('session')) { /** * Get / set the specified session value. * If key is an array, treat as a setter. * * @param string|array $key * @param mixed $default * * @return mixed */ function session($key = null, $default = null) { $session = "\App\Classes\Session"; if (is_null($key)) { return $session; } if (is_array($key)) { return $session::put($key); } return $session::get($key, $default); } }