I added PHP7 support to the uploadprogress extension:
https://github.com/Jan-E/uploadprogress

Most important commit:
https://github.com/Jan-E/uploadprogress/commit/50d4a16be3fcf4ef8909f4a4785d1416c4de81fe
Look for the changes with '#if defined(ZEND_ENGINE_3)'.

Under VC11 x86 it only issues one warning.
warning C4715: 'uploadprogress_php_rfc1867_file' : not all control paths
        return a value

I tested it on Windows with php7 x86 TS loaded as mod_php and the
results were:

|Upload succeeded, it took 10.09 seconds. 
|You had 3 updates from the progress meter, looks like it's working fine

If anybody has further adjustments, please create a pull request.

Jan

-- 
PECL development discussion Mailing List (http://pecl.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to