PHPのuploadprogress_get_info

これまた今更記事。
PHPファイルアップロード処理を眺めていると、

Now that PHP 5.2 supports a hook that can be used to handle upload progress, you can use a PECL extension (uploadprogress) to display an upload progress meter.

ってことで、拡張ながらも uploadprogress_get_info という関数(ファイルアップロード進捗を監視)が使えるらしいのだが、はてさてどうやって使えばいいものか。