<?php class A { public static function doStuff($var = false) { if($var) { return 'no'; } return $this->something; } } var_dump(A::doStuff(true)); var_dump(A::doStuff(false));
You have javascript disabled. You will not be able to edit any code.