message: PHP_API: add new api with no args.
diff: @@ -698,6 +698,12 @@ Variant call(const char *func, Array &args)
  Variant _func(func);
  return _call(NULL, _func.ptr(), args);
  }
  +Variant exec(const char *func)
  +{
  + Variant _func(func);
  + Array args;
  + return _call(NULL, _func.ptr(), args);
  +}
  /*generator*/
  Variant exec(const char *func, Variant v1)
  {
  @@ -1106,6 +1112,12 @@ public:
  Variant _func(func);
  return _call(ptr(), _func.ptr());
  }
  + Variant exec(const char *func)
  + {
  + Variant _func(func);
  + Array args;
  + return _call(ptr(), _func.ptr(), args);
  + }
  /*generator*/
  Variant exec(const char *func, Variant v1)
  {
  @@ -2037,6 +2049,26 @@ Variant newResource(const char *name, T *v)
  return Variant(res);
  }
  +Object newObject(const char *name)
  +{
  + Object object;
  + zend_class_entry *ce = getClassEntry(name);
  + if (ce == NULL)
  + {
  + php_error_docref(NULL, E_WARNING, "class '%s' is undefined.", name);
  + return object;
  + }
  + zval zobject;
  + if (object_init_ex(&zobject, ce) == FAILURE)
  + {
  + return object;
  + }
  + object = Object(&zobject);
  + Array args;
  + object.call("__construct", args);
  + return object;
  +}
  +
  /*generator*/
  Object newObject(const char *name, Variant v1)
  {
  