Probably is trivial: sorry... this is the space for newbies
I want to define a class and a local function able to display/use the name of the istance
class Myclass {
function nameDisplayer() {
echo $xxxxx;
}
$newIstance = new Myclass;
$newIstance->nameDisplayer();
$xxxxx is the name of the istance
result is expected to be :
newIstance