- var_dump: documentation ( source)
<?php
//con sttaic no va
class P {
public $az = '';
static $a=8;
function __get($var) {
echo 'BBBB';
return $this->$var;
}
function __isset($var) {
echo 'AAAAA';
return true;
}
}
$P=new P;
var_dump($P->$az);