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"I always said sanity was overrated."
$the variable-indirection character (think
foowhich is a string.
foo === "foo"in PHP, even though in raw source code you'll probably get a warning. If those are enabled.
Poorly Hacked Perl
- From Reddit: Variable variables