Skip to content

Instantly share code, notes, and snippets.

@clarkeash
Last active September 20, 2016 14:31
Show Gist options
  • Save clarkeash/42d9030050a85c24d548 to your computer and use it in GitHub Desktop.
Save clarkeash/42d9030050a85c24d548 to your computer and use it in GitHub Desktop.
<?php
class This {
protected $this;
public function __construct ()
{
$this->this = $this;
}
public function this ()
{
return $this->this->this->this->hi();
}
public function hi() {
{
return 'hello';
}
}
echo (new This())->this();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment