PHP class
by webproger on 2020-02-09
class c {
var $v;
function c($i) {
$this->v = $i;
}
function f() {
echo $this->v;
}
}
$o = new c('o');
$o->f();
//o