Possible duplicate:
what does $$ mean in PHP?
I recently needed to make changes to the application and came across this $pageObject->createPageContent($$templateName);
The method looked like this:
function createPageContent($page_content_html) {
$this->page_content = $page_content_html;
}
My question is that when I deleted one character of the $ infront variable, I got a different result, as with double $$. Why is there one $ extra sign? What is the purpose for this?
source
share