Add stubs for uploadprogress PECL extension
- https://pecl.php.net/package/uploadprogress - https://github.com/php/pecl-php-uploadprogress Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
This commit is contained in:
parent
7bbd0e2e92
commit
f546a3f740
|
@ -5454,6 +5454,8 @@ const FUNCTIONS = array (
|
|||
'uopz_unset_hook' => 'uopz/uopz.php',
|
||||
'uopz_unset_mock' => 'uopz/uopz.php',
|
||||
'uopz_unset_return' => 'uopz/uopz.php',
|
||||
'uploadprogress_get_contents' => 'uploadprogress/uploadprogress.php',
|
||||
'uploadprogress_get_info' => 'uploadprogress/uploadprogress.php',
|
||||
'urldecode' => 'standard/standard_2.php',
|
||||
'urlencode' => 'standard/standard_2.php',
|
||||
'use_soap_error_handler' => 'soap/soap.php',
|
||||
|
|
|
@ -142,6 +142,7 @@ class PhpCoreStubsProvider
|
|||
'svn',
|
||||
'sync',
|
||||
'uopz',
|
||||
'uploadprogress',
|
||||
'uuid',
|
||||
'uv',
|
||||
'winbinder',
|
||||
|
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
/**
|
||||
* Stubs for uploadprogress extension
|
||||
* @link https://pecl.php.net/package/uploadprogress
|
||||
*/
|
||||
|
||||
/**
|
||||
* @param string $identifier
|
||||
* @param string $fieldname
|
||||
* @param int $maxlen
|
||||
* @return string|null
|
||||
* @since PECL uploadprogress >= 0.9.0
|
||||
*/
|
||||
function uploadprogress_get_contents(string $identifier, string $fieldname, int $maxlen = -1): ?string {}
|
||||
|
||||
/**
|
||||
* @param string $identifier
|
||||
* @return array|null
|
||||
* @since PECL uploadprogress >= 0.3.0
|
||||
*/
|
||||
function uploadprogress_get_info(string $identifier): ?array {}
|
Loading…
Reference in New Issue