array_shift : Only variables should be passed by reference error in php

I got an error:
Strict Standards: Only variables should be passed by reference

 $string =  array_shift(array_keys($_REQUEST));

How can I correct that ?


Source: php

Leave a Reply