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