How to parse link by PHP

We have link which we get for example by AJAX, and we want to its query values and insert them into $_MY_BOX array:

If we have for example such link: https://mysite.com/?aa=1&bb=2&cc=3, so print_r($_MY_BOX) will give us: