/*
  public void generate(PhpWriter out)    throws IOException  {    /*    PhpProgram program = out.getProgram();    QuercusClass cl = program.findClass(_className);    AbstractFunction fun = null;    if (cl != null)      fun = cl.findFunction(_name);    if (fun != null) {      // XXX: check that the null value is okay            out.print("__quercus_class_" + _className + "." + _name + "(env, null");      try {	args = fun.bindArguments(null, null, _args);      } catch (IOException e) {	throw e;      } catch (Exception e) {	throw new IOException(e.toString());      }    }    else {    */    Expr []args = _args;    out.print("env.getClass(\"");    out.printJavaString(_className);    out.print("\").callMethod(env, ");    /*    if (isMethod())      out.print("q_this");    else    */    out.print("NullThisValue.NULL");    out.print(", \"");    out.printJavaString(_name);    out.print("\"");    if (args.length <= 5) {      // XXX: check variable args            for (int i = 0; i < args.length; i++) {	out.print(", ");      	args[i].generateArg(out);      }      out.print(")");    }    else {      out.print(", new Value[] {");      for (int i = 0; i < args.length; i++) {	if (i != 0)	  out.print(", ");      	args[i].generateArg(out);      }            out.print("})");    }  }