I am learning php...

I need to pass a value from test.php to receiver.php in this way:

//test.php
window.location.href = "receiver.php?key=" + parameter;

What kind of value can the parameter be?

As I tested, it can be:

1. number
2. string

Please add other types, thanks.

.