http://php.net/manual/en/language.variables.variable.php This is the type of thing I might have invented if I was drunk