phasync
UnbufferedStream / detach

Method

UnbufferedStream::detach

Separates any underlying resources from the stream.

Description#

public UnbufferedStream::detach()

After the stream has been detached, the stream is in an unusable state.

Return values#

Underlying PHP stream, if any