stream_notification_callback(No version information available, might be only in CVS) stream_notification_callback — A callback function for the notification context paramater Описание
void stream_notification_callback
( int $notification_code
, int $severity
, string $message
, int $message_code
, int $bytes_transferred
, int $bytes_max
)
A callback function called during an event.
Список параметров
Возвращаемые значенияЭта функция не возвращает значения после выполнения. Примеры
Пример #1 stream_notification_callback() example
<?phpРезультатом выполнения данного примера будет что-то подобное:
Пример #2 Simple progressbar for commandline download client
<?phpExecuting the example above with: php -n fetch.php http://no2.php.net/get/php-5-LATEST.tar.bz2/from/this/mirror php-latest.tar.bz2 will output something similar too:
|
|
|
| © 2009 Тест скорости интернета | Boont.Ru |