<?php class Foo{ private function callme(){ echo "works"; } function asPrivate(){ return private $this; } } $foo = new Foo(); $foo->asPrivate()->callme(); // this should work
You have javascript disabled. You will not be able to edit any code.