Question

http://www.php.net/manual/en/wrappers.ssh2.php

One of the context options is callbacks but it doesn't have a description next to it. In fact it's the only context option that doesn't have a description next to it.

Any ideas?

Was it helpful?

Solution

Usually callbacks are user functions that can be called by api for errors, async IO and similar. Better definition here.

There's a codesnip here that uses them in this fashion.

Maybe more info here too.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top