pub fn set_array<T: TryInto<ZBox<ZendHashTable>, Error = Error>>(
        &mut self,
        val: T,
    ) -> Result<()> {
        self.set_hashtable(val.try_into()?);
        Ok(())
    }
Sets the value of the zval as an array. Returns nothing in a result on
success.

# Parameters

* `val` - The value to set the zval as.

# Errors

* Returns an error if the conversion to a hashtable fails.
src/types/zval.rs