I saw this code
if (is_null($$textVarName)) { $$textVarName = $_defaultTexts[$type]; }
what is code "$$" ?
It's evil is what it is.
That will take the value that's in $textVarName and use that as a variable name. For example:
$textVarName
$foo = 'hello'; $hello = 'The Output'; echo $$foo; // displays "The Output"
2.1m questions
2.1m answers
60 comments
57.0k users