#include <zend_API.h>
...
Pointer to the zval to return.
Create a copy of zv before returning it?
Destruct the original value before returning fromt he function, this is needed if zv was only temporarily created within the function.