ssh2_fetch_stream

PECL ssh2 >= 0.9.0
ssh2_fetch_stream - Fetch an extended data stream
Manual
Code Examples

Example #1 Opening a shell and retrieving the stderr stream associated with it

PHP Version: