Returns input variable
public get_input ( string $name, mixed $default, boolean $multibyte = false ) : mixed | ||
$name | string | Name of the input variable to obtain |
$default | mixed | A default value that is returned if the variable was not set. This function will always return a value of the same type as the default. |
$multibyte | boolean | If $default is a string this paramater has to be true if the variable may contain any UTF-8 characters Default is false, causing all bytes outside the ASCII range (0-127) to be replaced with question marks |
return | mixed | Value of the input variable |