PHP Code:
function varType(argsv[]) {
with (new TStaticVar()) {
/* public: */
this.varType = function () {
};
/* definitions */
if (this.varType != NULL)
this.varType();
return this;
}
}
This is a pretty bare-bones C++-style "class". The function I've defined is the constructor. Have fun, and maybe Inver will stop complaining. :P Also, argsv[] is just a placeholder (typically seen in C) for any sorts of parameters you'd want to pass to these "classes".