- error_reporting: documentation ( source)
<?php
error_reporting(0);
class a
{
function static($n, $v = null)
{
if(!isset($$n))
{
eval("static $n;");
}
if(!is_null($v))
{
$$n = $v;
}
else return $$n;
}
var $a = 4;
function b() {
echo $this->a;
}
}
a::$a = 5;
a::b();