Skip to content
Advertisement

Tag: variable-variables

PHP $_GET/$_POST via variable variables

I’m attempting to dynamically access both the $_GET and $_POST arrays, among others, using variable variables. The reason I’m trying to do this is so that I can perform similar actions on multiple arrays without needing to declare specific iterations for each. I’m reasonably sure this is possible, as PHP’s documentation says it is able to use variable variables to

Advertisement