Skip to content

Instantly share code, notes, and snippets.

@Herzult
Created February 22, 2011 12:37
Show Gist options
  • Save Herzult/838606 to your computer and use it in GitHub Desktop.
Save Herzult/838606 to your computer and use it in GitHub Desktop.
No comment...
<?php
class Test
{
public function whatTheFuck()
{
${'thi' . 's'} = 'tata';
var_dump($this);
var_dump($this->getThis());
}
public function getThis()
{
return $this;
}
}
$t = new Test();
$t->whatTheFuck();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment