<?php class x { function y() { return new x; } } $x = new x; var_dump($x->y()->y());
You have javascript disabled. You will not be able to edit any code.