See https://github.com/php/pecl-php-uploadprogress now
PHP Uploadprogress extension with PHP7 support