Stuff
public text v1 · immutable<?php
class A
{
// member declaration
var $var = 'a default value';
// method declaration
function displayVar() {
echo "123", $this->var;
}
}
//A::displayVar(); /*I want this*/
$A = new A(); /*and not like this */
$A->displayVar();
?>