message: add test cpp moudle array construct
diff: @@ -353,11 +353,19 @@ public:
  Array(zval *v) :
  Variant(v)
  {
  -
  + if(Z_TYPE_P(v)!=IS_ARRAY)
  + {
  + php_error_docref(NULL, E_ERROR, "cpp moudle array construct args must be zend array");
  + }
  }
  Array(Variant &v) :
  Variant()
  {
  + if(!v.isArray())
  + {
  + php_error_docref(NULL, E_ERROR, "cpp moudle array construct args must be zend array");
  + }
  +
  memcpy(&val, v.ptr(), sizeof(val));
  zval_add_ref(&val);
  }
  