Question: I do one request and my URL has a parameter like this `.../index.php?customer=abc`

In `index.php`'s class `$_GET['customer']` is available. 

There are multiple other classes being created then.

Finally in `somefile.php` containing some different class `someClass`, `$_GET['customer']` is no more available.

I am forced to use a framework that uses a form that `eval()`s PHP code on button click.

`new TDynButton($body, "login", ... , "\$this->win->doLogin();");`

In`doLogin()` there is no `$_GET['customer']`. Cannot understand why. Is it possible if this framework uses `action=GET` in the background that I am losing my `$_GET`? Im totally lost.

Thanks.

Answer: 
My approach would be to give the information in $\_GET['customer'] to the instatiated object by passing it in the constructor and store it in a private member. This way you have the information needed and no direct access to $\_GET is nessessary. This is anyway a better design I think.
Yes, $\_GET is a superglobal variable that is available in all PHP scripts.

And yes, generally, framework convert/sanitaze the GET/POST arrays and clears them.