Previous Entry Share Next Entry
From Reddit: Variable variables
duskwuff wrote in fuckphp
A bare word is a PHP string. Let that sink for a second, because we'll come back to it later: $foo really is the concatenation of $ the variable-indirection character (think *foo) and foo which is a string. foo === "foo" in PHP, even though in raw source code you'll probably get a warning. If those are enabled.
"I always said sanity was overrated."


Log in