public function nons() { $str = 'blah'; self::$str(); self::stat(); parent::blah(); parent::func(null); parent::func($this); parent::func(null); parent::func($this); parent::callfunc(); self::fakemethod(1, 2, 3); self::fakemethod(); }
<?php function do_throw() { throw new Exception(); } class aa { function check() { } function dosome() { $this->check(do_throw()); } } $l_aa = new aa(); $l_aa->dosome();