filter_input_array(INPUT_GET)

Hi guys.

Merry Xmas.

I can not understand, what is going on.

My urlManager rules is (I can not attach links, so read h\t\tp\ as http):


'h\t\tp\://<geo:(od|kw)>.localhost/' => 'site/index',

I am extending my default SiteController (advanced installation package), from \frontend\components\VanController. Class VanController has some methods and set some configuration params for my application. In VanController I try to set configuration param:


\Yii::$app->params['geo']

This param is depending on the first part from rule of UrlManager: <geo:(od|kw)>

I try to dump $_GET - it returns the result that I am waiting for: array(1) { ["geo"]=> string(2) "od" }

BUT, when I try to:


var_dump(filter_input_array(INPUT_GET));

I get NULL.

I do not like to use $_GET, $_POST etc. variables.

So, I want to ask is it normal behaviour?