<?php class first { public function getI() { static $a = null; if ($a = null) { $a = new stdClass(); } return $a; } } $f = new first(); $n = $f->getI(); var_export($n); var_export($a);
You have javascript disabled. You will not be able to edit any code.