Uploadprogress extension with PHP7 support
| From: | Jan Ehrhardt | Date: | Sun, 15 Mar 2015 22:52:38 +0000 |
| Subject: | Uploadprogress extension with PHP7 support | ||
| Groups: | php.pecl.dev | ||
| Request: | Send a blank email to pecl-dev+get-12672@lists.php.net to get a copy of this message | ||
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