phongo_throw_exception(PHONGO_ERROR_UNEXPECTED_VALUE,"Detected unsupported PHP type for field path \"%s\": %d (%s)",path_string,Z_TYPE_P(entry),zend_get_type_by_const(Z_TYPE_P(entry)));
phongo_throw_exception(PHONGO_ERROR_UNEXPECTED_VALUE,"%s instance %s cannot be serialized as a root element",ZSTR_VAL(php_phongo_type_ce->name),ZSTR_VAL(Z_OBJCE_P(data)->name));