Вопрос

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?

Это было полезно?

Решение

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.

Лицензировано под: CC-BY-SA с атрибуция
Не связан с StackOverflow
scroll top