Please create a Stream Filter context on zstd.* that can be used with the stream_filter_append and stream_filter_prepend Stream Functions.
This would bring the Zstd extension in parity with the current Zlib extension.
Reference: zlib_filter.c
Related Tickets: