I am having a bit of trouble figuring this one out, basically I have a string being created dynamically and passed through a couple functions, I want to add a “$” to the front of the string to make it a variable and then evaluate it as such with isset()…
Am I missing an obvious way to do this?
You are looking for variable variable:
Note that this is usually a frowned upon practice as in a larger code base, you’ll get headache later trying to figure out where
$bis coming from