and exit * * @param mixed[] $output The variable (single/array) to print * @param bool $die Call die(); after printing * * @return void Nothing */ function _log($output, bool $die = true): void { echo '
';
	var_dump($output);
	echo '
'; if ($die) { 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); } }