Update to 8rc2 and align parameter names
This commit is contained in:
parent
618c3f39e6
commit
adf9095c54
|
@ -1,4 +1,4 @@
|
|||
FROM php:8.0.0rc1-alpine
|
||||
FROM php:8.0.0RC2-alpine
|
||||
RUN echo 'memory_limit = 256M' >> /usr/local/etc/php/conf.d/docker-php-memlimit.ini
|
||||
COPY --from=composer /usr/bin/composer /usr/bin/composer
|
||||
|
||||
|
@ -43,4 +43,4 @@ RUN docker-php-ext-install ldap bz2 mysqli bcmath calendar dba exif gettext opca
|
|||
#RUN pecl install gnupg
|
||||
#RUN docker-php-ext-enable gnupg
|
||||
#RUN pecl install uopz
|
||||
#RUN docker-php-ext-enable uopz
|
||||
#RUN docker-php-ext-enable uopz
|
||||
|
|
|
@ -1488,6 +1488,7 @@ const FUNCTIONS = array (
|
|||
'com_message_pump' => 'com_dotnet/com_dotnet.php',
|
||||
'com_print_typeinfo' => 'com_dotnet/com_dotnet.php',
|
||||
'compact' => 'standard/standard_8.php',
|
||||
'config_get_hash' => 'xdebug/xdebug.php',
|
||||
'confirm_pdo_ibm_compiled' => 'pdo_ibm/pdo_ibm.php',
|
||||
'connection_aborted' => 'standard/standard_4.php',
|
||||
'connection_status' => 'standard/standard_4.php',
|
||||
|
@ -5374,6 +5375,7 @@ const FUNCTIONS = array (
|
|||
'xdebug_get_profiler_filename' => 'xdebug/xdebug.php',
|
||||
'xdebug_get_stack_depth' => 'xdebug/xdebug.php',
|
||||
'xdebug_get_tracefile_name' => 'xdebug/xdebug.php',
|
||||
'xdebug_info' => 'xdebug/xdebug.php',
|
||||
'xdebug_is_debugger_active' => 'xdebug/xdebug.php',
|
||||
'xdebug_is_enabled' => 'xdebug/xdebug.php',
|
||||
'xdebug_memory_usage' => 'xdebug/xdebug.php',
|
||||
|
|
|
@ -44,7 +44,7 @@ function spl_autoload_extensions ($file_extensions = null) {}
|
|||
/**
|
||||
* Register given function as __autoload() implementation
|
||||
* @link https://php.net/manual/en/function.spl-autoload-register.php
|
||||
* @param callback $autoload_function [optional] <p>
|
||||
* @param callback $callback [optional] <p>
|
||||
* The autoload function being registered.
|
||||
* If no parameter is provided, then the default implementation of
|
||||
* spl_autoload will be registered.
|
||||
|
@ -57,18 +57,18 @@ function spl_autoload_extensions ($file_extensions = null) {}
|
|||
* @throws TypeError Since 8.0.
|
||||
* @since 5.1.2
|
||||
*/
|
||||
function spl_autoload_register ($autoload_function = null, $throw = true, $prepend = false) {}
|
||||
function spl_autoload_register ($callback = null, $throw = true, $prepend = false) {}
|
||||
|
||||
/**
|
||||
* Unregister given function as __autoload() implementation
|
||||
* @link https://php.net/manual/en/function.spl-autoload-unregister.php
|
||||
* @param mixed $autoload_function <p>
|
||||
* @param mixed $callback <p>
|
||||
* The autoload function being unregistered.
|
||||
* </p>
|
||||
* @return bool true on success or false on failure.
|
||||
* @since 5.1.2
|
||||
*/
|
||||
function spl_autoload_unregister ($autoload_function) {}
|
||||
function spl_autoload_unregister ($callback) {}
|
||||
|
||||
/**
|
||||
* Return all registered __autoload() functions
|
||||
|
@ -136,12 +136,12 @@ function spl_object_hash ($object) {}
|
|||
* @param Traversable $iterator <p>
|
||||
* The iterator being copied.
|
||||
* </p>
|
||||
* @param bool $use_keys [optional] <p>
|
||||
* @param bool $preserve_keys [optional] <p>
|
||||
* Whether to use the iterator element keys as index.
|
||||
* </p>
|
||||
* @return array An array containing the elements of the iterator.
|
||||
*/
|
||||
function iterator_to_array (Traversable $iterator, $use_keys = true) {}
|
||||
function iterator_to_array (Traversable $iterator, $preserve_keys = true) {}
|
||||
|
||||
/**
|
||||
* Count the elements in an iterator
|
||||
|
@ -159,7 +159,7 @@ function iterator_count (Traversable $iterator) {}
|
|||
* @param Traversable $iterator <p>
|
||||
* The class to iterate over.
|
||||
* </p>
|
||||
* @param callback $function <p>
|
||||
* @param callback $callback <p>
|
||||
* The callback function to call on every element.
|
||||
* The function must return true in order to
|
||||
* continue iterating over the iterator.
|
||||
|
@ -169,7 +169,7 @@ function iterator_count (Traversable $iterator) {}
|
|||
* </p>
|
||||
* @return int the iteration count.
|
||||
*/
|
||||
function iterator_apply (Traversable $iterator, $function, array $args = null) {}
|
||||
function iterator_apply (Traversable $iterator, $callback, array $args = null) {}
|
||||
|
||||
// End of SPL v.0.2
|
||||
|
||||
|
|
|
@ -4,20 +4,20 @@
|
|||
* (PHP 5 >= 5.5.5, PECL ZendOpcache >= 7.0.2 )<br/>
|
||||
* Compiles and caches a PHP script without executing it
|
||||
* @link https://secure.php.net/manual/en/function.opcache-compile-file.php
|
||||
* @param string $file The path to the PHP script to be compiled.
|
||||
* @param string $filename The path to the PHP script to be compiled.
|
||||
* @return bool
|
||||
* Returns <b>TRUE</b> if the opcode cache for <em>script</em> was
|
||||
* invalidated or if there was nothing to invalidate, or <b>FALSE</b> if the opcode
|
||||
* cache is disabled.
|
||||
* @since 5.5
|
||||
*/
|
||||
function opcache_compile_file($file) { }
|
||||
function opcache_compile_file($filename) { }
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.5.0, PECL ZendOpcache >= 7.0.0 )<br/>
|
||||
* Invalidates a cached script
|
||||
* @link https://secure.php.net/manual/en/function.opcache-invalidate.php
|
||||
* @param string $script <p>The path to the script being invalidated.</p>
|
||||
* @param string $filename <p>The path to the script being invalidated.</p>
|
||||
* @param bool $force [optional] <p> If set to <b>TRUE</b>, the script will be invalidated regardless of whether invalidation is necessary.</p>
|
||||
* @return bool
|
||||
* Returns <b>TRUE</b> if the opcode cache for <em>script</em> was
|
||||
|
@ -25,7 +25,7 @@ function opcache_compile_file($file) { }
|
|||
* cache is disabled.
|
||||
* @since 5.5
|
||||
*/
|
||||
function opcache_invalidate($script, $force = false) { }
|
||||
function opcache_invalidate($filename, $force = false) { }
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.5.0, PECL ZendOpcache >= 7.0.0 )<br/>
|
||||
|
@ -40,11 +40,11 @@ function opcache_reset() { }
|
|||
* (PHP 5 >= 5.5.5, PECL ZendOpcache >= 7.0.2 )<br/>
|
||||
* Get status information about the cache
|
||||
* @link https://php.net/manual/en/function.opcache-get-status.php
|
||||
* @param bool $fetch_scripts <p>Include script specific state information</p>
|
||||
* @param bool $include_scripts <p>Include script specific state information</p>
|
||||
* @return array <p>Returns an array of information, optionally containing script specific state information</p>
|
||||
* @since 5.5
|
||||
*/
|
||||
function opcache_get_status ($fetch_scripts = true) {}
|
||||
function opcache_get_status ($include_scripts = true) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.5.5, PECL ZendOpcache >= 7.0.2 )<br/>
|
||||
|
@ -60,8 +60,8 @@ function opcache_get_configuration() {}
|
|||
* This function checks if a PHP script has been cached in OPCache.
|
||||
* This can be used to more easily detect the "warming" of the cache for a particular script.
|
||||
* @link https://secure.php.net/manual/en/function.opcache-is-script-cached.php
|
||||
* @param string $script The path to the PHP script to be checked.
|
||||
* @param string $filename The path to the PHP script to be checked.
|
||||
* @return bool Returns TRUE if file is cached in OPCache, FALSE otherwise.
|
||||
* @since 5.6
|
||||
*/
|
||||
function opcache_is_script_cached($script) {}
|
||||
function opcache_is_script_cached($filename) {}
|
||||
|
|
18
bz2/bz2.php
18
bz2/bz2.php
|
@ -39,7 +39,7 @@ function bzread ($bz, $length = 1024) {}
|
|||
* The file pointer. It must be valid and must point to a file
|
||||
* successfully opened by <b>bzopen</b>.
|
||||
* </p>
|
||||
* @param string $str <p>
|
||||
* @param string $data <p>
|
||||
* The written data.
|
||||
* </p>
|
||||
* @param int $length [optional] <p>
|
||||
|
@ -49,7 +49,7 @@ function bzread ($bz, $length = 1024) {}
|
|||
* </p>
|
||||
* @return int the number of bytes written, or <b>FALSE</b> on error.
|
||||
*/
|
||||
function bzwrite ($bz, $str, $length = null) {}
|
||||
function bzwrite ($bz, $data, $length = null) {}
|
||||
|
||||
/**
|
||||
* Force a write of all buffered data
|
||||
|
@ -111,15 +111,15 @@ function bzerror ($bz) {}
|
|||
/**
|
||||
* Compress a string into bzip2 encoded data
|
||||
* @link https://php.net/manual/en/function.bzcompress.php
|
||||
* @param string $source <p>
|
||||
* @param string $data <p>
|
||||
* The string to compress.
|
||||
* </p>
|
||||
* @param int $blocksize [optional] <p>
|
||||
* @param int $block_size [optional] <p>
|
||||
* Specifies the blocksize used during compression and should be a number
|
||||
* from 1 to 9 with 9 giving the best compression, but using more
|
||||
* resources to do so.
|
||||
* </p>
|
||||
* @param int $workfactor [optional] <p>
|
||||
* @param int $work_factor [optional] <p>
|
||||
* Controls how the compression phase behaves when presented with worst
|
||||
* case, highly repetitive, input data. The value can be between 0 and
|
||||
* 250 with 0 being a special case.
|
||||
|
@ -130,15 +130,15 @@ function bzerror ($bz) {}
|
|||
* </p>
|
||||
* @return mixed The compressed string, or an error number if an error occurred.
|
||||
*/
|
||||
function bzcompress ($source, $blocksize = 4, $workfactor = 0) {}
|
||||
function bzcompress ($data, $block_size = 4, $work_factor = 0) {}
|
||||
|
||||
/**
|
||||
* Decompresses bzip2 encoded data
|
||||
* @link https://php.net/manual/en/function.bzdecompress.php
|
||||
* @param string $source <p>
|
||||
* @param string $data <p>
|
||||
* The string to decompress.
|
||||
* </p>
|
||||
* @param int $small [optional] <p>
|
||||
* @param int $use_less_memory [optional] <p>
|
||||
* If <b>TRUE</b>, an alternative decompression algorithm will be used which
|
||||
* uses less memory (the maximum memory requirement drops to around 2300K)
|
||||
* but works at roughly half the speed.
|
||||
|
@ -149,4 +149,4 @@ function bzcompress ($source, $blocksize = 4, $workfactor = 0) {}
|
|||
* </p>
|
||||
* @return mixed The decompressed string, or an error number if an error occurred.
|
||||
*/
|
||||
function bzdecompress ($source, $small = 0) {}
|
||||
function bzdecompress ($data, $use_less_memory = 0) {}
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
/**
|
||||
* Converts Julian Day Count to Gregorian date
|
||||
* @link https://php.net/manual/en/function.jdtogregorian.php
|
||||
* @param int $juliandaycount <p>
|
||||
* @param int $julian_day <p>
|
||||
* A julian day number as integer
|
||||
* </p>
|
||||
* @return string The gregorian date as a string in the form "month/day/year"
|
||||
*/
|
||||
function jdtogregorian ($juliandaycount) {}
|
||||
function jdtogregorian ($julian_day) {}
|
||||
|
||||
/**
|
||||
* Converts a Gregorian date to Julian Day Count
|
||||
|
@ -31,12 +31,12 @@ function gregoriantojd ($month, $day, $year) {}
|
|||
/**
|
||||
* Converts a Julian Day Count to a Julian Calendar Date
|
||||
* @link https://php.net/manual/en/function.jdtojulian.php
|
||||
* @param int $juliandaycount <p>
|
||||
* @param int $julian_day <p>
|
||||
* A julian day number as integer
|
||||
* </p>
|
||||
* @return string The julian date as a string in the form "month/day/year"
|
||||
*/
|
||||
function jdtojulian ($juliandaycount) {}
|
||||
function jdtojulian ($julian_day) {}
|
||||
|
||||
/**
|
||||
* Converts a Julian Calendar date to Julian Day Count
|
||||
|
@ -57,13 +57,13 @@ function juliantojd ($month, $day, $year) {}
|
|||
/**
|
||||
* Converts a Julian day count to a Jewish calendar date
|
||||
* @link https://php.net/manual/en/function.jdtojewish.php
|
||||
* @param int $juliandaycount
|
||||
* @param int $julian_day
|
||||
* @param bool $hebrew [optional] <p>
|
||||
* If the <i>hebrew</i> parameter is set to <b>TRUE</b>, the
|
||||
* <i>fl</i> parameter is used for Hebrew, string based,
|
||||
* output format.
|
||||
* </p>
|
||||
* @param int $fl [optional] <p>
|
||||
* @param int $flags [optional] <p>
|
||||
* The available formats are:
|
||||
* <b>CAL_JEWISH_ADD_ALAFIM_GERESH</b>,
|
||||
* <b>CAL_JEWISH_ADD_ALAFIM</b>,
|
||||
|
@ -71,7 +71,7 @@ function juliantojd ($month, $day, $year) {}
|
|||
* </p>
|
||||
* @return string The jewish date as a string in the form "month/day/year"
|
||||
*/
|
||||
function jdtojewish ($juliandaycount, $hebrew = false, $fl = 0) {}
|
||||
function jdtojewish ($julian_day, $hebrew = false, $flags = 0) {}
|
||||
|
||||
/**
|
||||
* Converts a date in the Jewish Calendar to Julian Day Count
|
||||
|
@ -92,10 +92,10 @@ function jewishtojd ($month, $day, $year) {}
|
|||
/**
|
||||
* Converts a Julian Day Count to the French Republican Calendar
|
||||
* @link https://php.net/manual/en/function.jdtofrench.php
|
||||
* @param int $juliandaycount
|
||||
* @param int $julian_day
|
||||
* @return string The french revolution date as a string in the form "month/day/year"
|
||||
*/
|
||||
function jdtofrench ($juliandaycount) {}
|
||||
function jdtofrench ($julian_day) {}
|
||||
|
||||
/**
|
||||
* Converts a date from the French Republican Calendar to a Julian Day Count
|
||||
|
@ -116,7 +116,7 @@ function frenchtojd ($month, $day, $year) {}
|
|||
/**
|
||||
* Returns the day of the week
|
||||
* @link https://php.net/manual/en/function.jddayofweek.php
|
||||
* @param int $juliandaycount <p>
|
||||
* @param int $julian_day <p>
|
||||
* A julian day number as integer
|
||||
* </p>
|
||||
* @param int $mode [optional] <table>
|
||||
|
@ -148,16 +148,16 @@ function frenchtojd ($month, $day, $year) {}
|
|||
* </table>
|
||||
* @return mixed The gregorian weekday as either an integer or string.
|
||||
*/
|
||||
function jddayofweek ($juliandaycount, $mode = CAL_DOW_DAYNO) {}
|
||||
function jddayofweek ($julian_day, $mode = CAL_DOW_DAYNO) {}
|
||||
|
||||
/**
|
||||
* Returns a month name
|
||||
* @link https://php.net/manual/en/function.jdmonthname.php
|
||||
* @param int $juliandaycount
|
||||
* @param int $julian_day
|
||||
* @param int $mode
|
||||
* @return string The month name for the given Julian Day and <i>calendar</i>.
|
||||
*/
|
||||
function jdmonthname ($juliandaycount, $mode) {}
|
||||
function jdmonthname ($julian_day, $mode) {}
|
||||
|
||||
/**
|
||||
* Get Unix timestamp for midnight on Easter of a given year
|
||||
|
@ -165,10 +165,10 @@ function jdmonthname ($juliandaycount, $mode) {}
|
|||
* @param int $year [optional] <p>
|
||||
* The year as a number between 1970 an 2037
|
||||
* </p>
|
||||
* @param int $method [optional] Allows Easter dates to be calculated based on the Julian calendar when set to CAL_EASTER_ALWAYS_JULIAN
|
||||
* @param int $mode [optional] Allows Easter dates to be calculated based on the Julian calendar when set to CAL_EASTER_ALWAYS_JULIAN
|
||||
* @return int The easter date as a unix timestamp.
|
||||
*/
|
||||
function easter_date ($year = null, $method = CAL_EASTER_DEFAULT) {}
|
||||
function easter_date ($year = null, $mode = CAL_EASTER_DEFAULT) {}
|
||||
|
||||
/**
|
||||
* Get number of days after March 21 on which Easter falls for a given year
|
||||
|
@ -176,7 +176,7 @@ function easter_date ($year = null, $method = CAL_EASTER_DEFAULT) {}
|
|||
* @param int $year [optional] <p>
|
||||
* The year as a positive number
|
||||
* </p>
|
||||
* @param int $method [optional] <p>
|
||||
* @param int $mode [optional] <p>
|
||||
* Allows to calculate easter dates based
|
||||
* on the Gregorian calendar during the years 1582 - 1752 when set to
|
||||
* <b>CAL_EASTER_ROMAN</b>. See the calendar constants for more valid
|
||||
|
@ -185,7 +185,7 @@ function easter_date ($year = null, $method = CAL_EASTER_DEFAULT) {}
|
|||
* @return int The number of days after March 21st that the Easter Sunday
|
||||
* is in the given <i>year</i>.
|
||||
*/
|
||||
function easter_days ($year = null, $method = CAL_EASTER_DEFAULT) {}
|
||||
function easter_days ($year = null, $mode = CAL_EASTER_DEFAULT) {}
|
||||
|
||||
/**
|
||||
* Convert Unix timestamp to Julian Day
|
||||
|
@ -200,12 +200,12 @@ function unixtojd ($timestamp = 0) {}
|
|||
/**
|
||||
* Convert Julian Day to Unix timestamp
|
||||
* @link https://php.net/manual/en/function.jdtounix.php
|
||||
* @param int $jday <p>
|
||||
* @param int $julian_day <p>
|
||||
* A julian day number between 2440588 and 2465342.
|
||||
* </p>
|
||||
* @return int The unix timestamp for the start of the given julian day.
|
||||
*/
|
||||
function jdtounix ($jday) {}
|
||||
function jdtounix ($julian_day) {}
|
||||
|
||||
/**
|
||||
* Converts from a supported calendar to Julian Day Count
|
||||
|
@ -236,7 +236,7 @@ function cal_to_jd ($calendar, $month, $day, $year) {}
|
|||
/**
|
||||
* Converts from Julian Day Count to a supported calendar
|
||||
* @link https://php.net/manual/en/function.cal-from-jd.php
|
||||
* @param int $jd <p>
|
||||
* @param int $julian_day <p>
|
||||
* Julian day as integer
|
||||
* </p>
|
||||
* @param int $calendar <p>
|
||||
|
@ -246,7 +246,7 @@ function cal_to_jd ($calendar, $month, $day, $year) {}
|
|||
* day of week, abbreviated and full names of weekday and month and the
|
||||
* date in string form "month/day/year".
|
||||
*/
|
||||
function cal_from_jd ($jd, $calendar) {}
|
||||
function cal_from_jd ($julian_day, $calendar) {}
|
||||
|
||||
/**
|
||||
* Return the number of days in a month for a given year and calendar
|
||||
|
|
|
@ -1266,7 +1266,7 @@ function date_interval_format ($object, $format) {}
|
|||
* timezone_identifier isn't valid, or true
|
||||
* otherwise.
|
||||
*/
|
||||
function date_default_timezone_set ($timezoneID) {}
|
||||
function date_default_timezone_set ($timezoneId) {}
|
||||
|
||||
/**
|
||||
* Gets the default timezone used by all date/time functions in a script
|
||||
|
|
52
dba/dba.php
52
dba/dba.php
|
@ -110,16 +110,16 @@
|
|||
* false: the second call returns false.
|
||||
* illegal: you must not mix "l" and "d" modifiers for <i>mode</i> parameter.
|
||||
* </p>
|
||||
* @param string $handlername [optional] <p>
|
||||
* @param string $handler [optional] <p>
|
||||
* The name of the handler which
|
||||
* shall be used for accessing <i>path</i>. It is passed
|
||||
* all optional parameters given to <b>dba_open</b> and
|
||||
* can act on behalf of them.
|
||||
* </p>
|
||||
* @param mixed ...$handler_parameters [optional]
|
||||
* @param mixed ...$handler_params [optional]
|
||||
* @return resource|false a positive handle on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_open ($path, $mode, $handlername = null, ...$handler_parameters) {}
|
||||
function dba_open ($path, $mode, $handler = null, ...$handler_params) {}
|
||||
|
||||
/**
|
||||
* Open database persistently
|
||||
|
@ -133,27 +133,27 @@ function dba_open ($path, $mode, $handlername = null, ...$handler_parameters) {}
|
|||
* for read/write access and database creation if it doesn't currently exist,
|
||||
* and n for create, truncate and read/write access.
|
||||
* </p>
|
||||
* @param string $handlername [optional] <p>
|
||||
* @param string $handler [optional] <p>
|
||||
* The name of the handler which
|
||||
* shall be used for accessing <i>path</i>. It is passed
|
||||
* all optional parameters given to <b>dba_popen</b> and
|
||||
* can act on behalf of them.
|
||||
* </p>
|
||||
* @param mixed ...$handler_parameters [optional]
|
||||
* @param mixed ...$handler_params [optional]
|
||||
* @return resource|false a positive handle on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_popen ($path, $mode, $handlername = null, ...$handler_parameters) {}
|
||||
function dba_popen ($path, $mode, $handler = null, ...$handler_params) {}
|
||||
|
||||
/**
|
||||
* Close a DBA database
|
||||
* @link https://php.net/manual/en/function.dba-close.php
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return void No value is returned.
|
||||
*/
|
||||
function dba_close ($handle) {}
|
||||
function dba_close ($dba) {}
|
||||
|
||||
/**
|
||||
* Delete DBA entry specified by key
|
||||
|
@ -161,13 +161,13 @@ function dba_close ($handle) {}
|
|||
* @param string $key <p>
|
||||
* The key of the entry which is deleted.
|
||||
* </p>
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_delete ($key, $handle) {}
|
||||
function dba_delete ($key, $dba) {}
|
||||
|
||||
/**
|
||||
* Check whether key exists
|
||||
|
@ -175,13 +175,13 @@ function dba_delete ($key, $handle) {}
|
|||
* @param string $key <p>
|
||||
* The key the check is performed for.
|
||||
* </p>
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> if the key exists, <b>FALSE</b> otherwise.
|
||||
*/
|
||||
function dba_exists ($key, $handle) {}
|
||||
function dba_exists ($key, $dba) {}
|
||||
|
||||
/**
|
||||
* Fetch data specified by key
|
||||
|
@ -215,14 +215,14 @@ function dba_fetch ($key, $handle) {}
|
|||
* <b>dba_key_split</b>.
|
||||
* </p>
|
||||
* @param int $skip The number of key-value pairs to ignore when using cdb databases. This value is ignored for all other databases which do not support multiple keys with the same name.
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return string|false the associated string if the key/data pair is found, <b>FALSE</b>
|
||||
* otherwise.
|
||||
*/
|
||||
function dba_fetch ($key, $skip, $handle) {}
|
||||
function dba_fetch ($key, $skip, $dba) {}
|
||||
|
||||
/**
|
||||
* Insert entry
|
||||
|
@ -235,13 +235,13 @@ function dba_fetch ($key, $skip, $handle) {}
|
|||
* @param string $value <p>
|
||||
* The value to be inserted.
|
||||
* </p>
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_insert ($key, $value, $handle) {}
|
||||
function dba_insert ($key, $value, $dba) {}
|
||||
|
||||
/**
|
||||
* Replace or insert entry
|
||||
|
@ -252,57 +252,57 @@ function dba_insert ($key, $value, $handle) {}
|
|||
* @param string $value <p>
|
||||
* The value to be replaced.
|
||||
* </p>
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_replace ($key, $value, $handle) {}
|
||||
function dba_replace ($key, $value, $dba) {}
|
||||
|
||||
/**
|
||||
* Fetch first key
|
||||
* @link https://php.net/manual/en/function.dba-firstkey.php
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return string the key on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_firstkey ($handle) {}
|
||||
function dba_firstkey ($dba) {}
|
||||
|
||||
/**
|
||||
* Fetch next key
|
||||
* @link https://php.net/manual/en/function.dba-nextkey.php
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return string the key on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_nextkey ($handle) {}
|
||||
function dba_nextkey ($dba) {}
|
||||
|
||||
/**
|
||||
* Optimize database
|
||||
* @link https://php.net/manual/en/function.dba-optimize.php
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_optimize ($handle) {}
|
||||
function dba_optimize ($dba) {}
|
||||
|
||||
/**
|
||||
* Synchronize database
|
||||
* @link https://php.net/manual/en/function.dba-sync.php
|
||||
* @param resource $handle <p>
|
||||
* @param resource $dba <p>
|
||||
* The database handler, returned by <b>dba_open</b> or
|
||||
* <b>dba_popen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function dba_sync ($handle) {}
|
||||
function dba_sync ($dba) {}
|
||||
|
||||
/**
|
||||
* List all the handlers available
|
||||
|
|
|
@ -5,12 +5,12 @@
|
|||
/**
|
||||
* Reads the EXIF headers from JPEG or TIFF
|
||||
* @link https://php.net/manual/en/function.exif-read-data.php
|
||||
* @param string|resource $filename <p>
|
||||
* @param string|resource $file <p>
|
||||
* The location of the image file. This cannot be an URL.
|
||||
* Since 7.2.0 this can either be a path to the file (stream wrappers are also supported as usual)
|
||||
* or a stream resource.
|
||||
* </p>
|
||||
* @param string $sections_needed [optional] <p>
|
||||
* @param string $required_sections [optional] <p>
|
||||
* Is a comma separated list of sections that need to be present in file
|
||||
* to produce a result array. If none of the requested
|
||||
* sections could be found the return value is <b>FALSE</b>.
|
||||
|
@ -60,7 +60,7 @@
|
|||
* </td>
|
||||
* </tr>
|
||||
* </p>
|
||||
* @param bool $sub_arrays [optional] <p>
|
||||
* @param bool $as_arrays [optional] <p>
|
||||
* Specifies whether or not each section becomes an array. The
|
||||
* <i>sections</i> COMPUTED,
|
||||
* THUMBNAIL, and COMMENT
|
||||
|
@ -76,7 +76,7 @@
|
|||
* those headers. If no data can be returned,
|
||||
* <b>exif_read_data</b> will return <b>FALSE</b>.
|
||||
*/
|
||||
function exif_read_data ($filename, $sections_needed = null, $sub_arrays = false, $read_thumbnail = false) {}
|
||||
function exif_read_data ($file, $required_sections = null, $as_arrays = false, $read_thumbnail = false) {}
|
||||
|
||||
/**
|
||||
* Alias of <b>exif_read_data</b>
|
||||
|
@ -104,7 +104,7 @@ function exif_tagname ($index) {}
|
|||
/**
|
||||
* Retrieve the embedded thumbnail of a TIFF or JPEG image
|
||||
* @link https://php.net/manual/en/function.exif-thumbnail.php
|
||||
* @param string|resource $filename <p>
|
||||
* @param string|resource $file <p>
|
||||
* The location of the image file. This cannot be an URL.
|
||||
* Since 7.2.0 this can either be a path to the file (stream wrappers are also supported as usual)
|
||||
* or a stream resource.
|
||||
|
@ -115,14 +115,14 @@ function exif_tagname ($index) {}
|
|||
* @param int &$height [optional] <p>
|
||||
* The returned height of the returned thumbnail.
|
||||
* </p>
|
||||
* @param int &$imagetype [optional] <p>
|
||||
* @param int &$image_type [optional] <p>
|
||||
* The returned image type of the returned thumbnail. This is either
|
||||
* TIFF or JPEG.
|
||||
* </p>
|
||||
* @return string|false the embedded thumbnail, or <b>FALSE</b> if the image contains no
|
||||
* thumbnail.
|
||||
*/
|
||||
function exif_thumbnail ($filename, &$width = null, &$height = null, &$imagetype = null) {}
|
||||
function exif_thumbnail ($file, &$width = null, &$height = null, &$image_type = null) {}
|
||||
|
||||
/**
|
||||
* Determine the type of an image
|
||||
|
|
104
ftp/ftp.php
104
ftp/ftp.php
|
@ -4,13 +4,13 @@
|
|||
|
||||
/**
|
||||
* @param resource $ftp
|
||||
* @param string $remove_file
|
||||
* @param string $local_file
|
||||
* @param string $remote_filename
|
||||
* @param string $local_filename
|
||||
* @param int $mode [optional]
|
||||
* @return bool
|
||||
* @since 7.2
|
||||
*/
|
||||
function ftp_append ($ftp, $remove_file, $local_file, $mode = FTP_BINARY){}
|
||||
function ftp_append ($ftp, $remote_filename, $local_filename, $mode = FTP_BINARY){}
|
||||
|
||||
/**
|
||||
* @param resource $ftp
|
||||
|
@ -23,7 +23,7 @@ function ftp_mlsd ($ftp, $directory) {}
|
|||
/**
|
||||
* Opens an FTP connection
|
||||
* @link https://php.net/manual/en/function.ftp-connect.php
|
||||
* @param string $host <p>
|
||||
* @param string $hostname <p>
|
||||
* The FTP server address. This parameter shouldn't have any trailing
|
||||
* slashes and shouldn't be prefixed with ftp://.
|
||||
* </p>
|
||||
|
@ -39,12 +39,12 @@ function ftp_mlsd ($ftp, $directory) {}
|
|||
* </p>
|
||||
* @return resource|false a FTP stream on success or <b>FALSE</b> on error.
|
||||
*/
|
||||
function ftp_connect ($host, $port = 21, $timeout = 90) {}
|
||||
function ftp_connect ($hostname, $port = 21, $timeout = 90) {}
|
||||
|
||||
/**
|
||||
* Opens an Secure SSL-FTP connection
|
||||
* @link https://php.net/manual/en/function.ftp-ssl-connect.php
|
||||
* @param string $host <p>
|
||||
* @param string $hostname <p>
|
||||
* The FTP server address. This parameter shouldn't have any trailing
|
||||
* slashes and shouldn't be prefixed with ftp://.
|
||||
* </p>
|
||||
|
@ -60,7 +60,7 @@ function ftp_connect ($host, $port = 21, $timeout = 90) {}
|
|||
* </p>
|
||||
* @return resource|false a SSL-FTP stream on success or <b>FALSE</b> on error.
|
||||
*/
|
||||
function ftp_ssl_connect ($host, $port = 21, $timeout = 90) {}
|
||||
function ftp_ssl_connect ($hostname, $port = 21, $timeout = 90) {}
|
||||
|
||||
/**
|
||||
* Logs in to an FTP connection
|
||||
|
@ -175,7 +175,7 @@ function ftp_rmdir ($ftp, $directory) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param int $mode <p>
|
||||
* @param int $permissions <p>
|
||||
* The new permissions, given as an octal value.
|
||||
* </p>
|
||||
* @param string $filename <p>
|
||||
|
@ -183,7 +183,7 @@ function ftp_rmdir ($ftp, $directory) {}
|
|||
* </p>
|
||||
* @return int|false the new file permissions on success or <b>FALSE</b> on error.
|
||||
*/
|
||||
function ftp_chmod ($ftp, $mode, $filename) {}
|
||||
function ftp_chmod ($ftp, $permissions, $filename) {}
|
||||
|
||||
/**
|
||||
* Allocates space for a file to be uploaded
|
||||
|
@ -229,7 +229,7 @@ function ftp_nlist ($ftp, $directory) {}
|
|||
* The directory path. May include arguments for the LIST
|
||||
* command.
|
||||
* </p>
|
||||
* @param bool $recurse [optional] <p>
|
||||
* @param bool $recursive [optional] <p>
|
||||
* If set to <b>TRUE</b>, the issued command will be LIST -R.
|
||||
* </p>
|
||||
* @return array an array where each element corresponds to one line of text.
|
||||
|
@ -239,7 +239,7 @@ function ftp_nlist ($ftp, $directory) {}
|
|||
* <b>ftp_systype</b> can be used to determine how the results
|
||||
* should be interpreted.
|
||||
*/
|
||||
function ftp_rawlist ($ftp, $directory, $recurse = false) {}
|
||||
function ftp_rawlist ($ftp, $directory, $recursive = false) {}
|
||||
|
||||
/**
|
||||
* Returns the system type identifier of the remote FTP server
|
||||
|
@ -257,12 +257,12 @@ function ftp_systype ($ftp) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param bool $pasv <p>
|
||||
* @param bool $enable <p>
|
||||
* If <b>TRUE</b>, the passive mode is turned on, else it's turned off.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_pasv ($ftp, $pasv) {}
|
||||
function ftp_pasv ($ftp, $enable) {}
|
||||
|
||||
/**
|
||||
* Downloads a file from the FTP server
|
||||
|
@ -270,22 +270,22 @@ function ftp_pasv ($ftp, $pasv) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $local_file <p>
|
||||
* @param string $local_filename <p>
|
||||
* The local file path (will be overwritten if the file already exists).
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $resumepos [optional] <p>
|
||||
* @param int $offset [optional] <p>
|
||||
* The position in the remote file to start downloading from.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_get ($ftp, $local_file, $remote_file, $mode = FTP_BINARY, $resumepos = 0) {}
|
||||
function ftp_get ($ftp, $local_filename, $remote_filename, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Downloads a file from the FTP server and saves to an open file
|
||||
|
@ -293,22 +293,22 @@ function ftp_get ($ftp, $local_file, $remote_file, $mode = FTP_BINARY, $resumepo
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* An open file pointer in which we store the data.
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $resumepos [optional] <p>
|
||||
* @param int $offset [optional] <p>
|
||||
* The position in the remote file to start downloading from.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_fget ($ftp, $fp, $remote_file, $mode = FTP_BINARY, $resumepos = 0) {}
|
||||
function ftp_fget ($ftp, $stream, $remote_filename, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Uploads a file to the FTP server
|
||||
|
@ -316,20 +316,20 @@ function ftp_fget ($ftp, $fp, $remote_file, $mode = FTP_BINARY, $resumepos = 0)
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param string $local_file <p>
|
||||
* @param string $local_filename <p>
|
||||
* The local file path.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $startpos [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @param int $offset [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_put ($ftp, $remote_file, $local_file, $mode = FTP_BINARY, $startpos = 0) {}
|
||||
function ftp_put ($ftp, $remote_filename, $local_filename, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Uploads from an open file to the FTP server
|
||||
|
@ -337,20 +337,20 @@ function ftp_put ($ftp, $remote_file, $local_file, $mode = FTP_BINARY, $startpos
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* An open file pointer on the local file. Reading stops at end of file.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $startpos [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @param int $offset [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_fput ($ftp, $remote_file, $fp, $mode = FTP_BINARY, $startpos = 0) {}
|
||||
function ftp_fput ($ftp, $remote_filename, $stream, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Returns the size of the given file
|
||||
|
@ -385,15 +385,15 @@ function ftp_mdtm ($ftp, $filename) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $src <p>
|
||||
* @param string $from <p>
|
||||
* The old file/directory name.
|
||||
* </p>
|
||||
* @param string $dest <p>
|
||||
* @param string $to <p>
|
||||
* The new name.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_rename ($ftp, $src, $dest) {}
|
||||
function ftp_rename ($ftp, $from, $to) {}
|
||||
|
||||
/**
|
||||
* Deletes a file on the FTP server
|
||||
|
@ -401,12 +401,12 @@ function ftp_rename ($ftp, $src, $dest) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $file <p>
|
||||
* @param string $filename <p>
|
||||
* The file to delete.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_delete ($ftp, $file) {}
|
||||
function ftp_delete ($ftp, $filename) {}
|
||||
|
||||
/**
|
||||
* Sends a SITE command to the server
|
||||
|
@ -414,13 +414,13 @@ function ftp_delete ($ftp, $file) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $cmd <p>
|
||||
* @param string $command <p>
|
||||
* The SITE command. Note that this parameter isn't escaped so there may
|
||||
* be some issues with filenames containing spaces and other characters.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function ftp_site ($ftp, $cmd) {}
|
||||
function ftp_site ($ftp, $command) {}
|
||||
|
||||
/**
|
||||
* Closes an FTP connection
|
||||
|
@ -508,21 +508,21 @@ function ftp_get_option ($ftp, $option) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* An open file pointer in which we store the data.
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $resumpos [optional] <p>The position in the remote file to start downloading from.</p>
|
||||
* @param int $offset [optional] <p>The position in the remote file to start downloading from.</p>
|
||||
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
|
||||
* or <b>FTP_MOREDATA</b>.
|
||||
*/
|
||||
function ftp_nb_fget ($ftp, $fp, $remote_file, $mode = FTP_BINARY, $resumpos = 0) {}
|
||||
function ftp_nb_fget ($ftp, $stream, $remote_filename, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Retrieves a file from the FTP server and writes it to a local file (non-blocking)
|
||||
|
@ -530,21 +530,21 @@ function ftp_nb_fget ($ftp, $fp, $remote_file, $mode = FTP_BINARY, $resumpos = 0
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $local_file <p>
|
||||
* @param string $local_filename <p>
|
||||
* The local file path (will be overwritten if the file already exists).
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $resume_pos [optional] <p>The position in the remote file to start downloading from.</p>
|
||||
* @param int $offset [optional] <p>The position in the remote file to start downloading from.</p>
|
||||
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
|
||||
* or <b>FTP_MOREDATA</b>.
|
||||
*/
|
||||
function ftp_nb_get ($ftp, $local_file, $remote_file, $mode = FTP_BINARY, $resume_pos = 0) {}
|
||||
function ftp_nb_get ($ftp, $local_filename, $remote_filename, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Continues retrieving/sending a file (non-blocking)
|
||||
|
@ -563,21 +563,21 @@ function ftp_nb_continue ($ftp) {}
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param string $local_file <p>
|
||||
* @param string $local_filename <p>
|
||||
* The local file path.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $startpos [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @param int $offset [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
|
||||
* or <b>FTP_MOREDATA</b>.
|
||||
*/
|
||||
function ftp_nb_put ($ftp, $remote_file, $local_file, $mode = FTP_BINARY, $startpos = 0) {}
|
||||
function ftp_nb_put ($ftp, $remote_filename, $local_filename, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Stores a file from an open file to the FTP server (non-blocking)
|
||||
|
@ -585,21 +585,21 @@ function ftp_nb_put ($ftp, $remote_file, $local_file, $mode = FTP_BINARY, $start
|
|||
* @param resource $ftp <p>
|
||||
* The link identifier of the FTP connection.
|
||||
* </p>
|
||||
* @param string $remote_file <p>
|
||||
* @param string $remote_filename <p>
|
||||
* The remote file path.
|
||||
* </p>
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* An open file pointer on the local file. Reading stops at end of file.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* The transfer mode. Must be either <b>FTP_ASCII</b> or
|
||||
* <b>FTP_BINARY</b>.
|
||||
* </p>
|
||||
* @param int $startpos [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @param int $offset [optional] <p>The position in the remote file to start uploading to.</p>
|
||||
* @return int <b>FTP_FAILED</b> or <b>FTP_FINISHED</b>
|
||||
* or <b>FTP_MOREDATA</b>.
|
||||
*/
|
||||
function ftp_nb_fput ($ftp, $remote_file, $fp, $mode = FTP_BINARY, $startpos = 0) {}
|
||||
function ftp_nb_fput ($ftp, $remote_filename, $stream, $mode = FTP_BINARY, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Alias of <b>ftp_close</b>
|
||||
|
|
|
@ -17,24 +17,24 @@ function textdomain ($domain) {}
|
|||
/**
|
||||
* Lookup a message in the current domain
|
||||
* @link https://php.net/manual/en/function.gettext.php
|
||||
* @param string $msgid <p>
|
||||
* @param string $message <p>
|
||||
* The message being translated.
|
||||
* </p>
|
||||
* @return string a translated string if one is found in the
|
||||
* translation table, or the submitted message if not found.
|
||||
*/
|
||||
function gettext ($msgid) {}
|
||||
function gettext ($message) {}
|
||||
|
||||
/**
|
||||
* Lookup a message in the current domain
|
||||
* @link https://php.net/manual/en/function.gettext.php
|
||||
* @param string $msgid <p>
|
||||
* @param string $message <p>
|
||||
* The message being translated.
|
||||
* </p>
|
||||
* @return string a translated string if one is found in the
|
||||
* translation table, or the submitted message if not found.
|
||||
*/
|
||||
function _ ($msgid) {}
|
||||
function _ ($message) {}
|
||||
|
||||
/**
|
||||
* Override the current domain
|
||||
|
@ -42,12 +42,12 @@ function _ ($msgid) {}
|
|||
* @param string $domain <p>
|
||||
* The domain
|
||||
* </p>
|
||||
* @param string $msgid <p>
|
||||
* @param string $message <p>
|
||||
* The message
|
||||
* </p>
|
||||
* @return string A string on success.
|
||||
*/
|
||||
function dgettext ($domain, $msgid) {}
|
||||
function dgettext ($domain, $message) {}
|
||||
|
||||
/**
|
||||
* Overrides the domain for a single lookup
|
||||
|
@ -55,7 +55,7 @@ function dgettext ($domain, $msgid) {}
|
|||
* @param string $domain <p>
|
||||
* The domain
|
||||
* </p>
|
||||
* @param string $msgid <p>
|
||||
* @param string $message <p>
|
||||
* The message
|
||||
* </p>
|
||||
* @param int $category <p>
|
||||
|
@ -63,7 +63,7 @@ function dgettext ($domain, $msgid) {}
|
|||
* </p>
|
||||
* @return string A string on success.
|
||||
*/
|
||||
function dcgettext ($domain, $msgid, $category) {}
|
||||
function dcgettext ($domain, $message, $category) {}
|
||||
|
||||
/**
|
||||
* Sets the path for a domain
|
||||
|
@ -71,24 +71,24 @@ function dcgettext ($domain, $msgid, $category) {}
|
|||
* @param string $domain <p>
|
||||
* The domain
|
||||
* </p>
|
||||
* @param string $dir <p>
|
||||
* @param string $directory <p>
|
||||
* The directory path
|
||||
* </p>
|
||||
* @return string The full pathname for the <i>domain</i> currently being set.
|
||||
*/
|
||||
function bindtextdomain ($domain, $dir) {}
|
||||
function bindtextdomain ($domain, $directory) {}
|
||||
|
||||
/**
|
||||
* Plural version of gettext
|
||||
* @link https://php.net/manual/en/function.ngettext.php
|
||||
* @param string $msgid1
|
||||
* @param string $msgid2
|
||||
* @param int $n
|
||||
* @param string $singular
|
||||
* @param string $plural
|
||||
* @param int $count
|
||||
* @return string correct plural form of message identified by
|
||||
* <i>msgid1</i> and <i>msgid2</i>
|
||||
* for count <i>n</i>.
|
||||
*/
|
||||
function ngettext ($msgid1, $msgid2, $n) {}
|
||||
function ngettext ($singular, $plural, $count) {}
|
||||
|
||||
/**
|
||||
* Plural version of dgettext
|
||||
|
@ -96,12 +96,12 @@ function ngettext ($msgid1, $msgid2, $n) {}
|
|||
* @param string $domain <p>
|
||||
* The domain
|
||||
* </p>
|
||||
* @param string $msgid1
|
||||
* @param string $msgid2
|
||||
* @param string $singular
|
||||
* @param string $plural
|
||||
* @param int $count
|
||||
* @return string A string on success.
|
||||
*/
|
||||
function dngettext ($domain, $msgid1, $msgid2, $count) {}
|
||||
function dngettext ($domain, $singular, $plural, $count) {}
|
||||
|
||||
/**
|
||||
* Plural version of dcgettext
|
||||
|
@ -109,13 +109,13 @@ function dngettext ($domain, $msgid1, $msgid2, $count) {}
|
|||
* @param string $domain <p>
|
||||
* The domain
|
||||
* </p>
|
||||
* @param string $msgid1
|
||||
* @param string $msgid2
|
||||
* @param string $singular
|
||||
* @param string $plural
|
||||
* @param int $count
|
||||
* @param int $category
|
||||
* @return string A string on success.
|
||||
*/
|
||||
function dcngettext ($domain, $msgid1, $msgid2, $count, $category) {}
|
||||
function dcngettext ($domain, $singular, $plural, $count, $category) {}
|
||||
|
||||
/**
|
||||
* Specify the character encoding in which the messages from the DOMAIN message catalog will be returned
|
||||
|
|
|
@ -69,7 +69,7 @@ class JsonIncrementalParser {
|
|||
* JSON - it will also encode and decode scalar types and <b>NULL</b>. The JSON standard
|
||||
* only supports these values when they are nested inside an array or an object.
|
||||
* </p>
|
||||
* @param int $options [optional] <p>
|
||||
* @param int $flags [optional] <p>
|
||||
* Bitmask consisting of <b>JSON_HEX_QUOT</b>,
|
||||
* <b>JSON_HEX_TAG</b>,
|
||||
* <b>JSON_HEX_AMP</b>,
|
||||
|
@ -88,7 +88,7 @@ class JsonIncrementalParser {
|
|||
* </p>
|
||||
* @return string|false a JSON encoded string on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function json_encode ($value, $options = 0, $depth = 512) {}
|
||||
function json_encode ($value, $flags = 0, $depth = 512) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.2.0, PECL json >= 1.2.0)<br/>
|
||||
|
@ -104,14 +104,14 @@ function json_encode ($value, $options = 0, $depth = 512) {}
|
|||
* JSON - it will also encode and decode scalar types and <b>NULL</b>. The JSON standard
|
||||
* only supports these values when they are nested inside an array or an object.
|
||||
* </p>
|
||||
* @param bool $assoc [optional] <p>
|
||||
* @param bool $associative [optional] <p>
|
||||
* When <b>TRUE</b>, returned objects will be converted into
|
||||
* associative arrays.
|
||||
* </p>
|
||||
* @param int $depth [optional] <p>
|
||||
* User specified recursion depth.
|
||||
* </p>
|
||||
* @param int $options [optional] <p>
|
||||
* @param int $flags [optional] <p>
|
||||
* Bitmask of JSON decode options:<br/>
|
||||
* {@see JSON_BIGINT_AS_STRING} decodes large integers as their original string value.<br/>
|
||||
* {@see JSON_INVALID_UTF8_IGNORE} ignores invalid UTF-8 characters,<br/>
|
||||
|
@ -126,7 +126,7 @@ function json_encode ($value, $options = 0, $depth = 512) {}
|
|||
* <i>json</i> cannot be decoded or if the encoded
|
||||
* data is deeper than the recursion limit.
|
||||
*/
|
||||
function json_decode ($json, $assoc = false, $depth = 512, $options = 0) {}
|
||||
function json_decode ($json, $associative = false, $depth = 512, $flags = 0) {}
|
||||
|
||||
/**
|
||||
* Returns the last error occurred
|
||||
|
|
|
@ -1604,11 +1604,11 @@ function mysqli_error_list ($mysql) {}
|
|||
/**
|
||||
* Returns a list of errors from the last statement executed
|
||||
* @link https://secure.php.net/manual/en/mysqli-stmt.error-list.php
|
||||
* @param mysqli_stmt $stmt A statement identifier returned by mysqli_stmt_init().
|
||||
* @param mysqli_stmt $statement A statement identifier returned by mysqli_stmt_init().
|
||||
* @return array A list of errors, each as an associative array containing the errno, error, and sqlstate.
|
||||
* @since 5.4
|
||||
*/
|
||||
function mysqli_stmt_error_list ($stmt) {}
|
||||
function mysqli_stmt_error_list ($statement) {}
|
||||
|
||||
/**
|
||||
* Returns a string description of the last error
|
||||
|
@ -1621,19 +1621,19 @@ function mysqli_error ($mysql) {}
|
|||
/**
|
||||
* Executes a prepared Query
|
||||
* @link https://php.net/manual/en/mysqli-stmt.execute.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_execute ($stmt) {}
|
||||
function mysqli_stmt_execute ($statement) {}
|
||||
|
||||
/**
|
||||
* Executes a prepared Query
|
||||
* Alias for <b>mysqli_stmt_execute</b>
|
||||
* @link https://php.net/manual/en/function.mysqli-execute.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @deprecated
|
||||
*/
|
||||
function mysqli_execute ($stmt) {}
|
||||
function mysqli_execute ($statement) {}
|
||||
|
||||
/**
|
||||
* Returns the next field in the result set
|
||||
|
@ -2183,37 +2183,37 @@ function mysqli_set_charset ($mysql, $charset) {}
|
|||
/**
|
||||
* Returns the total number of rows changed, deleted, or inserted by the last executed statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.affected-rows.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return int|string If the number of affected rows is greater than maximal PHP int value, the number of affected rows will be returned as a string value.
|
||||
*/
|
||||
function mysqli_stmt_affected_rows ($stmt) {}
|
||||
function mysqli_stmt_affected_rows ($statement) {}
|
||||
|
||||
/**
|
||||
* Get the current value of a statement attribute
|
||||
* @link https://php.net/manual/en/mysqli-stmt.attr-get.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param int $attribute
|
||||
* @return int|false Returns FALSE if the attribute is not found, otherwise returns the value of the attribute.
|
||||
*/
|
||||
function mysqli_stmt_attr_get ($stmt, $attribute) {}
|
||||
function mysqli_stmt_attr_get ($statement, $attribute) {}
|
||||
|
||||
/**
|
||||
* Modify the behavior of a prepared statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.attr-set.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param int $attribute
|
||||
* @param int $value
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_attr_set ($stmt, $attribute, $value) {}
|
||||
function mysqli_stmt_attr_set ($statement, $attribute, $value) {}
|
||||
|
||||
/**
|
||||
* Returns the number of fields in the given statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.field-count.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return int
|
||||
*/
|
||||
function mysqli_stmt_field_count ($stmt) {}
|
||||
function mysqli_stmt_field_count ($statement) {}
|
||||
|
||||
/**
|
||||
* Initializes a statement and returns an object for use with mysqli_stmt_prepare
|
||||
|
@ -2226,34 +2226,34 @@ function mysqli_stmt_init ($mysql) {}
|
|||
/**
|
||||
* Prepare an SQL statement for execution
|
||||
* @link https://php.net/manual/en/mysqli-stmt.prepare.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param string $query
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_prepare ($stmt, $query) {}
|
||||
function mysqli_stmt_prepare ($statement, $query) {}
|
||||
|
||||
/**
|
||||
* Returns result set metadata from a prepared statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.result-metadata.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return mysqli_result|false Returns a result object or FALSE if an error occurred
|
||||
*/
|
||||
function mysqli_stmt_result_metadata ($stmt) {}
|
||||
function mysqli_stmt_result_metadata ($statement) {}
|
||||
|
||||
/**
|
||||
* Send data in blocks
|
||||
* @link https://php.net/manual/en/mysqli-stmt.send-long-data.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param int $param_num
|
||||
* @param string $data
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_send_long_data ($stmt, $param_num, $data) {}
|
||||
function mysqli_stmt_send_long_data ($statement, $param_num, $data) {}
|
||||
|
||||
/**
|
||||
* Binds variables to a prepared statement as parameters
|
||||
* @link https://php.net/manual/en/mysqli-stmt.bind-param.php
|
||||
* @param mysqli_stmt $stmt A statement identifier returned by mysqli_stmt_init()
|
||||
* @param mysqli_stmt $statement A statement identifier returned by mysqli_stmt_init()
|
||||
* @param string $types <p>
|
||||
* A string that contains one or more characters which specify the types
|
||||
* for the corresponding bind variables:
|
||||
|
@ -2288,73 +2288,73 @@ function mysqli_stmt_send_long_data ($stmt, $param_num, $data) {}
|
|||
* @param mixed &...$_ [optional]
|
||||
* @return bool true on success or false on failure.
|
||||
*/
|
||||
function mysqli_stmt_bind_param ($stmt, $types, &$var1, &...$_) {}
|
||||
function mysqli_stmt_bind_param ($statement, $types, &$var1, &...$_) {}
|
||||
|
||||
/**
|
||||
* Binds variables to a prepared statement for result storage
|
||||
* @link https://php.net/manual/en/mysqli-stmt.bind-result.php
|
||||
* @param mysqli_stmt $stmt Statement
|
||||
* @param mysqli_stmt $statement Statement
|
||||
* @param mixed &$var1 The variable to be bound.
|
||||
* @param mixed &...$_ The variables to be bound.
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_bind_result ($stmt, &$var1, &...$_) {}
|
||||
function mysqli_stmt_bind_result ($statement, &$var1, &...$_) {}
|
||||
|
||||
/**
|
||||
* Fetch results from a prepared statement into the bound variables
|
||||
* @link https://php.net/manual/en/mysqli-stmt.fetch.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool|null
|
||||
*/
|
||||
function mysqli_stmt_fetch ($stmt) {}
|
||||
function mysqli_stmt_fetch ($statement) {}
|
||||
|
||||
/**
|
||||
* Frees stored result memory for the given statement handle
|
||||
* @link https://php.net/manual/en/mysqli-stmt.free-result.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return void
|
||||
*/
|
||||
function mysqli_stmt_free_result ($stmt) {}
|
||||
function mysqli_stmt_free_result ($statement) {}
|
||||
|
||||
/**
|
||||
* Gets a result set from a prepared statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.get-result.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return mysqli_result|false Returns a resultset or FALSE on failure.
|
||||
*/
|
||||
function mysqli_stmt_get_result ($stmt) {}
|
||||
function mysqli_stmt_get_result ($statement) {}
|
||||
|
||||
/**
|
||||
* Get result of SHOW WARNINGS
|
||||
* @link https://php.net/manual/en/mysqli-stmt.get-warnings.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return object (not documented, but it's probably a mysqli_warning object)
|
||||
*/
|
||||
function mysqli_stmt_get_warnings ($stmt) {}
|
||||
function mysqli_stmt_get_warnings ($statement) {}
|
||||
|
||||
/**
|
||||
* Get the ID generated from the previous INSERT operation
|
||||
* @link https://php.net/manual/en/mysqli-stmt.insert-id.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return mixed
|
||||
*/
|
||||
function mysqli_stmt_insert_id ($stmt) {}
|
||||
function mysqli_stmt_insert_id ($statement) {}
|
||||
|
||||
/**
|
||||
* Resets a prepared statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.reset.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_reset ($stmt) {}
|
||||
function mysqli_stmt_reset ($statement) {}
|
||||
|
||||
/**
|
||||
* Returns the number of parameter for the given statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.param-count.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return int
|
||||
*/
|
||||
function mysqli_stmt_param_count ($stmt) {}
|
||||
function mysqli_stmt_param_count ($statement) {}
|
||||
|
||||
/**
|
||||
* Returns the SQLSTATE error from previous MySQL operation
|
||||
|
@ -2388,75 +2388,75 @@ function mysqli_ssl_set($mysql, $key , $certificate , $ca_certificate , $ca_path
|
|||
/**
|
||||
* Closes a prepared statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.close.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_close ($stmt) {}
|
||||
function mysqli_stmt_close ($statement) {}
|
||||
|
||||
/**
|
||||
* Seeks to an arbitrary row in statement result set
|
||||
* @link https://php.net/manual/en/mysqli-stmt.data-seek.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param int $offset
|
||||
* @return void
|
||||
*/
|
||||
function mysqli_stmt_data_seek ($stmt, $offset) {}
|
||||
function mysqli_stmt_data_seek ($statement, $offset) {}
|
||||
|
||||
/**
|
||||
* Returns the error code for the most recent statement call
|
||||
* @link https://php.net/manual/en/mysqli-stmt.errno.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return int
|
||||
*/
|
||||
function mysqli_stmt_errno ($stmt) {}
|
||||
function mysqli_stmt_errno ($statement) {}
|
||||
|
||||
/**
|
||||
* Returns a string description for last statement error
|
||||
* @link https://php.net/manual/en/mysqli-stmt.error.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return string
|
||||
*/
|
||||
function mysqli_stmt_error ($stmt) {}
|
||||
function mysqli_stmt_error ($statement) {}
|
||||
|
||||
/**
|
||||
* Check if there are more query results from a multiple query
|
||||
* @link https://php.net/manual/en/mysqli-stmt.more-results.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_more_results ($stmt) {}
|
||||
function mysqli_stmt_more_results ($statement) {}
|
||||
|
||||
/**
|
||||
* Reads the next result from a multiple query
|
||||
* @link https://php.net/manual/en/mysqli-stmt.next-result.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_next_result ($stmt) {}
|
||||
function mysqli_stmt_next_result ($statement) {}
|
||||
|
||||
/**
|
||||
* Return the number of rows in statements result set
|
||||
* @link https://php.net/manual/en/mysqli-stmt.num-rows.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return int
|
||||
*/
|
||||
function mysqli_stmt_num_rows ($stmt) {}
|
||||
function mysqli_stmt_num_rows ($statement) {}
|
||||
|
||||
/**
|
||||
* Returns SQLSTATE error from previous statement operation
|
||||
* @link https://php.net/manual/en/mysqli-stmt.sqlstate.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return string Returns a string containing the SQLSTATE error code for the last error. The error code consists of five characters. '00000' means no error.
|
||||
*/
|
||||
function mysqli_stmt_sqlstate ($stmt) {}
|
||||
function mysqli_stmt_sqlstate ($statement) {}
|
||||
|
||||
/**
|
||||
* Transfers a result set from a prepared statement
|
||||
* @link https://php.net/manual/en/mysqli-stmt.store-result.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool
|
||||
*/
|
||||
function mysqli_stmt_store_result ($stmt) {}
|
||||
function mysqli_stmt_store_result ($statement) {}
|
||||
|
||||
/**
|
||||
* Transfers a result set from the last query
|
||||
|
@ -2510,23 +2510,23 @@ function mysqli_refresh ($mysql, $flags) {}
|
|||
/**
|
||||
* Alias for <b>mysqli_stmt_bind_param</b>
|
||||
* @link https://php.net/manual/en/function.mysqli-bind-param.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param string $types
|
||||
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
|
||||
* @removed 5.4
|
||||
*/
|
||||
function mysqli_bind_param ($stmt, $types) {}
|
||||
function mysqli_bind_param ($statement, $types) {}
|
||||
|
||||
/**
|
||||
* Alias for <b>mysqli_stmt_bind_result</b>
|
||||
* @link https://php.net/manual/en/function.mysqli-bind-result.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param string $types
|
||||
* @param mixed &$var1
|
||||
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
|
||||
* @removed 5.4
|
||||
*/
|
||||
function mysqli_bind_result ($stmt, $types, &$var1) {}
|
||||
function mysqli_bind_result ($statement, $types, &$var1) {}
|
||||
|
||||
/**
|
||||
* Alias of <b>mysqli_character_set_name</b>
|
||||
|
@ -2550,44 +2550,44 @@ function mysqli_escape_string ($mysql, $string) {}
|
|||
/**
|
||||
* Alias for <b>mysqli_stmt_fetch</b>
|
||||
* @link https://php.net/manual/en/function.mysqli-fetch.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return bool
|
||||
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
|
||||
* @removed 5.4
|
||||
*/
|
||||
function mysqli_fetch ($stmt) {}
|
||||
function mysqli_fetch ($statement) {}
|
||||
|
||||
/**
|
||||
* Alias for <b>mysqli_stmt_param_count</b>
|
||||
* @link https://php.net/manual/en/function.mysqli-param-count.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return int
|
||||
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
|
||||
* @removed 5.4
|
||||
*/
|
||||
function mysqli_param_count ($stmt) {}
|
||||
function mysqli_param_count ($statement) {}
|
||||
|
||||
/**
|
||||
* Alias for <b>mysqli_stmt_result_metadata</b>
|
||||
* @link https://php.net/manual/en/function.mysqli-get-metadata.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @return mysqli_result|false Returns a result object or FALSE if an error occurred
|
||||
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
|
||||
* @removed 5.4
|
||||
*/
|
||||
function mysqli_get_metadata ($stmt) {}
|
||||
function mysqli_get_metadata ($statement) {}
|
||||
|
||||
/**
|
||||
* Alias for <b>mysqli_stmt_send_long_data</b>
|
||||
* @link https://php.net/manual/en/function.mysqli-send-long-data.php
|
||||
* @param mysqli_stmt $stmt
|
||||
* @param mysqli_stmt $statement
|
||||
* @param int $param_num
|
||||
* @param string $data
|
||||
* @return bool
|
||||
* @deprecated 5.3 This function has been DEPRECATED as of PHP 5.3.0
|
||||
* @removed 5.4
|
||||
*/
|
||||
function mysqli_send_long_data ($stmt, $param_num, $data) {}
|
||||
function mysqli_send_long_data ($statement, $param_num, $data) {}
|
||||
|
||||
/**
|
||||
* Alias of <b>mysqli_options</b>
|
||||
|
|
|
@ -16,7 +16,7 @@ function pcntl_fork () {}
|
|||
/**
|
||||
* Waits on or returns the status of a forked child
|
||||
* @link https://php.net/manual/en/function.pcntl-waitpid.php
|
||||
* @param int $pid <p>
|
||||
* @param int $process_id <p>
|
||||
* The value of <i>pid</i> can be one of the following:
|
||||
* <table>
|
||||
* possible values for <i>pid</i>
|
||||
|
@ -66,7 +66,7 @@ function pcntl_fork () {}
|
|||
* <b>pcntl_wtermsig</b> and
|
||||
* <b>pcntl_wstopsig</b>.
|
||||
* </p>
|
||||
* @param int $options [optional] <p>
|
||||
* @param int $flags [optional] <p>
|
||||
* The value of <i>options</i> is the value of zero
|
||||
* or more of the following two global constants
|
||||
* OR'ed together:
|
||||
|
@ -87,12 +87,12 @@ function pcntl_fork () {}
|
|||
* </tr>
|
||||
* </table>
|
||||
* </p>
|
||||
* @param array &$rusage [optional]
|
||||
* @param array &$resource_usage [optional]
|
||||
* @return int <b>pcntl_waitpid</b> returns the process ID of the
|
||||
* child which exited, -1 on error or zero if <b>WNOHANG</b> was used and no
|
||||
* child was available
|
||||
*/
|
||||
function pcntl_waitpid ($pid, &$status, $options = 0, array &$rusage) {}
|
||||
function pcntl_waitpid ($process_id, &$status, $flags = 0, array &$resource_usage) {}
|
||||
|
||||
/**
|
||||
* Waits on or returns the status of a forked child
|
||||
|
@ -108,7 +108,7 @@ function pcntl_waitpid ($pid, &$status, $options = 0, array &$rusage) {}
|
|||
* <b>pcntl_wtermsig</b> and
|
||||
* <b>pcntl_wstopsig</b>.
|
||||
* </p>
|
||||
* @param int $options [optional] <p>
|
||||
* @param int $flags [optional] <p>
|
||||
* If wait3 is available on your system (mostly BSD-style systems), you can
|
||||
* provide the optional <i>options</i> parameter. If this
|
||||
* parameter is not provided, wait will be used for the system call. If
|
||||
|
@ -133,17 +133,17 @@ function pcntl_waitpid ($pid, &$status, $options = 0, array &$rusage) {}
|
|||
* </tr>
|
||||
* </table>
|
||||
* </p>
|
||||
* @param array &$rusage [optional]
|
||||
* @param array &$resource_usage [optional]
|
||||
* @return int <b>pcntl_wait</b> returns the process ID of the
|
||||
* child which exited, -1 on error or zero if WNOHANG was provided as an
|
||||
* option (on wait3-available systems) and no child was available.
|
||||
*/
|
||||
function pcntl_wait (&$status, $options = 0, &$rusage) {}
|
||||
function pcntl_wait (&$status, $flags = 0, &$resource_usage) {}
|
||||
|
||||
/**
|
||||
* Installs a signal handler
|
||||
* @link https://php.net/manual/en/function.pcntl-signal.php
|
||||
* @param int $signo <p>
|
||||
* @param int $signal <p>
|
||||
* The signal number.
|
||||
* </p>
|
||||
* @param callable|int $handler <p>
|
||||
|
@ -168,7 +168,7 @@ function pcntl_wait (&$status, $options = 0, &$rusage) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function pcntl_signal ($signo, $handler, $restart_syscalls = true) {}
|
||||
function pcntl_signal ($signal, $handler, $restart_syscalls = true) {}
|
||||
|
||||
/**
|
||||
* Calls signal handlers for pending signals
|
||||
|
@ -258,7 +258,7 @@ function pcntl_wstopsig ($status) {}
|
|||
* <i>args</i> is an array of argument strings passed to the
|
||||
* program.
|
||||
* </p>
|
||||
* @param array $envs [optional] <p>
|
||||
* @param array $env_vars [optional] <p>
|
||||
* <i>envs</i> is an array of strings which are passed as
|
||||
* environment to the program. The array is in the format of name => value,
|
||||
* the key being the name of the environmental variable and the value being
|
||||
|
@ -266,7 +266,7 @@ function pcntl_wstopsig ($status) {}
|
|||
* </p>
|
||||
* @return void <b>FALSE</b> on error and does not return on success.
|
||||
*/
|
||||
function pcntl_exec ($path, array $args = null, array $envs = null) {}
|
||||
function pcntl_exec ($path, array $args = null, array $env_vars = null) {}
|
||||
|
||||
/**
|
||||
* Set an alarm clock for delivery of a signal
|
||||
|
@ -300,20 +300,20 @@ function pcntl_errno () {}
|
|||
/**
|
||||
* Retrieve the system error message associated with the given errno
|
||||
* @link https://php.net/manual/en/function.pcntl-strerror.php
|
||||
* @param int $errno <p>
|
||||
* @param int $error_code <p>
|
||||
* </p>
|
||||
* @return string|false error description on success or <b>FALSE</b> on failure.
|
||||
* @since 5.3.4
|
||||
*/
|
||||
function pcntl_strerror ($errno) {}
|
||||
function pcntl_strerror ($error_code) {}
|
||||
|
||||
/**
|
||||
* Get the priority of any process
|
||||
* @link https://php.net/manual/en/function.pcntl-getpriority.php
|
||||
* @param int $pid [optional] <p>
|
||||
* @param int $process_id [optional] <p>
|
||||
* If not specified, the pid of the current process (getmypid()) is used.
|
||||
* </p>
|
||||
* @param int $process_identifier [optional] <p>
|
||||
* @param int $mode [optional] <p>
|
||||
* One of <b>PRIO_PGRP</b>, <b>PRIO_USER</b>
|
||||
* or <b>PRIO_PROCESS</b>.
|
||||
* </p>
|
||||
|
@ -321,7 +321,7 @@ function pcntl_strerror ($errno) {}
|
|||
* or <b>FALSE</b> on error. A lower numerical value causes more favorable
|
||||
* scheduling.
|
||||
*/
|
||||
function pcntl_getpriority ($pid, $process_identifier = PRIO_PROCESS) {}
|
||||
function pcntl_getpriority ($process_id, $mode = PRIO_PROCESS) {}
|
||||
|
||||
/**
|
||||
* Change the priority of any process
|
||||
|
@ -334,21 +334,21 @@ function pcntl_getpriority ($pid, $process_identifier = PRIO_PROCESS) {}
|
|||
* system types and kernel versions, please see your system's setpriority(2)
|
||||
* man page for specific details.
|
||||
* </p>
|
||||
* @param int $pid [optional] <p>
|
||||
* @param int $process_id [optional] <p>
|
||||
* If not specified, the pid of the current process (getmypid()) is used.
|
||||
* </p>
|
||||
* @param int $process_identifier [optional] <p>
|
||||
* @param int $mode [optional] <p>
|
||||
* One of <b>PRIO_PGRP</b>, <b>PRIO_USER</b>
|
||||
* or <b>PRIO_PROCESS</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function pcntl_setpriority ($priority, $pid, $process_identifier = PRIO_PROCESS) {}
|
||||
function pcntl_setpriority ($priority, $process_id, $mode = PRIO_PROCESS) {}
|
||||
|
||||
/**
|
||||
* Sets and retrieves blocked signals
|
||||
* @link https://php.net/manual/en/function.pcntl-sigprocmask.php
|
||||
* @param int $how <p>
|
||||
* @param int $mode <p>
|
||||
* Sets the behavior of <b>pcntl_sigprocmask</b>. Possible
|
||||
* values:
|
||||
* <b>SIG_BLOCK</b>: Add the signals to the
|
||||
|
@ -358,21 +358,21 @@ function pcntl_setpriority ($priority, $pid, $process_identifier = PRIO_PROCESS)
|
|||
* <b>SIG_SETMASK</b>: Replace the currently
|
||||
* blocked signals by the given list of signals.
|
||||
* </p>
|
||||
* @param array $set <p>
|
||||
* @param array $signals <p>
|
||||
* List of signals.
|
||||
* </p>
|
||||
* @param array &$oldset [optional] <p>
|
||||
* @param array &$old_signals [optional] <p>
|
||||
* The <i>oldset</i> parameter is set to an array
|
||||
* containing the list of the previously blocked signals.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function pcntl_sigprocmask ($how, array $set, array &$oldset = null) {}
|
||||
function pcntl_sigprocmask ($mode, array $signals, array &$old_signals = null) {}
|
||||
|
||||
/**
|
||||
* Waits for signals
|
||||
* @link https://php.net/manual/en/function.pcntl-sigwaitinfo.php
|
||||
* @param array $set <p>
|
||||
* @param array $signals <p>
|
||||
* Array of signals to wait for.
|
||||
* </p>
|
||||
* @param array &$info [optional] <p>
|
||||
|
@ -407,12 +407,12 @@ function pcntl_sigprocmask ($how, array $set, array &$oldset = null) {}
|
|||
* </p>
|
||||
* @return int On success, <b>pcntl_sigwaitinfo</b> returns a signal number.
|
||||
*/
|
||||
function pcntl_sigwaitinfo (array $set, array &$info = null) {}
|
||||
function pcntl_sigwaitinfo (array $signals, array &$info = null) {}
|
||||
|
||||
/**
|
||||
* Waits for signals, with a timeout
|
||||
* @link https://php.net/manual/en/function.pcntl-sigtimedwait.php
|
||||
* @param array $set <p>
|
||||
* @param array $signals <p>
|
||||
* Array of signals to wait for.
|
||||
* </p>
|
||||
* @param array &$info [optional] <p>
|
||||
|
@ -428,7 +428,7 @@ function pcntl_sigwaitinfo (array $set, array &$info = null) {}
|
|||
* </p>
|
||||
* @return int On success, <b>pcntl_sigtimedwait</b> returns a signal number.
|
||||
*/
|
||||
function pcntl_sigtimedwait (array $set, array &$info = null, $seconds = 0, $nanoseconds = 0) {}
|
||||
function pcntl_sigtimedwait (array $signals, array &$info = null, $seconds = 0, $nanoseconds = 0) {}
|
||||
|
||||
/**
|
||||
* Enable/disable asynchronous signal handling or return the old setting.<br>
|
||||
|
@ -436,27 +436,27 @@ function pcntl_sigtimedwait (array $set, array &$info = null, $seconds = 0, $nan
|
|||
* signal handling is enabled.
|
||||
* @link https://www.php.net/manual/en/function.pcntl-async-signals.php
|
||||
*
|
||||
* @param bool $on [optional] <p>
|
||||
* @param bool $enable [optional] <p>
|
||||
* Whether asynchronous signal handling should be enabled.
|
||||
* </p>
|
||||
*
|
||||
* @return bool
|
||||
* @since 7.1
|
||||
*/
|
||||
function pcntl_async_signals($on = null) {}
|
||||
function pcntl_async_signals($enable = null) {}
|
||||
|
||||
/**
|
||||
* Get the current handler for specified signal.
|
||||
* @link https://www.php.net/manual/en/function.pcntl-signal-get-handler.php
|
||||
*
|
||||
* @param int $signo <p>
|
||||
* @param int $signal <p>
|
||||
* The signal number.
|
||||
* </p>
|
||||
*
|
||||
* @return bool
|
||||
* @since 7.1
|
||||
*/
|
||||
function pcntl_signal_get_handler($signo) {}
|
||||
function pcntl_signal_get_handler($signal) {}
|
||||
|
||||
/**
|
||||
* @param int $flags
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
* @param string $subject <p>
|
||||
* The input string.
|
||||
* </p>
|
||||
* @param string[] &$subpatterns [optional] <p>
|
||||
* @param string[] &$matches [optional] <p>
|
||||
* If <i>matches</i> is provided, then it is filled with
|
||||
* the results of search. $matches[0] will contain the
|
||||
* text that matched the full pattern, $matches[1]
|
||||
|
@ -154,7 +154,7 @@
|
|||
* matches given <i>subject</i>, 0 if it does not, or <b>FALSE</b>
|
||||
* if an error occurred.
|
||||
*/
|
||||
function preg_match ($pattern, $subject, array &$subpatterns = null, $flags = 0, $offset = 0) {}
|
||||
function preg_match ($pattern, $subject, array &$matches = null, $flags = 0, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Perform a global regular expression match
|
||||
|
@ -165,7 +165,7 @@ function preg_match ($pattern, $subject, array &$subpatterns = null, $flags = 0,
|
|||
* @param string $subject <p>
|
||||
* The input string.
|
||||
* </p>
|
||||
* @param string[][] &$subpatterns [optional] <p>
|
||||
* @param string[][] &$matches [optional] <p>
|
||||
* Array of all matches in multi-dimensional array ordered according to flags.
|
||||
* </p>
|
||||
* @param int $flags [optional] <p>
|
||||
|
@ -214,12 +214,12 @@ function preg_match ($pattern, $subject, array &$subpatterns = null, $flags = 0,
|
|||
* @return int|false the number of full pattern matches (which might be zero),
|
||||
* or <b>FALSE</b> if an error occurred.
|
||||
*/
|
||||
function preg_match_all ($pattern, $subject, array &$subpatterns = null, $flags = PREG_PATTERN_ORDER, $offset = 0) {}
|
||||
function preg_match_all ($pattern, $subject, array &$matches = null, $flags = PREG_PATTERN_ORDER, $offset = 0) {}
|
||||
|
||||
/**
|
||||
* Perform a regular expression search and replace
|
||||
* @link https://php.net/manual/en/function.preg-replace.php
|
||||
* @param string|string[] $regex <p>
|
||||
* @param string|string[] $pattern <p>
|
||||
* The pattern to search for. It can be either a string or an array with
|
||||
* strings.
|
||||
* </p>
|
||||
|
@ -228,7 +228,7 @@ function preg_match_all ($pattern, $subject, array &$subpatterns = null, $flags
|
|||
* are also available, including the deprecated 'e'
|
||||
* (PREG_REPLACE_EVAL), which is specific to this function.
|
||||
* </p>
|
||||
* @param string|string[] $replace <p>
|
||||
* @param string|string[] $replacement <p>
|
||||
* The string or an array with strings to replace. If this parameter is a
|
||||
* string and the <i>pattern</i> parameter is an array,
|
||||
* all patterns will be replaced by that string. If both
|
||||
|
@ -302,12 +302,12 @@ function preg_match_all ($pattern, $subject, array &$subpatterns = null, $flags
|
|||
* be returned, otherwise <i>subject</i> will be
|
||||
* returned unchanged or <b>NULL</b> if an error occurred.
|
||||
*/
|
||||
function preg_replace ($regex, $replace, $subject, $limit = -1, &$count = null) {}
|
||||
function preg_replace ($pattern, $replacement, $subject, $limit = -1, &$count = null) {}
|
||||
|
||||
/**
|
||||
* Perform a regular expression search and replace using a callback
|
||||
* @link https://php.net/manual/en/function.preg-replace-callback.php
|
||||
* @param string|string[] $regex <p>
|
||||
* @param string|string[] $pattern <p>
|
||||
* The pattern to search for. It can be either a string or an array with
|
||||
* strings.
|
||||
* </p>
|
||||
|
@ -373,7 +373,7 @@ function preg_replace ($regex, $replace, $subject, $limit = -1, &$count = null)
|
|||
* If matches are found, the new subject will be returned, otherwise
|
||||
* <i>subject</i> will be returned unchanged.
|
||||
*/
|
||||
function preg_replace_callback ($regex, callable $callback, $subject, $limit = -1, &$count = null, $flags=[]) {}
|
||||
function preg_replace_callback ($pattern, callable $callback, $subject, $limit = -1, &$count = null, $flags=[]) {}
|
||||
|
||||
/**
|
||||
* Perform a regular expression search and replace using callbacks
|
||||
|
@ -391,8 +391,8 @@ function preg_replace_callback_array ($pattern, $subject , $limit = -1, &$count
|
|||
/**
|
||||
* Perform a regular expression search and replace
|
||||
* @link https://php.net/manual/en/function.preg-filter.php
|
||||
* @param string|string[] $regex
|
||||
* @param string|string[] $replace
|
||||
* @param string|string[] $pattern
|
||||
* @param string|string[] $replacement
|
||||
* @param string|string[] $subject
|
||||
* @param int $limit [optional]
|
||||
* @param int &$count [optional]
|
||||
|
@ -404,7 +404,7 @@ function preg_replace_callback_array ($pattern, $subject , $limit = -1, &$count
|
|||
* is returned when <i>subject</i> is an array
|
||||
* or <b>NULL</b> otherwise.
|
||||
*/
|
||||
function preg_filter ($regex, $replace, $subject, $limit = -1, &$count = null) {}
|
||||
function preg_filter ($pattern, $replacement, $subject, $limit = -1, &$count = null) {}
|
||||
|
||||
/**
|
||||
* Split string by a regular expression
|
||||
|
@ -440,7 +440,7 @@ function preg_split ($pattern, $subject, $limit = -1, $flags = 0) {}
|
|||
* @param string $str <p>
|
||||
* The input string.
|
||||
* </p>
|
||||
* @param string $delim_char [optional] <p>
|
||||
* @param string $delimiter [optional] <p>
|
||||
* If the optional <i>delimiter</i> is specified, it
|
||||
* will also be escaped. This is useful for escaping the delimiter
|
||||
* that is required by the PCRE functions. The / is the most commonly
|
||||
|
@ -448,15 +448,15 @@ function preg_split ($pattern, $subject, $limit = -1, $flags = 0) {}
|
|||
* </p>
|
||||
* @return string the quoted (escaped) string.
|
||||
*/
|
||||
function preg_quote ($str, $delim_char = null) {}
|
||||
function preg_quote ($str, $delimiter = null) {}
|
||||
|
||||
/**
|
||||
* Return array entries that match the pattern
|
||||
* @link https://php.net/manual/en/function.preg-grep.php
|
||||
* @param string $regex <p>
|
||||
* @param string $pattern <p>
|
||||
* The pattern to search for, as a string.
|
||||
* </p>
|
||||
* @param array $input <p>
|
||||
* @param array $array <p>
|
||||
* The input array.
|
||||
* </p>
|
||||
* @param int $flags [optional] <p>
|
||||
|
@ -467,7 +467,7 @@ function preg_quote ($str, $delim_char = null) {}
|
|||
* @return array|false an array indexed using the keys from the
|
||||
* <i>input</i> array or false when pattern cannot be compiled.
|
||||
*/
|
||||
function preg_grep ($regex, array $input, $flags = 0) {}
|
||||
function preg_grep ($pattern, array $array, $flags = 0) {}
|
||||
|
||||
/**
|
||||
* Returns the error code of the last PCRE regex execution
|
||||
|
|
|
@ -5,15 +5,15 @@
|
|||
/**
|
||||
* Send a signal to a process
|
||||
* @link https://php.net/manual/en/function.posix-kill.php
|
||||
* @param int $pid <p>
|
||||
* @param int $process_id <p>
|
||||
* The process identifier.
|
||||
* </p>
|
||||
* @param int $sig <p>
|
||||
* @param int $signal <p>
|
||||
* One of the PCNTL signals constants.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_kill ($pid, $sig) {}
|
||||
function posix_kill ($process_id, $signal) {}
|
||||
|
||||
/**
|
||||
* Return the current process identifier
|
||||
|
@ -39,12 +39,12 @@ function posix_getuid () {}
|
|||
/**
|
||||
* Set the UID of the current process
|
||||
* @link https://php.net/manual/en/function.posix-setuid.php
|
||||
* @param int $uid <p>
|
||||
* @param int $user_id <p>
|
||||
* The user id.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_setuid ($uid) {}
|
||||
function posix_setuid ($user_id) {}
|
||||
|
||||
/**
|
||||
* Return the effective user ID of the current process
|
||||
|
@ -56,12 +56,12 @@ function posix_geteuid () {}
|
|||
/**
|
||||
* Set the effective UID of the current process
|
||||
* @link https://php.net/manual/en/function.posix-seteuid.php
|
||||
* @param int $uid <p>
|
||||
* @param int $user_id <p>
|
||||
* The user id.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_seteuid ($uid) {}
|
||||
function posix_seteuid ($user_id) {}
|
||||
|
||||
/**
|
||||
* Set system resource limits
|
||||
|
@ -71,12 +71,12 @@ function posix_seteuid ($uid) {}
|
|||
* {@link https://php.net/manual/en/posix.constants.setrlimit.php resource limit constant}
|
||||
* corresponding to the limit that is being set.
|
||||
* </p>
|
||||
* @param int $softlimit The soft limit, in whatever unit the resource limit requires, or POSIX_RLIMIT_INFINITY.
|
||||
* @param int $hardlimit The hard limit, in whatever unit the resource limit requires, or POSIX_RLIMIT_INFINITY.
|
||||
* @param int $soft_limit The soft limit, in whatever unit the resource limit requires, or POSIX_RLIMIT_INFINITY.
|
||||
* @param int $hard_limit The hard limit, in whatever unit the resource limit requires, or POSIX_RLIMIT_INFINITY.
|
||||
* @return bool Returns TRUE on success or FALSE on failure.
|
||||
* @since 7.0
|
||||
*/
|
||||
function posix_setrlimit ($resource, $softlimit, $hardlimit ) {}
|
||||
function posix_setrlimit ($resource, $soft_limit, $hard_limit ) {}
|
||||
/**
|
||||
* Return the real group ID of the current process
|
||||
* @link https://php.net/manual/en/function.posix-getgid.php
|
||||
|
@ -87,12 +87,12 @@ function posix_getgid () {}
|
|||
/**
|
||||
* Set the GID of the current process
|
||||
* @link https://php.net/manual/en/function.posix-setgid.php
|
||||
* @param int $gid <p>
|
||||
* @param int $group_id <p>
|
||||
* The group id.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_setgid ($gid) {}
|
||||
function posix_setgid ($group_id) {}
|
||||
|
||||
/**
|
||||
* Return the effective group ID of the current process
|
||||
|
@ -104,12 +104,12 @@ function posix_getegid () {}
|
|||
/**
|
||||
* Set the effective GID of the current process
|
||||
* @link https://php.net/manual/en/function.posix-setegid.php
|
||||
* @param int $gid <p>
|
||||
* @param int $group_id <p>
|
||||
* The group id.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_setegid ($gid) {}
|
||||
function posix_setegid ($group_id) {}
|
||||
|
||||
/**
|
||||
* Return the group set of the current process
|
||||
|
@ -143,30 +143,30 @@ function posix_setsid () {}
|
|||
/**
|
||||
* Set process group id for job control
|
||||
* @link https://php.net/manual/en/function.posix-setpgid.php
|
||||
* @param int $pid <p>
|
||||
* @param int $process_id <p>
|
||||
* The process id.
|
||||
* </p>
|
||||
* @param int $pgid <p>
|
||||
* @param int $process_group_id <p>
|
||||
* The process group id.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_setpgid ($pid, $pgid) {}
|
||||
function posix_setpgid ($process_id, $process_group_id) {}
|
||||
|
||||
/**
|
||||
* Get process group id for job control
|
||||
* @link https://php.net/manual/en/function.posix-getpgid.php
|
||||
* @param int $pid <p>
|
||||
* @param int $process_id <p>
|
||||
* The process id.
|
||||
* </p>
|
||||
* @return int the identifier, as an integer.
|
||||
*/
|
||||
function posix_getpgid ($pid) {}
|
||||
function posix_getpgid ($process_id) {}
|
||||
|
||||
/**
|
||||
* Get the current sid of the process
|
||||
* @link https://php.net/manual/en/function.posix-getsid.php
|
||||
* @param int $pid <p>
|
||||
* @param int $process_id <p>
|
||||
* The process identifier. If set to 0, the current process is
|
||||
* assumed. If an invalid <i>pid</i> is
|
||||
* specified, then <b>FALSE</b> is returned and an error is set which
|
||||
|
@ -174,7 +174,7 @@ function posix_getpgid ($pid) {}
|
|||
* </p>
|
||||
* @return int the identifier, as an integer.
|
||||
*/
|
||||
function posix_getsid ($pid) {}
|
||||
function posix_getsid ($process_id) {}
|
||||
|
||||
/**
|
||||
* Get system name
|
||||
|
@ -222,18 +222,18 @@ function posix_ctermid () {}
|
|||
/**
|
||||
* Determine terminal device name
|
||||
* @link https://php.net/manual/en/function.posix-ttyname.php
|
||||
* @param int $fd <p>
|
||||
* @param int $file_descriptor <p>
|
||||
* The file descriptor.
|
||||
* </p>
|
||||
* @return string|false On success, returns a string of the absolute path of the
|
||||
* <i>fd</i>. On failure, returns <b>FALSE</b>
|
||||
*/
|
||||
function posix_ttyname ($fd) {}
|
||||
function posix_ttyname ($file_descriptor) {}
|
||||
|
||||
/**
|
||||
* Determine if a file descriptor is an interactive terminal
|
||||
* @link https://php.net/manual/en/function.posix-isatty.php
|
||||
* @param mixed $fd <p>
|
||||
* @param mixed $file_descriptor <p>
|
||||
* The file descriptor, which is expected to be either a file resource or an integer.
|
||||
* An integer will be assumed to be a file descriptor that can be passed
|
||||
* directly to the underlying system call.<br />
|
||||
|
@ -242,7 +242,7 @@ function posix_ttyname ($fd) {}
|
|||
* @return bool <b>TRUE</b> if <i>fd</i> is an open descriptor connected
|
||||
* to a terminal and <b>FALSE</b> otherwise.
|
||||
*/
|
||||
function posix_isatty ($fd) {}
|
||||
function posix_isatty ($file_descriptor) {}
|
||||
|
||||
/**
|
||||
* Pathname of current directory
|
||||
|
@ -256,10 +256,10 @@ function posix_getcwd () {}
|
|||
/**
|
||||
* Create a fifo special file (a named pipe)
|
||||
* @link https://php.net/manual/en/function.posix-mkfifo.php
|
||||
* @param string $pathname <p>
|
||||
* @param string $filename <p>
|
||||
* Path to the FIFO file.
|
||||
* </p>
|
||||
* @param int $mode <p>
|
||||
* @param int $permissions <p>
|
||||
* The second parameter <i>mode</i> has to be given in
|
||||
* octal notation (e.g. 0644). The permission of the newly created
|
||||
* FIFO also depends on the setting of the current
|
||||
|
@ -268,15 +268,15 @@ function posix_getcwd () {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_mkfifo ($pathname, $mode) {}
|
||||
function posix_mkfifo ($filename, $permissions) {}
|
||||
|
||||
/**
|
||||
* Create a special or ordinary file (POSIX.1)
|
||||
* @link https://php.net/manual/en/function.posix-mknod.php
|
||||
* @param string $pathname <p>
|
||||
* @param string $filename <p>
|
||||
* The file to create
|
||||
* </p>
|
||||
* @param int $mode <p>
|
||||
* @param int $flags <p>
|
||||
* This parameter is constructed by a bitwise OR between file type (one of
|
||||
* the following constants: <b>POSIX_S_IFREG</b>,
|
||||
* <b>POSIX_S_IFCHR</b>, <b>POSIX_S_IFBLK</b>,
|
||||
|
@ -292,15 +292,15 @@ function posix_mkfifo ($pathname, $mode) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_mknod ($pathname, $mode, $major = 0, $minor = 0) {}
|
||||
function posix_mknod ($filename, $flags, $major = 0, $minor = 0) {}
|
||||
|
||||
/**
|
||||
* Determine accessibility of a file
|
||||
* @link https://php.net/manual/en/function.posix-access.php
|
||||
* @param string $file <p>
|
||||
* @param string $filename <p>
|
||||
* The name of the file to be tested.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* @param int $flags [optional] <p>
|
||||
* A mask consisting of one or more of <b>POSIX_F_OK</b>,
|
||||
* <b>POSIX_R_OK</b>, <b>POSIX_W_OK</b> and
|
||||
* <b>POSIX_X_OK</b>.
|
||||
|
@ -314,7 +314,7 @@ function posix_mknod ($pathname, $mode, $major = 0, $minor = 0) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_access ($file, $mode = POSIX_F_OK) {}
|
||||
function posix_access ($filename, $flags = POSIX_F_OK) {}
|
||||
|
||||
/**
|
||||
* Return info about a group by name
|
||||
|
@ -365,7 +365,7 @@ function posix_getgrnam ($name) {}
|
|||
/**
|
||||
* Return info about a group by group id
|
||||
* @link https://php.net/manual/en/function.posix-getgrgid.php
|
||||
* @param int $gid <p>
|
||||
* @param int $group_id <p>
|
||||
* The group id.
|
||||
* </p>
|
||||
* @return array The array elements returned are:
|
||||
|
@ -408,7 +408,7 @@ function posix_getgrnam ($name) {}
|
|||
* </tr>
|
||||
* </table>
|
||||
*/
|
||||
function posix_getgrgid ($gid) {}
|
||||
function posix_getgrgid ($group_id) {}
|
||||
|
||||
/**
|
||||
* Return info about a user by username
|
||||
|
@ -489,7 +489,7 @@ function posix_getpwnam ($username) {}
|
|||
/**
|
||||
* Return info about a user by user id
|
||||
* @link https://php.net/manual/en/function.posix-getpwuid.php
|
||||
* @param int $uid <p>
|
||||
* @param int $user_id <p>
|
||||
* The user identifier.
|
||||
* </p>
|
||||
* @return array an associative array with the following elements:
|
||||
|
@ -559,7 +559,7 @@ function posix_getpwnam ($username) {}
|
|||
* </tr>
|
||||
* </table>
|
||||
*/
|
||||
function posix_getpwuid ($uid) {}
|
||||
function posix_getpwuid ($user_id) {}
|
||||
|
||||
/**
|
||||
* Return info about system resource limits
|
||||
|
@ -662,27 +662,27 @@ function posix_errno () {}
|
|||
/**
|
||||
* Retrieve the system error message associated with the given errno
|
||||
* @link https://php.net/manual/en/function.posix-strerror.php
|
||||
* @param int $errno <p>
|
||||
* @param int $error_code <p>
|
||||
* A POSIX error number, returned by
|
||||
* <b>posix_get_last_error</b>. If set to 0, then the
|
||||
* string "Success" is returned.
|
||||
* </p>
|
||||
* @return string the error message, as a string.
|
||||
*/
|
||||
function posix_strerror ($errno) {}
|
||||
function posix_strerror ($error_code) {}
|
||||
|
||||
/**
|
||||
* Calculate the group access list
|
||||
* @link https://php.net/manual/en/function.posix-initgroups.php
|
||||
* @param string $name <p>
|
||||
* @param string $username <p>
|
||||
* The user to calculate the list for.
|
||||
* </p>
|
||||
* @param int $base_group_id <p>
|
||||
* @param int $group_id <p>
|
||||
* Typically the group number from the password file.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function posix_initgroups ($name, $base_group_id) {}
|
||||
function posix_initgroups ($username, $group_id) {}
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -16,10 +16,10 @@ function readline ($prompt = null) {}
|
|||
/**
|
||||
* Gets/sets various internal readline variables
|
||||
* @link https://php.net/manual/en/function.readline-info.php
|
||||
* @param string $varname [optional] <p>
|
||||
* @param string $var_name [optional] <p>
|
||||
* A variable name.
|
||||
* </p>
|
||||
* @param string $newvalue [optional] <p>
|
||||
* @param string $value [optional] <p>
|
||||
* If provided, this will be the new value of the setting.
|
||||
* </p>
|
||||
* @return mixed If called with no parameters, this function returns an array of
|
||||
|
@ -31,7 +31,7 @@ function readline ($prompt = null) {}
|
|||
* <p>
|
||||
* If called with one or two parameters, the old value is returned.
|
||||
*/
|
||||
function readline_info ($varname = null, $newvalue = null) {}
|
||||
function readline_info ($var_name = null, $value = null) {}
|
||||
|
||||
/**
|
||||
* Adds a line to the history
|
||||
|
@ -81,13 +81,13 @@ function readline_write_history ($filename = null) {}
|
|||
/**
|
||||
* Registers a completion function
|
||||
* @link https://php.net/manual/en/function.readline-completion-function.php
|
||||
* @param callable $funcname <p>
|
||||
* @param callable $callback <p>
|
||||
* You must supply the name of an existing function which accepts a
|
||||
* partial command line and returns an array of possible matches.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function readline_completion_function (callable $funcname) {}
|
||||
function readline_completion_function (callable $callback) {}
|
||||
|
||||
/**
|
||||
* Initializes the readline callback interface and terminal, prints the prompt and returns immediately
|
||||
|
|
|
@ -259,7 +259,7 @@ function session_set_save_handler (SessionHandlerInterface $session_handler, $re
|
|||
/**
|
||||
* Get and/or set the current cache limiter
|
||||
* @link https://php.net/manual/en/function.session-cache-limiter.php
|
||||
* @param string $cache_limiter [optional] <p>
|
||||
* @param string $value [optional] <p>
|
||||
* If <i>cache_limiter</i> is specified, the name of the
|
||||
* current cache limiter is changed to the new value.
|
||||
* </p>
|
||||
|
@ -311,12 +311,12 @@ function session_set_save_handler (SessionHandlerInterface $session_handler, $re
|
|||
* </table>
|
||||
* @return string the name of the current cache limiter.
|
||||
*/
|
||||
function session_cache_limiter ($cache_limiter = null) {}
|
||||
function session_cache_limiter ($value = null) {}
|
||||
|
||||
/**
|
||||
* Return current cache expire
|
||||
* @link https://php.net/manual/en/function.session-cache-expire.php
|
||||
* @param string $new_cache_expire [optional] <p>
|
||||
* @param string $value [optional] <p>
|
||||
* If <i>new_cache_expire</i> is given, the current cache
|
||||
* expire is replaced with <i>new_cache_expire</i>.
|
||||
* </p>
|
||||
|
@ -328,7 +328,7 @@ function session_cache_limiter ($cache_limiter = null) {}
|
|||
* @return int the current setting of session.cache_expire.
|
||||
* The value returned should be read in minutes, defaults to 180.
|
||||
*/
|
||||
function session_cache_expire ($new_cache_expire = null) {}
|
||||
function session_cache_expire ($value = null) {}
|
||||
|
||||
/**
|
||||
* Set the session cookie parameters
|
||||
|
|
|
@ -9,12 +9,12 @@
|
|||
* System's id for the shared memory block.
|
||||
* Can be passed as a decimal or hex.
|
||||
* </p>
|
||||
* @param string $flags <p>
|
||||
* @param string $mode <p>
|
||||
* The flags that you can use:
|
||||
* "a" for access (sets SHM_RDONLY for shmat)
|
||||
* use this flag when you need to open an existing shared memory
|
||||
* segment for read only
|
||||
* @param int $mode <p>
|
||||
* @param int $permissions <p>
|
||||
* The permissions that you wish to assign to your memory segment, those
|
||||
* are the same as permission for a file. Permissions need to be passed
|
||||
* in octal form, like for example 0644
|
||||
|
@ -26,29 +26,29 @@
|
|||
* use to access the shared memory segment you've created. <b>FALSE</b> is
|
||||
* returned on failure.
|
||||
*/
|
||||
function shmop_open ($key, $flags, $mode, $size) {}
|
||||
function shmop_open ($key, $mode, $permissions, $size) {}
|
||||
|
||||
/**
|
||||
* Read data from shared memory block
|
||||
* @link https://php.net/manual/en/function.shmop-read.php
|
||||
* @param resource $shmid <p>
|
||||
* @param resource $shmop <p>
|
||||
* The shared memory block identifier created by
|
||||
* <b>shmop_open</b>
|
||||
* </p>
|
||||
* @param int $start <p>
|
||||
* @param int $offset <p>
|
||||
* Offset from which to start reading
|
||||
* </p>
|
||||
* @param int $count <p>
|
||||
* @param int $size <p>
|
||||
* The number of bytes to read
|
||||
* </p>
|
||||
* @return string|false the data or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function shmop_read ($shmid, $start, $count) {}
|
||||
function shmop_read ($shmop, $offset, $size) {}
|
||||
|
||||
/**
|
||||
* Close shared memory block
|
||||
* @link https://php.net/manual/en/function.shmop-close.php
|
||||
* @param resource $shmid <p>
|
||||
* @param resource $shmop <p>
|
||||
* The shared memory block identifier created by
|
||||
* <b>shmop_open</b>
|
||||
* </p>
|
||||
|
@ -56,24 +56,24 @@ function shmop_read ($shmid, $start, $count) {}
|
|||
*
|
||||
* @deprecated 8.0
|
||||
*/
|
||||
function shmop_close ($shmid) {}
|
||||
function shmop_close ($shmop) {}
|
||||
|
||||
/**
|
||||
* Get size of shared memory block
|
||||
* @link https://php.net/manual/en/function.shmop-size.php
|
||||
* @param resource $shmid <p>
|
||||
* @param resource $shmop <p>
|
||||
* The shared memory block identifier created by
|
||||
* <b>shmop_open</b>
|
||||
* </p>
|
||||
* @return int an int, which represents the number of bytes the shared memory
|
||||
* block occupies.
|
||||
*/
|
||||
function shmop_size ($shmid) {}
|
||||
function shmop_size ($shmop) {}
|
||||
|
||||
/**
|
||||
* Write data into shared memory block
|
||||
* @link https://php.net/manual/en/function.shmop-write.php
|
||||
* @param resource $shmid <p>
|
||||
* @param resource $shmop <p>
|
||||
* The shared memory block identifier created by
|
||||
* <b>shmop_open</b>
|
||||
* </p>
|
||||
|
@ -87,18 +87,18 @@ function shmop_size ($shmid) {}
|
|||
* @return int|false The size of the written <i>data</i>, or <b>FALSE</b> on
|
||||
* failure.
|
||||
*/
|
||||
function shmop_write ($shmid, $data, $offset) {}
|
||||
function shmop_write ($shmop, $data, $offset) {}
|
||||
|
||||
/**
|
||||
* Delete shared memory block
|
||||
* @link https://php.net/manual/en/function.shmop-delete.php
|
||||
* @param resource $shmid <p>
|
||||
* @param resource $shmop <p>
|
||||
* The shared memory block identifier created by
|
||||
* <b>shmop_open</b>
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function shmop_delete ($shmid) {}
|
||||
function shmop_delete ($shmop) {}
|
||||
|
||||
/**
|
||||
* @since 8.0
|
||||
|
|
|
@ -784,12 +784,12 @@ class SoapHeader {
|
|||
/**
|
||||
* Set whether to use the SOAP error handler
|
||||
* @link https://php.net/manual/en/function.use-soap-error-handler.php
|
||||
* @param bool $handler [optional] <p>
|
||||
* @param bool $enable [optional] <p>
|
||||
* Set to <b>TRUE</b> to send error details to clients.
|
||||
* </p>
|
||||
* @return bool the original value.
|
||||
*/
|
||||
function use_soap_error_handler ($handler = true) {}
|
||||
function use_soap_error_handler ($enable = true) {}
|
||||
|
||||
/**
|
||||
* Checks if a SOAP call has failed
|
||||
|
|
|
@ -104,8 +104,8 @@ function sodium_crypto_aead_aes256gcm_is_available(): bool
|
|||
* Authenticated Encryption with Associated Data (decrypt)
|
||||
* AES-256-GCM
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-aead-aes256gcm-decrypt.php
|
||||
* @param string $string encrypted message
|
||||
* @param string $ad additional data
|
||||
* @param string $ciphertext encrypted message
|
||||
* @param string $additional_data additional data
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string|false
|
||||
|
@ -113,12 +113,12 @@ function sodium_crypto_aead_aes256gcm_is_available(): bool
|
|||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_aead_aes256gcm_decrypt(
|
||||
string $string,
|
||||
string $ad,
|
||||
string $ciphertext,
|
||||
string $additional_data,
|
||||
string $nonce,
|
||||
string $key
|
||||
): string {
|
||||
unset($string, $ad, $nonce, $key);
|
||||
unset($ciphertext, $additional_data, $nonce, $key);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -126,50 +126,50 @@ function sodium_crypto_aead_aes256gcm_decrypt(
|
|||
* Authenticated Encryption with Associated Data (encrypt)
|
||||
* AES-256-GCM
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-aead-aes256gcm-encrypt.php
|
||||
* @param string $string plaintext message
|
||||
* @param string $ad
|
||||
* @param string $message plaintext message
|
||||
* @param string $additional_data
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_aead_aes256gcm_encrypt(string $string, string $ad, string $nonce, string $key): string {}
|
||||
function sodium_crypto_aead_aes256gcm_encrypt(string $message, string $additional_data, string $nonce, string $key): string {}
|
||||
|
||||
/**
|
||||
* Authenticated Encryption with Associated Data (decrypt)
|
||||
* ChaCha20 + Poly1305
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-aead-chacha20poly1305-decrypt.php
|
||||
* @param string $string encrypted message
|
||||
* @param string $ad additional data
|
||||
* @param string $ciphertext encrypted message
|
||||
* @param string $additional_data additional data
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_aead_chacha20poly1305_decrypt(string $string, string $ad, string $nonce, string $key): string {}
|
||||
function sodium_crypto_aead_chacha20poly1305_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key): string {}
|
||||
|
||||
/**
|
||||
* Authenticated Encryption with Associated Data (encrypt)
|
||||
* ChaCha20 + Poly1305
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-aead-chacha20poly1305-encrypt.php
|
||||
* @param string $string plaintext message
|
||||
* @param string $ad additional data
|
||||
* @param string $message plaintext message
|
||||
* @param string $additional_data additional data
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_aead_chacha20poly1305_encrypt(string $string, string $ad, string $nonce, string $key): string {}
|
||||
function sodium_crypto_aead_chacha20poly1305_encrypt(string $message, string $additional_data, string $nonce, string $key): string {}
|
||||
|
||||
/**
|
||||
* Authenticated Encryption with Associated Data (decrypt)
|
||||
* ChaCha20 + Poly1305 (IETF version)
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-aead-chacha20poly1305-ietf-decrypt.php
|
||||
* @param string $string encrypted message
|
||||
* @param string $ad additional data
|
||||
* @param string $ciphertext encrypted message
|
||||
* @param string $additional_data additional data
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string
|
||||
|
@ -177,12 +177,12 @@ function sodium_crypto_aead_chacha20poly1305_encrypt(string $string, string $ad,
|
|||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_aead_chacha20poly1305_ietf_decrypt(
|
||||
string $string,
|
||||
string $ad,
|
||||
string $ciphertext,
|
||||
string $additional_data,
|
||||
string $nonce,
|
||||
string $key
|
||||
): string {
|
||||
unset($string, $ad, $nonce, $key);
|
||||
unset($ciphertext, $additional_data, $nonce, $key);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -190,8 +190,8 @@ function sodium_crypto_aead_chacha20poly1305_ietf_decrypt(
|
|||
* Authenticated Encryption with Associated Data (encrypt)
|
||||
* ChaCha20 + Poly1305 (IETF version)
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-aead-chacha20poly1305-ietf-encrypt.php
|
||||
* @param string $string plaintext message
|
||||
* @param string $ad additional data
|
||||
* @param string $message plaintext message
|
||||
* @param string $additional_data additional data
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string
|
||||
|
@ -199,12 +199,12 @@ function sodium_crypto_aead_chacha20poly1305_ietf_decrypt(
|
|||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_aead_chacha20poly1305_ietf_encrypt(
|
||||
string $string,
|
||||
string $ad,
|
||||
string $message,
|
||||
string $additional_data,
|
||||
string $nonce,
|
||||
string $key
|
||||
): string {
|
||||
unset($string, $ad, $nonce, $key);
|
||||
unset($message, $additional_data, $nonce, $key);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -212,17 +212,17 @@ function sodium_crypto_aead_chacha20poly1305_ietf_encrypt(
|
|||
* Secret-key message authentication
|
||||
* HMAC SHA-512/256
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-auth.php
|
||||
* @param string $string
|
||||
* @param string $message
|
||||
* @param string $key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_auth(
|
||||
string $string,
|
||||
string $message,
|
||||
string $key
|
||||
): string {
|
||||
unset($string, $key);
|
||||
unset($message, $key);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -246,43 +246,43 @@ function sodium_crypto_kx_keypair (): string {}
|
|||
/**
|
||||
* @link https://php.net/manual/en/function.sodium-crypto-kx-publickey.php
|
||||
* @since 7.2
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
|
||||
function sodium_crypto_kx_publickey (string $key): string {}
|
||||
function sodium_crypto_kx_publickey (string $key_pair): string {}
|
||||
|
||||
/**
|
||||
* @link https://php.net/manual/en/function.sodium-crypto-kx-secretkey.php
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_kx_secretkey (string $key): string {}
|
||||
function sodium_crypto_kx_secretkey (string $key_pair): string {}
|
||||
|
||||
/**
|
||||
* @link https://php.net/manual/en/function.sodium-crypto-kx-seed-keypair.php
|
||||
* @since 7.2
|
||||
* @param string $string
|
||||
* @param string $seed
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_kx_seed_keypair (string $string): string {}
|
||||
function sodium_crypto_kx_seed_keypair (string $seed): string {}
|
||||
|
||||
/**
|
||||
* @link https://php.net/manual/en/function.sodium-crypto-kx-server-session-keys.php
|
||||
* @since 7.2
|
||||
* @param string $server_keypair
|
||||
* @param string $server_key_pair
|
||||
* @param string $client_key
|
||||
* @return string[]
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_kx_server_session_keys (string $server_keypair , string $client_key): array {}
|
||||
function sodium_crypto_kx_server_session_keys (string $server_key_pair , string $client_key): array {}
|
||||
|
||||
/**
|
||||
* Get random bytes for key
|
||||
|
@ -295,17 +295,17 @@ function sodium_crypto_generichash_keygen(): string {}
|
|||
|
||||
/**
|
||||
* @link https://php.net/manual/en/function.sodium-crypto-kx-client-session-keys.php
|
||||
* @param string $client_keypair
|
||||
* @param string $client_key_pair
|
||||
* @param string $server_key
|
||||
* @return string[]
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_kx_client_session_keys (string $client_keypair, string $server_key): array {}
|
||||
function sodium_crypto_kx_client_session_keys (string $client_key_pair, string $server_key): array {}
|
||||
|
||||
/**
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-kdf-derive-from-key.php
|
||||
* @param int $subkey_len
|
||||
* @param int $subkey_length
|
||||
* @param int $subkey_id
|
||||
* @param string $context
|
||||
* @param string $key
|
||||
|
@ -313,7 +313,7 @@ function sodium_crypto_kx_client_session_keys (string $client_keypair, string $s
|
|||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_kdf_derive_from_key (int $subkey_len, int $subkey_id, string $context, string $key): string {}
|
||||
function sodium_crypto_kdf_derive_from_key (int $subkey_length, int $subkey_id, string $context, string $key): string {}
|
||||
|
||||
/**
|
||||
* Get random bytes for key
|
||||
|
@ -366,27 +366,27 @@ function sodium_unpad ($string, $block_size): string {}
|
|||
* Secret-key message verification
|
||||
* HMAC SHA-512/256
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-auth-verify.php
|
||||
* @param string $signature
|
||||
* @param string $string
|
||||
* @param string $mac
|
||||
* @param string $message
|
||||
* @param string $key
|
||||
* @return bool
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_auth_verify(string $signature, string $string, string $key): bool {}
|
||||
function sodium_crypto_auth_verify(string $mac, string $message, string $key): bool {}
|
||||
|
||||
/**
|
||||
* Public-key authenticated encryption (encrypt)
|
||||
* X25519 + Xsalsa20 + Poly1305
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box.php
|
||||
* @param string $string
|
||||
* @param string $message
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box(string $string, string $nonce, string $key): string {}
|
||||
function sodium_crypto_box(string $message, string $nonce, string $key_pair): string {}
|
||||
|
||||
/**
|
||||
* Generate an X25519 keypair for use with the sodium_crypto_box API
|
||||
|
@ -402,12 +402,12 @@ function sodium_crypto_box_keypair(): string {
|
|||
/**
|
||||
* Derive an X25519 keypair for use with the sodium_crypto_box API from a seed
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box-seed-keypair.php
|
||||
* @param string $key
|
||||
* @param string $seed
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box_seed_keypair(string $key): string {}
|
||||
function sodium_crypto_box_seed_keypair(string $seed): string {}
|
||||
|
||||
/**
|
||||
* Create an X25519 keypair from an X25519 secret key and X25519 public key
|
||||
|
@ -424,75 +424,75 @@ function sodium_crypto_box_keypair_from_secretkey_and_publickey(string $secret_k
|
|||
* Public-key authenticated encryption (decrypt)
|
||||
* X25519 + Xsalsa20 + Poly1305
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box-open.php
|
||||
* @param string $string
|
||||
* @param string $ciphertext
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string|false
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box_open(string $string, string $nonce, string $key): string {}
|
||||
function sodium_crypto_box_open(string $ciphertext, string $nonce, string $key_pair): string {}
|
||||
|
||||
/**
|
||||
* Get an X25519 public key from an X25519 keypair
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box-publickey.php
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box_publickey(
|
||||
string $key
|
||||
string $key_pair
|
||||
): string {
|
||||
unset($key);
|
||||
unset($key_pair);
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Derive an X25519 public key from an X25519 secret key
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box-publickey-from-secretkey.php
|
||||
* @param string $key
|
||||
* @param string $secret_key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box_publickey_from_secretkey(string $key): string {}
|
||||
function sodium_crypto_box_publickey_from_secretkey(string $secret_key): string {}
|
||||
|
||||
/**
|
||||
* Anonymous public-key encryption (encrypt)
|
||||
* X25519 + Xsalsa20 + Poly1305 + BLAKE2b
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box-seal.php
|
||||
* @param string $string
|
||||
* @param string $key
|
||||
* @param string $message
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box_seal(string $string, string $key): string {}
|
||||
function sodium_crypto_box_seal(string $message, string $key_pair): string {}
|
||||
|
||||
/**
|
||||
* Anonymous public-key encryption (decrypt)
|
||||
* X25519 + Xsalsa20 + Poly1305 + BLAKE2b
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box-seal-open.php
|
||||
* @param string $string
|
||||
* @param string $key
|
||||
* @param string $ciphertext
|
||||
* @param string $key_pair
|
||||
* @return string|false
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box_seal_open(string $string, string $key): string {}
|
||||
function sodium_crypto_box_seal_open(string $ciphertext, string $key_pair): string {}
|
||||
|
||||
/**
|
||||
* Extract the X25519 secret key from an X25519 keypair
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-box-secretkey.php
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_box_secretkey(string $key): string
|
||||
function sodium_crypto_box_secretkey(string $key_pair): string
|
||||
{
|
||||
unset($key);
|
||||
unset($key_pair);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -519,14 +519,14 @@ function sodium_crypto_kx(
|
|||
/**
|
||||
* Fast and secure cryptographic hash
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-generichash.php
|
||||
* @param string $string
|
||||
* @param string $message
|
||||
* @param string $key
|
||||
* @param int $length
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_generichash(string $string, string $key = '', int $length = 32): string{}
|
||||
function sodium_crypto_generichash(string $message, string $key = '', int $length = 32): string{}
|
||||
|
||||
/**
|
||||
* Create a new hash state (e.g. to use for streams)
|
||||
|
@ -551,12 +551,12 @@ function sodium_crypto_generichash_init(
|
|||
* BLAKE2b
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-generichash-update.php
|
||||
* @param string &$state
|
||||
* @param string $string
|
||||
* @param string $message
|
||||
* @return bool
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_generichash_update(string &$state, string $string): bool {}
|
||||
function sodium_crypto_generichash_update(string &$state, string $message): bool {}
|
||||
|
||||
/**
|
||||
* Get the final hash
|
||||
|
@ -585,12 +585,12 @@ function sodium_crypto_generichash_final(
|
|||
* @param string $salt
|
||||
* @param int $opslimit
|
||||
* @param int $memlimit
|
||||
* @param int $alg [optional]
|
||||
* @param int $algo [optional]
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_pwhash(int $length, string $password, string $salt, int $opslimit, int $memlimit, int $alg): string {}
|
||||
function sodium_crypto_pwhash(int $length, string $password, string $salt, int $opslimit, int $memlimit, int $algo): string {}
|
||||
|
||||
/**
|
||||
* Get a formatted password hash (for storage)
|
||||
|
@ -660,32 +660,32 @@ function sodium_crypto_pwhash_scryptsalsa208sha256_str_verify(string $hash, stri
|
|||
* Elliptic Curve Diffie Hellman over Curve25519
|
||||
* X25519
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-scalarmult.php
|
||||
* @param string $string_1
|
||||
* @param string $string_2
|
||||
* @param string $n
|
||||
* @param string $p
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_scalarmult(string $string_1, string $string_2): string {}
|
||||
function sodium_crypto_scalarmult(string $n, string $p): string {}
|
||||
|
||||
/**
|
||||
* Authenticated secret-key encryption (encrypt)
|
||||
* Xsals20 + Poly1305
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-secretbox.php
|
||||
* @param string $string
|
||||
* @param string $message
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_secretbox(string $string, string $nonce, string $key): string {}
|
||||
function sodium_crypto_secretbox(string $message, string $nonce, string $key): string {}
|
||||
|
||||
/**
|
||||
* Authenticated secret-key encryption (decrypt)
|
||||
* Xsals20 + Poly1305
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-secretbox-open.php
|
||||
* @param string $string
|
||||
* @param string $ciphertext
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string|false
|
||||
|
@ -693,11 +693,11 @@ function sodium_crypto_secretbox(string $string, string $nonce, string $key): st
|
|||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_secretbox_open(
|
||||
string $string,
|
||||
string $ciphertext,
|
||||
string $nonce,
|
||||
string $key
|
||||
): string {
|
||||
unset($string, $nonce, $key);
|
||||
unset($ciphertext, $nonce, $key);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -705,57 +705,57 @@ function sodium_crypto_secretbox_open(
|
|||
* A short keyed hash suitable for data structures
|
||||
* SipHash-2-4
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-shorthash.php
|
||||
* @param string $string
|
||||
* @param string $message
|
||||
* @param string $key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_shorthash(string $string, string $key): string {}
|
||||
function sodium_crypto_shorthash(string $message, string $key): string {}
|
||||
|
||||
/**
|
||||
* Digital Signature
|
||||
* Ed25519
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign.php
|
||||
* @param string $string
|
||||
* @param string $keypair
|
||||
* @param string $message
|
||||
* @param string $secret_key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign(string $string, string $keypair): string {}
|
||||
function sodium_crypto_sign(string $message, string $secret_key): string {}
|
||||
|
||||
/**
|
||||
* Digital Signature (detached)
|
||||
* Ed25519
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-detached.php
|
||||
* @param string $string
|
||||
* @param string $keypair
|
||||
* @param string $message
|
||||
* @param string $secret_key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_detached(string $string, string $keypair): string {}
|
||||
function sodium_crypto_sign_detached(string $message, string $secret_key): string {}
|
||||
|
||||
/**
|
||||
* Convert an Ed25519 public key to an X25519 public key
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-ed25519-pk-to-curve25519.php
|
||||
* @param string $key
|
||||
* @param string $public_key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_ed25519_pk_to_curve25519(string $key): string {}
|
||||
function sodium_crypto_sign_ed25519_pk_to_curve25519(string $public_key): string {}
|
||||
|
||||
/**
|
||||
* Convert an Ed25519 secret key to an X25519 secret key
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-ed25519-sk-to-curve25519.php
|
||||
* @param string $key
|
||||
* @param string $secret_key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_ed25519_sk_to_curve25519(string $key): string {}
|
||||
function sodium_crypto_sign_ed25519_sk_to_curve25519(string $secret_key): string {}
|
||||
|
||||
/**
|
||||
* Generate an Ed25519 keypair for use with the crypto_sign API
|
||||
|
@ -790,70 +790,70 @@ function sodium_crypto_sign_keypair_from_secretkey_and_publickey(
|
|||
/**
|
||||
* Verify a signed message and return the plaintext
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-open.php
|
||||
* @param string $string
|
||||
* @param string $keypair
|
||||
* @param string $ciphertext
|
||||
* @param string $public_key
|
||||
* @return string|false
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_open(string $string, string $keypair): string {}
|
||||
function sodium_crypto_sign_open(string $ciphertext, string $public_key): string {}
|
||||
|
||||
/**
|
||||
* Get the public key from an Ed25519 keypair
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-publickey.php
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_publickey(string $key): string {}
|
||||
function sodium_crypto_sign_publickey(string $key_pair): string {}
|
||||
|
||||
/**
|
||||
* Get the secret key from an Ed25519 keypair
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-secretkey.php
|
||||
* @param string $key
|
||||
* @param string $key_pair
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_secretkey(
|
||||
string $key
|
||||
string $key_pair
|
||||
): string {
|
||||
unset($key);
|
||||
unset($key_pair);
|
||||
return '';
|
||||
}
|
||||
|
||||
/**
|
||||
* Derive an Ed25519 public key from an Ed25519 secret key
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-publickey-from-secretkey.php
|
||||
* @param string $key
|
||||
* @param string $secret_key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_publickey_from_secretkey(string $key): string {}
|
||||
function sodium_crypto_sign_publickey_from_secretkey(string $secret_key): string {}
|
||||
|
||||
/**
|
||||
* Derive an Ed25519 keypair for use with the crypto_sign API from a seed
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-seed-keypair.php
|
||||
* @param string $key
|
||||
* @param string $seed
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_seed_keypair(string $key): string {}
|
||||
function sodium_crypto_sign_seed_keypair(string $seed): string {}
|
||||
|
||||
/**
|
||||
* Verify a detached signature
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-sign-verify-detached.php
|
||||
* @param string $signature
|
||||
* @param string $string
|
||||
* @param string $key
|
||||
* @param string $message
|
||||
* @param string $public_key
|
||||
* @return bool
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_sign_verify_detached(string $signature, string $string, string $key): bool {}
|
||||
function sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key): bool {}
|
||||
|
||||
/**
|
||||
* Create a keystream from a key and nonce
|
||||
|
@ -879,7 +879,7 @@ function sodium_crypto_stream(
|
|||
* Encrypt a message using a stream cipher
|
||||
* Xsalsa20
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-stream-xor.php
|
||||
* @param string $string
|
||||
* @param string $message
|
||||
* @param string $nonce
|
||||
* @param string $key
|
||||
* @return string
|
||||
|
@ -887,11 +887,11 @@ function sodium_crypto_stream(
|
|||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_stream_xor(
|
||||
string $string,
|
||||
string $message,
|
||||
string $nonce,
|
||||
string $key
|
||||
): string {
|
||||
unset($string, $nonce, $key);
|
||||
unset($message, $nonce, $key);
|
||||
return '';
|
||||
}
|
||||
|
||||
|
@ -949,13 +949,13 @@ function sodium_bin2hex(string $string): string {}
|
|||
/**
|
||||
* Compare two strings in constant time
|
||||
* @link https://www.php.net/manual/en/function.sodium-compare.php
|
||||
* @param string $string_1
|
||||
* @param string $string_2
|
||||
* @param string $string1
|
||||
* @param string $string2
|
||||
* @return int
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_compare(string $string_1, string $string_2): int {}
|
||||
function sodium_compare(string $string1, string $string2): int {}
|
||||
|
||||
/**
|
||||
* Convert from hex without side-chanels
|
||||
|
@ -981,12 +981,12 @@ function sodium_increment(string &$string) {}
|
|||
/**
|
||||
* Add the right operand to the left
|
||||
* @link https://www.php.net/manual/en/function.sodium-add.php
|
||||
* @param string &$string_1
|
||||
* @param string $string_2
|
||||
* @param string &$string1
|
||||
* @param string $string2
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_add(string &$string_1, string $string_2) {}
|
||||
function sodium_add(string &$string1, string $string2) {}
|
||||
|
||||
/**
|
||||
* Get the true major version of libsodium
|
||||
|
@ -1009,13 +1009,13 @@ function sodium_library_version_minor(): int {
|
|||
/**
|
||||
* Compare two strings in constant time
|
||||
* @link https://www.php.net/manual/en/function.sodium-memcmp.php
|
||||
* @param string $string_1
|
||||
* @param string $string_2
|
||||
* @param string $string1
|
||||
* @param string $string2
|
||||
* @return int
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_memcmp(string $string_1, string $string_2): int {}
|
||||
function sodium_memcmp(string $string1, string $string2): int {}
|
||||
|
||||
/**
|
||||
* Wipe a buffer
|
||||
|
@ -1043,13 +1043,13 @@ function sodium_version_string(): string {
|
|||
/**
|
||||
* Scalar multiplication of the base point and your key
|
||||
* @link https://www.php.net/manual/en/function.sodium-crypto-scalarmult-base
|
||||
* @param string $key
|
||||
* @param string $secret_key
|
||||
* @return string
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
*/
|
||||
function sodium_crypto_scalarmult_base(
|
||||
string $key
|
||||
string $secret_key
|
||||
): string {
|
||||
unset($sk);
|
||||
|
||||
|
@ -1104,14 +1104,14 @@ function sodium_crypto_aead_chacha20poly1305_ietf_keygen(): string {}
|
|||
* @since 7.2
|
||||
* @see https://www.php.net/manual/en/function.sodium-crypto-aead-xchacha20poly1305-ietf-decrypt.php
|
||||
*/
|
||||
function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $string,string $ad,string $nonce,string $key): string {}
|
||||
function sodium_crypto_aead_xchacha20poly1305_ietf_decrypt(string $ciphertext, string $additional_data, string $nonce, string $key): string {}
|
||||
|
||||
/**
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
* https://www.php.net/manual/en/function.sodium-crypto-aead-xchacha20poly1305-ietf-encrypt.php
|
||||
*/
|
||||
function sodium_crypto_aead_xchacha20poly1305_ietf_encrypt(string $string, string $ad, string $nonce, string $key): string{}
|
||||
function sodium_crypto_aead_xchacha20poly1305_ietf_encrypt(string $message, string $additional_data, string $nonce, string $key): string{}
|
||||
|
||||
/**
|
||||
* @since 7.2
|
||||
|
@ -1140,28 +1140,28 @@ function sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key): ar
|
|||
|
||||
/**
|
||||
* @param string &$state
|
||||
* @param string $msg
|
||||
* @param string $ad [optional]
|
||||
* @param string $message
|
||||
* @param string $additional_data [optional]
|
||||
* @param int $tag [optional]
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-push.php
|
||||
*/
|
||||
function sodium_crypto_secretstream_xchacha20poly1305_push(string &$state, string $msg, string $ad, int $tag): string{}
|
||||
function sodium_crypto_secretstream_xchacha20poly1305_push(string &$state, string $message, string $additional_data, int $tag): string{}
|
||||
|
||||
/**
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-init-pull.php
|
||||
*/
|
||||
function sodium_crypto_secretstream_xchacha20poly1305_init_pull($string, $key): string{}
|
||||
function sodium_crypto_secretstream_xchacha20poly1305_init_pull($header, $key): string{}
|
||||
|
||||
/**
|
||||
* @throws SodiumException
|
||||
* @since 7.2
|
||||
* @see https://www.php.net/manual/en/function.sodium-crypto-secretstream-xchacha20poly1305-pull.php
|
||||
*/
|
||||
function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $c, string $ad = ''): array {}
|
||||
function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $ciphertext, string $additional_data = ''): array {}
|
||||
|
||||
/**
|
||||
* @throws SodiumException
|
||||
|
|
|
@ -136,7 +136,7 @@ function serialize ($value) {}
|
|||
/**
|
||||
* Creates a PHP value from a stored representation
|
||||
* @link https://php.net/manual/en/function.unserialize.php
|
||||
* @param string $value <p>
|
||||
* @param string $data <p>
|
||||
* The serialized string.
|
||||
* </p>
|
||||
* <p>
|
||||
|
@ -174,7 +174,7 @@ function serialize ($value) {}
|
|||
* In case the passed string is not unserializeable, false is returned and
|
||||
* E_NOTICE is issued.
|
||||
*/
|
||||
function unserialize (string $value, array $options = []) {}
|
||||
function unserialize (string $data, array $options = []) {}
|
||||
|
||||
/**
|
||||
* Dumps information about a variable
|
||||
|
|
|
@ -773,10 +773,10 @@ function fflush ($stream) {}
|
|||
* Binary-safe file write
|
||||
* @link https://php.net/manual/en/function.fwrite.php
|
||||
* @param resource $stream &fs.file.pointer;
|
||||
* @param string $string <p>
|
||||
* @param string $data <p>
|
||||
* The string that is to be written.
|
||||
* </p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* @param int $length [optional] <p>
|
||||
* If the length argument is given, writing will
|
||||
* stop after length bytes have been written or
|
||||
* the end of string is reached, whichever comes
|
||||
|
@ -790,15 +790,15 @@ function fflush ($stream) {}
|
|||
* </p>
|
||||
* @return int|false the number of bytes written, or <b>FALSE</b> on error.
|
||||
*/
|
||||
function fwrite ($stream, $string, $max_length = null) {}
|
||||
function fwrite ($stream, $data, $length = null) {}
|
||||
|
||||
/**
|
||||
* &Alias; <function>fwrite</function>
|
||||
* @param resource $stream A file system pointer resource that is typically created using fopen().
|
||||
* @param string $string <p>
|
||||
* @param string $data <p>
|
||||
* The string that is to be written.
|
||||
* </p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* @param int $length [optional] <p>
|
||||
* If the length argument is given, writing will
|
||||
* stop after length bytes have been written or
|
||||
* the end of string is reached, whichever comes
|
||||
|
@ -815,7 +815,7 @@ function fwrite ($stream, $string, $max_length = null) {}
|
|||
* @link https://php.net/manual/en/function.fputs.php
|
||||
* Binary-safe file write
|
||||
*/
|
||||
function fputs ($stream, $string, $max_length = null) {}
|
||||
function fputs ($stream, $data, $length = null) {}
|
||||
|
||||
/**
|
||||
* Attempts to create the directory specified by pathname.
|
||||
|
@ -823,7 +823,7 @@ function fputs ($stream, $string, $max_length = null) {}
|
|||
* @param string $directory <p>
|
||||
* The directory path.
|
||||
* </p>
|
||||
* @param int $mode [optional] <p>
|
||||
* @param int $permissions [optional] <p>
|
||||
* The mode is 0777 by default, which means the widest possible
|
||||
* access. For more information on modes, read the details
|
||||
* on the chmod page.
|
||||
|
@ -843,7 +843,7 @@ function fputs ($stream, $string, $max_length = null) {}
|
|||
* @param resource $context [optional] ¬e.context-support;
|
||||
* @return bool true on success or false on failure.
|
||||
*/
|
||||
function mkdir ($directory, $mode = 0777, $recursive = false, $context = null) {}
|
||||
function mkdir ($directory, $permissions = 0777, $recursive = false, $context = null) {}
|
||||
|
||||
/**
|
||||
* Renames a file or directory
|
||||
|
@ -957,13 +957,13 @@ function file ($filename, $flags = null, $context = null) {}
|
|||
* @param int $offset [optional] <p>
|
||||
* The offset where the reading starts.
|
||||
* </p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* @param int $length [optional] <p>
|
||||
* Maximum length of data read. The default is to read until end
|
||||
* of file is reached.
|
||||
* </p>
|
||||
* @return string|false The function returns the read data or false on failure.
|
||||
*/
|
||||
function file_get_contents ($filename, $use_include_path = false, $context = null, $offset = 0, $max_length = null) {}
|
||||
function file_get_contents ($filename, $use_include_path = false, $context = null, $offset = 0, $length = null) {}
|
||||
|
||||
/**
|
||||
* Write a string to a file
|
||||
|
@ -971,7 +971,7 @@ function file_get_contents ($filename, $use_include_path = false, $context = nul
|
|||
* @param string $filename <p>
|
||||
* Path to the file where to write the data.
|
||||
* </p>
|
||||
* @param mixed $content <p>
|
||||
* @param mixed $data <p>
|
||||
* The data to write. Can be either a string, an
|
||||
* array or a stream resource.
|
||||
* </p>
|
||||
|
@ -1036,4 +1036,4 @@ function file_get_contents ($filename, $use_include_path = false, $context = nul
|
|||
* @return int|false The function returns the number of bytes that were written to the file, or
|
||||
* false on failure.
|
||||
*/
|
||||
function file_put_contents ($filename, $content, $flags = 0, $context = null) {}
|
||||
function file_put_contents ($filename, $data, $flags = 0, $context = null) {}
|
||||
|
|
|
@ -541,7 +541,7 @@ function stream_socket_pair ($domain, $type, $protocol) {}
|
|||
* @param resource $to <p>
|
||||
* The destination stream
|
||||
* </p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* @param int $length [optional] <p>
|
||||
* Maximum bytes to copy
|
||||
* </p>
|
||||
* @param int $offset [optional] <p>
|
||||
|
@ -549,7 +549,7 @@ function stream_socket_pair ($domain, $type, $protocol) {}
|
|||
* </p>
|
||||
* @return int|false the total count of bytes copied, or false on failure.
|
||||
*/
|
||||
function stream_copy_to_stream ($from, $to, $max_length = null, $offset = null) {}
|
||||
function stream_copy_to_stream ($from, $to, $length = null, $offset = null) {}
|
||||
|
||||
/**
|
||||
* Reads remainder of a stream into a string
|
||||
|
@ -557,7 +557,7 @@ function stream_copy_to_stream ($from, $to, $max_length = null, $offset = null)
|
|||
* @param resource $stream <p>
|
||||
* A stream resource (e.g. returned from fopen)
|
||||
* </p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* @param int $length [optional] <p>
|
||||
* The maximum bytes to read. Defaults to -1 (read all the remaining
|
||||
* buffer).
|
||||
* </p>
|
||||
|
@ -566,7 +566,7 @@ function stream_copy_to_stream ($from, $to, $max_length = null, $offset = null)
|
|||
* </p>
|
||||
* @return string|false a string or false on failure.
|
||||
*/
|
||||
function stream_get_contents ($stream, $max_length = null, $offset = null) {}
|
||||
function stream_get_contents ($stream, $length = null, $offset = null) {}
|
||||
|
||||
/**
|
||||
* Tells whether the stream supports locking.
|
||||
|
@ -878,7 +878,7 @@ function stream_get_meta_data ($stream) {}
|
|||
* @param resource $stream <p>
|
||||
* A valid file handle.
|
||||
* </p>
|
||||
* @param int $max_length <p>
|
||||
* @param int $length <p>
|
||||
* The number of bytes to read from the handle.
|
||||
* </p>
|
||||
* @param string $ending [optional] <p>
|
||||
|
@ -890,7 +890,7 @@ function stream_get_meta_data ($stream) {}
|
|||
* <p>
|
||||
* If an error occurs, returns false.
|
||||
*/
|
||||
function stream_get_line ($stream, $max_length, $ending = null) {}
|
||||
function stream_get_line ($stream, $length, $ending = null) {}
|
||||
|
||||
/**
|
||||
* Register a URL wrapper implemented as a PHP class
|
||||
|
|
|
@ -777,7 +777,7 @@ function lchgrp ($filename, $group) {}
|
|||
* @param string $filename <p>
|
||||
* Path to the file.
|
||||
* </p>
|
||||
* @param int $mode <p>
|
||||
* @param int $permissions <p>
|
||||
* Note that mode is not automatically
|
||||
* assumed to be an octal value, so strings (such as "g+w") will
|
||||
* not work properly. To ensure the expected operation,
|
||||
|
@ -805,7 +805,7 @@ function lchgrp ($filename, $group) {}
|
|||
* <p>
|
||||
* @return bool true on success or false on failure.
|
||||
*/
|
||||
function chmod ($filename, $mode) {}
|
||||
function chmod ($filename, $permissions) {}
|
||||
|
||||
/**
|
||||
* Sets access and modification time of file
|
||||
|
|
|
@ -8,19 +8,19 @@
|
|||
* @param int $key <p>
|
||||
* Message queue numeric ID
|
||||
* </p>
|
||||
* @param int $perms [optional] <p>
|
||||
* @param int $permissions [optional] <p>
|
||||
* Queue permissions. Default to 0666. If the message queue already
|
||||
* exists, the <i>perms</i> will be ignored.
|
||||
* </p>
|
||||
* @return resource|SysvMessageQueue a resource handle that can be used to access the System V message queue.
|
||||
*/
|
||||
function msg_get_queue ($key, $perms = 0666) {}
|
||||
function msg_get_queue ($key, $permissions = 0666) {}
|
||||
|
||||
/**
|
||||
* Send a message to a message queue
|
||||
* @link https://php.net/manual/en/function.msg-send.php
|
||||
* @param resource $queue
|
||||
* @param int $msgtype
|
||||
* @param int $message_type
|
||||
* @param mixed $message
|
||||
* @param bool $serialize [optional] <p>
|
||||
* The optional <i>serialize</i> controls how the
|
||||
|
@ -43,7 +43,7 @@ function msg_get_queue ($key, $perms = 0666) {}
|
|||
* indicating that you should try to send your message again a little
|
||||
* later on.
|
||||
* </p>
|
||||
* @param int &$errorcode [optional]
|
||||
* @param int &$error_code [optional]
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
* </p>
|
||||
* <p>
|
||||
|
@ -52,13 +52,13 @@ function msg_get_queue ($key, $perms = 0666) {}
|
|||
* calling process, <i>msg_qnum</i> is incremented by 1 and
|
||||
* <i>msg_stime</i> is set to the current time.
|
||||
*/
|
||||
function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = true, &$errorcode = null) {}
|
||||
function msg_send ($queue, $message_type, $message, $serialize = true, $blocking = true, &$error_code = null) {}
|
||||
|
||||
/**
|
||||
* Receive a message from a message queue
|
||||
* @link https://php.net/manual/en/function.msg-receive.php
|
||||
* @param resource $queue
|
||||
* @param int $desiredmsgtype <p>
|
||||
* @param int $desired_message_type <p>
|
||||
* If <i>desiredmsgtype</i> is 0, the message from the front
|
||||
* of the queue is returned. If <i>desiredmsgtype</i> is
|
||||
* greater than 0, then the first message of that type is returned.
|
||||
|
@ -70,11 +70,11 @@ function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = tr
|
|||
* by specifying <b>MSG_IPC_NOWAIT</b> in the
|
||||
* <i>flags</i> parameter.
|
||||
* </p>
|
||||
* @param int &$msgtype <p>
|
||||
* @param int &$received_message_type <p>
|
||||
* The type of the message that was received will be stored in this
|
||||
* parameter.
|
||||
* </p>
|
||||
* @param int $maxsize <p>
|
||||
* @param int $max_message_size <p>
|
||||
* The maximum size of message to be accepted is specified by the
|
||||
* <i>maxsize</i>; if the message in the queue is larger
|
||||
* than this size the function will fail (unless you set
|
||||
|
@ -127,7 +127,7 @@ function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = tr
|
|||
* </tr>
|
||||
* </table>
|
||||
* </p>
|
||||
* @param int $errorcode [optional] <p>
|
||||
* @param int $error_code [optional] <p>
|
||||
* If the function fails, the optional <i>errorcode</i>
|
||||
* will be set to the value of the system errno variable.
|
||||
* </p>
|
||||
|
@ -139,7 +139,7 @@ function msg_send ($queue, $msgtype, $message, $serialize = true, $blocking = tr
|
|||
* calling process, msg_qnum is decremented by 1 and
|
||||
* msg_rtime is set to the current time.
|
||||
*/
|
||||
function msg_receive ($queue, $desiredmsgtype, &$msgtype, $maxsize, &$message, $unserialize = true, $flags = 0, &$errorcode = null) {}
|
||||
function msg_receive ($queue, $desired_message_type, &$received_message_type, $max_message_size, &$message, $unserialize = true, $flags = 0, &$error_code = null) {}
|
||||
|
||||
/**
|
||||
* Destroy a message queue
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
* The number of processes that can acquire the semaphore simultaneously
|
||||
* is set to <i>max_acquire</i>.
|
||||
* </p>
|
||||
* @param int $perm [optional] <p>
|
||||
* @param int $permissions [optional] <p>
|
||||
* The semaphore permissions. Actually this value is
|
||||
* set only if the process finds it is the only process currently
|
||||
* attached to the semaphore.
|
||||
|
@ -22,7 +22,7 @@
|
|||
* @return resource|false|SysvSemaphore a positive semaphore identifier on success, or <b>FALSE</b> on
|
||||
* error.
|
||||
*/
|
||||
function sem_get ($key, $max_acquire = 1, $perm = 0666, $auto_release = 1) {}
|
||||
function sem_get ($key, $max_acquire = 1, $permissions = 0666, $auto_release = 1) {}
|
||||
|
||||
/**
|
||||
* Acquire a semaphore
|
||||
|
@ -31,14 +31,14 @@ function sem_get ($key, $max_acquire = 1, $perm = 0666, $auto_release = 1) {}
|
|||
* <i>sem_identifier</i> is a semaphore resource,
|
||||
* obtained from <b>sem_get</b>.
|
||||
* </p>
|
||||
* @param bool $nowait [optional] <p>
|
||||
* @param bool $non_blocking [optional] <p>
|
||||
* Specifies if the process shouldn't wait for the semaphore to be acquired.
|
||||
* If set to <i>true</i>, the call will return <i>false</i> immediately if a
|
||||
* semaphore cannot be immediately acquired.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function sem_acquire ($semaphore, $nowait = false) {}
|
||||
function sem_acquire ($semaphore, $non_blocking = false) {}
|
||||
|
||||
/**
|
||||
* Release a semaphore
|
||||
|
|
|
@ -8,17 +8,17 @@
|
|||
* @param int $key <p>
|
||||
* A numeric shared memory segment ID
|
||||
* </p>
|
||||
* @param int $memsize [optional] <p>
|
||||
* @param int $size [optional] <p>
|
||||
* The memory size. If not provided, default to the
|
||||
* sysvshm.init_mem in the <i>php.ini</i>, otherwise 10000
|
||||
* bytes.
|
||||
* </p>
|
||||
* @param int $perm [optional] <p>
|
||||
* @param int $permissions [optional] <p>
|
||||
* The optional permission bits. Default to 0666.
|
||||
* </p>
|
||||
* @return resource|SysvSharedMemory a shared memory segment identifier.
|
||||
*/
|
||||
function shm_attach ($key, $memsize = null, $perm = 0666) {}
|
||||
function shm_attach ($key, $size = null, $permissions = 0666) {}
|
||||
|
||||
/**
|
||||
* Removes shared memory from Unix systems
|
||||
|
@ -49,10 +49,10 @@ function shm_detach ($shm) {}
|
|||
* A shared memory resource handle as returned by
|
||||
* <b>shm_attach</b>
|
||||
* </p>
|
||||
* @param int $variable_key <p>
|
||||
* @param int $key <p>
|
||||
* The variable key.
|
||||
* </p>
|
||||
* @param mixed $variable <p>
|
||||
* @param mixed $value <p>
|
||||
* The variable. All variable types
|
||||
* that <b>serialize</b> supports may be used: generally
|
||||
* this means all types except for resources and some internal objects
|
||||
|
@ -60,7 +60,7 @@ function shm_detach ($shm) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function shm_put_var ($shm, $variable_key, $variable) {}
|
||||
function shm_put_var ($shm, $key, $value) {}
|
||||
|
||||
/**
|
||||
* Check whether a specific entry exists
|
||||
|
@ -68,12 +68,12 @@ function shm_put_var ($shm, $variable_key, $variable) {}
|
|||
* @param resource $shm <p>
|
||||
* Shared memory segment, obtained from <b>shm_attach</b>.
|
||||
* </p>
|
||||
* @param int $variable_key <p>
|
||||
* @param int $key <p>
|
||||
* The variable key.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> if the entry exists, otherwise <b>FALSE</b>
|
||||
*/
|
||||
function shm_has_var ($shm, $variable_key) {}
|
||||
function shm_has_var ($shm, $key) {}
|
||||
|
||||
/**
|
||||
* Returns a variable from shared memory
|
||||
|
@ -81,12 +81,12 @@ function shm_has_var ($shm, $variable_key) {}
|
|||
* @param resource $shm <p>
|
||||
* Shared memory segment, obtained from <b>shm_attach</b>.
|
||||
* </p>
|
||||
* @param int $variable_key <p>
|
||||
* @param int $key <p>
|
||||
* The variable key.
|
||||
* </p>
|
||||
* @return mixed the variable with the given key.
|
||||
*/
|
||||
function shm_get_var ($shm, $variable_key) {}
|
||||
function shm_get_var ($shm, $key) {}
|
||||
|
||||
/**
|
||||
* Removes a variable from shared memory
|
||||
|
@ -95,12 +95,12 @@ function shm_get_var ($shm, $variable_key) {}
|
|||
* The shared memory identifier as returned by
|
||||
* <b>shm_attach</b>
|
||||
* </p>
|
||||
* @param int $variable_key <p>
|
||||
* @param int $key <p>
|
||||
* The variable key.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function shm_remove_var ($shm, $variable_key) {}
|
||||
function shm_remove_var ($shm, $key) {}
|
||||
|
||||
/**
|
||||
* @since 8.0
|
||||
|
|
|
@ -1,5 +1,16 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Show diagnostic information
|
||||
*/
|
||||
function xdebug_info() {}
|
||||
|
||||
/**
|
||||
* Returns an array of ALL valid ini options with values and is not the same as ini_get_all() which returns only
|
||||
* registered ini options. Only useful for devs to debug php.ini scanner/parser!
|
||||
*/
|
||||
function config_get_hash(){}
|
||||
|
||||
/**
|
||||
* Returns the stack depth level.
|
||||
* The main body of a script is level 0 and each include and/or function call adds one to the stack depth level.
|
||||
|
@ -80,7 +91,7 @@ function xdebug_stop_function_monitor () {}
|
|||
* Returns a structure which contains information about where the monitored functions were executed in your script.
|
||||
* @return array
|
||||
*/
|
||||
function xdebug_get_monitored_functions ($clear = 0) {}
|
||||
function xdebug_get_monitored_functions () {}
|
||||
|
||||
/**
|
||||
* This function displays structured information about one or more expressions that includes its type and value.
|
||||
|
|
54
xml/xml.php
54
xml/xml.php
|
@ -36,14 +36,14 @@ function xml_parser_create ($encoding = null) {}
|
|||
* encodings are ISO-8859-1, UTF-8 and
|
||||
* US-ASCII.
|
||||
* </p>
|
||||
* @param string $sep [optional] <p>
|
||||
* @param string $separator [optional] <p>
|
||||
* With a namespace aware parser tag parameters passed to the various
|
||||
* handler functions will consist of namespace and tag name separated by
|
||||
* the string specified in <i>separator</i>.
|
||||
* </p>
|
||||
* @return resource|false|XmlParser a resource handle for the new XML parser.
|
||||
*/
|
||||
function xml_parser_create_ns ($encoding = null, $sep = ':') {}
|
||||
function xml_parser_create_ns ($encoding = null, $separator = ':') {}
|
||||
|
||||
/**
|
||||
* Use XML Parser within an object
|
||||
|
@ -51,12 +51,12 @@ function xml_parser_create_ns ($encoding = null, $sep = ':') {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to use inside the object.
|
||||
* </p>
|
||||
* @param object &$obj <p>
|
||||
* @param object &$object <p>
|
||||
* The object where to use the XML parser.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_object ($parser, &$obj) {}
|
||||
function xml_set_object ($parser, &$object) {}
|
||||
|
||||
/**
|
||||
* Set up start and end element handlers
|
||||
|
@ -64,7 +64,7 @@ function xml_set_object ($parser, &$obj) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to set up start and end element handler functions.
|
||||
* </p>
|
||||
* @param callable $shdl <p>
|
||||
* @param callable $start_handler <p>
|
||||
* The function named by <i>start_element_handler</i>
|
||||
* must accept three parameters:
|
||||
* <b>start_element_handler</b>
|
||||
|
@ -74,7 +74,7 @@ function xml_set_object ($parser, &$obj) {}
|
|||
* <i>parser</i>
|
||||
* The first parameter, parser, is a
|
||||
* reference to the XML parser calling the handler.
|
||||
* @param callable $ehdl <p>
|
||||
* @param callable $end_handler <p>
|
||||
* The function named by <i>end_element_handler</i>
|
||||
* must accept two parameters:
|
||||
* <b>end_element_handler</b>
|
||||
|
@ -85,7 +85,7 @@ function xml_set_object ($parser, &$obj) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_element_handler ($parser, callable $shdl, callable $ehdl) {}
|
||||
function xml_set_element_handler ($parser, callable $start_handler, callable $end_handler) {}
|
||||
|
||||
/**
|
||||
* Set up character data handler
|
||||
|
@ -93,7 +93,7 @@ function xml_set_element_handler ($parser, callable $shdl, callable $ehdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to set up character data handler function.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -109,7 +109,7 @@ function xml_set_element_handler ($parser, callable $shdl, callable $ehdl) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_character_data_handler ($parser, callable $hdl) {}
|
||||
function xml_set_character_data_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Set up processing instruction (PI) handler
|
||||
|
@ -117,7 +117,7 @@ function xml_set_character_data_handler ($parser, callable $hdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to set up processing instruction (PI) handler function.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -134,7 +134,7 @@ function xml_set_character_data_handler ($parser, callable $hdl) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_processing_instruction_handler ($parser, callable $hdl) {}
|
||||
function xml_set_processing_instruction_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Set up default handler
|
||||
|
@ -142,7 +142,7 @@ function xml_set_processing_instruction_handler ($parser, callable $hdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to set up default handler function.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -158,7 +158,7 @@ function xml_set_processing_instruction_handler ($parser, callable $hdl) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_default_handler ($parser, callable $hdl) {}
|
||||
function xml_set_default_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Set up unparsed entity declaration handler
|
||||
|
@ -166,7 +166,7 @@ function xml_set_default_handler ($parser, callable $hdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to set up unparsed entity declaration handler function.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -187,7 +187,7 @@ function xml_set_default_handler ($parser, callable $hdl) {}
|
|||
* handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_unparsed_entity_decl_handler ($parser, callable $hdl) {}
|
||||
function xml_set_unparsed_entity_decl_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Set up notation declaration handler
|
||||
|
@ -195,7 +195,7 @@ function xml_set_unparsed_entity_decl_handler ($parser, callable $hdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to set up notation declaration handler function.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -214,7 +214,7 @@ function xml_set_unparsed_entity_decl_handler ($parser, callable $hdl) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_notation_decl_handler ($parser, callable $hdl) {}
|
||||
function xml_set_notation_decl_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Set up external entity reference handler
|
||||
|
@ -222,7 +222,7 @@ function xml_set_notation_decl_handler ($parser, callable $hdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser to set up external entity reference handler function.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -245,7 +245,7 @@ function xml_set_notation_decl_handler ($parser, callable $hdl) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_external_entity_ref_handler ($parser, callable $hdl) {}
|
||||
function xml_set_external_entity_ref_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Set up start namespace declaration handler
|
||||
|
@ -253,7 +253,7 @@ function xml_set_external_entity_ref_handler ($parser, callable $hdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -274,7 +274,7 @@ function xml_set_external_entity_ref_handler ($parser, callable $hdl) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_start_namespace_decl_handler ($parser, callable $hdl) {}
|
||||
function xml_set_start_namespace_decl_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Set up end namespace declaration handler
|
||||
|
@ -282,7 +282,7 @@ function xml_set_start_namespace_decl_handler ($parser, callable $hdl) {}
|
|||
* @param resource $parser <p>
|
||||
* A reference to the XML parser.
|
||||
* </p>
|
||||
* @param callable $hdl <p>
|
||||
* @param callable $handler <p>
|
||||
* <i>handler</i> is a string containing the name of a
|
||||
* function that must exist when <b>xml_parse</b> is called
|
||||
* for <i>parser</i>.
|
||||
|
@ -302,7 +302,7 @@ function xml_set_start_namespace_decl_handler ($parser, callable $hdl) {}
|
|||
* reference to the XML parser calling the handler.
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xml_set_end_namespace_decl_handler ($parser, callable $hdl) {}
|
||||
function xml_set_end_namespace_decl_handler ($parser, callable $handler) {}
|
||||
|
||||
/**
|
||||
* Start parsing an XML document
|
||||
|
@ -316,7 +316,7 @@ function xml_set_end_namespace_decl_handler ($parser, callable $hdl) {}
|
|||
* as long as the <i>is_final</i> parameter is set and
|
||||
* <b>TRUE</b> when the last data is parsed.
|
||||
* </p>
|
||||
* @param bool $isfinal [optional] <p>
|
||||
* @param bool $is_final [optional] <p>
|
||||
* If set and <b>TRUE</b>, <i>data</i> is the last piece of
|
||||
* data sent in this parse.
|
||||
* </p>
|
||||
|
@ -334,7 +334,7 @@ function xml_set_end_namespace_decl_handler ($parser, callable $hdl) {}
|
|||
* Entity errors are reported at the end of the data thus only if
|
||||
* <i>is_final</i> is set and <b>TRUE</b>.
|
||||
*/
|
||||
function xml_parse ($parser, $data, $isfinal = false) {}
|
||||
function xml_parse ($parser, $data, $is_final = false) {}
|
||||
|
||||
/**
|
||||
* Parse XML data into an array structure
|
||||
|
@ -373,13 +373,13 @@ function xml_get_error_code ($parser) {}
|
|||
/**
|
||||
* Get XML parser error string
|
||||
* @link https://php.net/manual/en/function.xml-error-string.php
|
||||
* @param int $code <p>
|
||||
* @param int $error_code <p>
|
||||
* An error code from <b>xml_get_error_code</b>.
|
||||
* </p>
|
||||
* @return string a string with a textual description of the error
|
||||
* <i>code</i>, or <b>FALSE</b> if no description was found.
|
||||
*/
|
||||
function xml_error_string ($code) {}
|
||||
function xml_error_string ($error_code) {}
|
||||
|
||||
/**
|
||||
* Get current line number for an XML parser
|
||||
|
|
|
@ -541,64 +541,64 @@ function xmlwriter_open_memory () {}
|
|||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Toggle indentation on/off
|
||||
* @link https://php.net/manual/en/function.xmlwriter-set-indent.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p>
|
||||
* @param bool $indent <p>
|
||||
* @param bool $enable <p>
|
||||
* Whether indentation is enabled.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_set_indent ($xmlwriter, $indent) {}
|
||||
function xmlwriter_set_indent ($writer, $enable) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Set string used for indenting
|
||||
* @link https://php.net/manual/en/function.xmlwriter-set-indent-string.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p>
|
||||
* @param string $indentString <p>
|
||||
* @param string $indentation <p>
|
||||
* The indentation string.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_set_indent_string ($xmlwriter, $indentString) {}
|
||||
function xmlwriter_set_indent_string ($writer, $indentation) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)<br/>
|
||||
* Create start comment
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-comment.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_comment ($xmlwriter) {}
|
||||
function xmlwriter_start_comment ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)<br/>
|
||||
* Create end comment
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-comment.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_comment ($xmlwriter) {}
|
||||
function xmlwriter_end_comment ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start attribute
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-attribute.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -608,25 +608,25 @@ function xmlwriter_end_comment ($xmlwriter) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_attribute ($xmlwriter, $name) {}
|
||||
function xmlwriter_start_attribute ($writer, $name) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End attribute
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-attribute.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_attribute ($xmlwriter) {}
|
||||
function xmlwriter_end_attribute ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full attribute
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-attribute.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -639,13 +639,13 @@ function xmlwriter_end_attribute ($xmlwriter) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_attribute ($xmlwriter, $name, $value) {}
|
||||
function xmlwriter_write_attribute ($writer, $name, $value) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start namespaced attribute
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-attribute-ns.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -656,18 +656,18 @@ function xmlwriter_write_attribute ($xmlwriter, $name, $value) {}
|
|||
* @param string $name <p>
|
||||
* The attribute name.
|
||||
* </p>
|
||||
* @param string $uri <p>
|
||||
* @param string $namespace <p>
|
||||
* The namespace URI.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_attribute_ns ($xmlwriter, $prefix, $name, $uri) {}
|
||||
function xmlwriter_start_attribute_ns ($writer, $prefix, $name, $namespace) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full namespaced attribute
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-attribute-ns.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -678,21 +678,21 @@ function xmlwriter_start_attribute_ns ($xmlwriter, $prefix, $name, $uri) {}
|
|||
* @param string $name <p>
|
||||
* The attribute name.
|
||||
* </p>
|
||||
* @param string $uri <p>
|
||||
* @param string $namespace <p>
|
||||
* The namespace URI.
|
||||
* </p>
|
||||
* @param string $content <p>
|
||||
* @param string $value <p>
|
||||
* The attribute value.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_attribute_ns ($xmlwriter, $prefix, $name, $uri, $content) {}
|
||||
function xmlwriter_write_attribute_ns ($writer, $prefix, $name, $namespace, $value) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start element tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-element.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -702,37 +702,37 @@ function xmlwriter_write_attribute_ns ($xmlwriter, $prefix, $name, $uri, $conten
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_element ($xmlwriter, $name) {}
|
||||
function xmlwriter_start_element ($writer, $name) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current element
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-element.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_element ($xmlwriter) {}
|
||||
function xmlwriter_end_element ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)<br/>
|
||||
* End current element
|
||||
* @link https://php.net/manual/en/function.xmlwriter-full-end-element.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_full_end_element ($xmlwriter) {}
|
||||
function xmlwriter_full_end_element ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start namespaced element tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-element-ns.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -743,18 +743,18 @@ function xmlwriter_full_end_element ($xmlwriter) {}
|
|||
* @param string $name <p>
|
||||
* The element name.
|
||||
* </p>
|
||||
* @param string $uri <p>
|
||||
* @param string $namespace <p>
|
||||
* The namespace URI.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_element_ns ($xmlwriter, $prefix, $name, $uri) {}
|
||||
function xmlwriter_start_element_ns ($writer, $prefix, $name, $namespace) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full element tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-element.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -767,13 +767,13 @@ function xmlwriter_start_element_ns ($xmlwriter, $prefix, $name, $uri) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_element ($xmlwriter, $name, $content = null) {}
|
||||
function xmlwriter_write_element ($writer, $name, $content = null) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full namespaced element tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-element-ns.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -784,7 +784,7 @@ function xmlwriter_write_element ($xmlwriter, $name, $content = null) {}
|
|||
* @param string $name <p>
|
||||
* The element name.
|
||||
* </p>
|
||||
* @param string $uri <p>
|
||||
* @param string $namespace <p>
|
||||
* The namespace URI.
|
||||
* </p>
|
||||
* @param string $content [optional] <p>
|
||||
|
@ -792,13 +792,13 @@ function xmlwriter_write_element ($xmlwriter, $name, $content = null) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_element_ns ($xmlwriter, $prefix, $name, $uri, $content = null) {}
|
||||
function xmlwriter_write_element_ns ($writer, $prefix, $name, $namespace, $content = null) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start PI tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-pi.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -808,25 +808,25 @@ function xmlwriter_write_element_ns ($xmlwriter, $prefix, $name, $uri, $content
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_pi ($xmlwriter, $target) {}
|
||||
function xmlwriter_start_pi ($writer, $target) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current PI
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-pi.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_pi ($xmlwriter) {}
|
||||
function xmlwriter_end_pi ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Writes a PI
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-pi.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -840,39 +840,39 @@ function xmlwriter_end_pi ($xmlwriter) {}
|
|||
*
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_pi ($xmlwriter, $target, $content) {}
|
||||
function xmlwriter_write_pi ($writer, $target, $content) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start CDATA tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-cdata.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_cdata ($xmlwriter) {}
|
||||
function xmlwriter_start_cdata ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current CDATA
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-cdata.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_cdata ($xmlwriter) {}
|
||||
function xmlwriter_end_cdata ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full CDATA tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-cdata.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -882,13 +882,13 @@ function xmlwriter_end_cdata ($xmlwriter) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_cdata ($xmlwriter, $content) {}
|
||||
function xmlwriter_write_cdata ($writer, $content) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write text
|
||||
* @link https://php.net/manual/en/function.xmlwriter-text.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -898,13 +898,13 @@ function xmlwriter_write_cdata ($xmlwriter, $content) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_text ($xmlwriter, $content) {}
|
||||
function xmlwriter_text ($writer, $content) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.2.0, PECL xmlwriter >= 2.0.4)<br/>
|
||||
* Write a raw XML text
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-raw.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -914,13 +914,13 @@ function xmlwriter_text ($xmlwriter, $content) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_raw ($xmlwriter, $content) {}
|
||||
function xmlwriter_write_raw ($writer, $content) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create document tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-document.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -936,26 +936,26 @@ function xmlwriter_write_raw ($xmlwriter, $content) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_document ($xmlwriter, $version = '1.0', $encoding = null, $standalone = null) {}
|
||||
function xmlwriter_start_document ($writer, $version = '1.0', $encoding = null, $standalone = null) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current document
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-document.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_document ($xmlwriter) {}
|
||||
function xmlwriter_end_document ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full comment tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-comment.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -965,13 +965,13 @@ function xmlwriter_end_document ($xmlwriter) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_comment ($xmlwriter, $content) {}
|
||||
function xmlwriter_write_comment ($writer, $content) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start DTD tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-dtd.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -987,25 +987,25 @@ function xmlwriter_write_comment ($xmlwriter, $content) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_dtd ($xmlwriter, $qualifiedName, $publicId = null, $systemId = null) {}
|
||||
function xmlwriter_start_dtd ($writer, $qualifiedName, $publicId = null, $systemId = null) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current DTD
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-dtd.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_dtd ($xmlwriter) {}
|
||||
function xmlwriter_end_dtd ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full DTD tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-dtd.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1019,18 +1019,18 @@ function xmlwriter_end_dtd ($xmlwriter) {}
|
|||
* @param string $systemId [optional] <p>
|
||||
* The external subset system identifier.
|
||||
* </p>
|
||||
* @param string $subset [optional] <p>
|
||||
* @param string $content [optional] <p>
|
||||
* The content of the DTD.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_dtd ($xmlwriter, $name, $publicId = null, $systemId = null, $subset = null) {}
|
||||
function xmlwriter_write_dtd ($writer, $name, $publicId = null, $systemId = null, $content = null) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start DTD element
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-dtd-element.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1040,22 +1040,22 @@ function xmlwriter_write_dtd ($xmlwriter, $name, $publicId = null, $systemId = n
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_dtd_element ($xmlwriter, $qualifiedName) {}
|
||||
function xmlwriter_start_dtd_element ($writer, $qualifiedName) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current DTD element
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-dtd-element.php
|
||||
* @param $xmlwriter
|
||||
* @param $writer
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_dtd_element ($xmlwriter) {}
|
||||
function xmlwriter_end_dtd_element ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full DTD element tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-dtd-element.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1068,13 +1068,13 @@ function xmlwriter_end_dtd_element ($xmlwriter) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_dtd_element ($xmlwriter, $name, $content) {}
|
||||
function xmlwriter_write_dtd_element ($writer, $name, $content) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start DTD AttList
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-dtd-attlist.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1084,25 +1084,25 @@ function xmlwriter_write_dtd_element ($xmlwriter, $name, $content) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_dtd_attlist ($xmlwriter, $name) {}
|
||||
function xmlwriter_start_dtd_attlist ($writer, $name) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current DTD AttList
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-dtd-attlist.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_dtd_attlist ($xmlwriter) {}
|
||||
function xmlwriter_end_dtd_attlist ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full DTD AttList tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-dtd-attlist.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1115,13 +1115,13 @@ function xmlwriter_end_dtd_attlist ($xmlwriter) {}
|
|||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_dtd_attlist ($xmlwriter, $name, $content) {}
|
||||
function xmlwriter_write_dtd_attlist ($writer, $name, $content) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Create start DTD Entity
|
||||
* @link https://php.net/manual/en/function.xmlwriter-start-dtd-entity.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1129,28 +1129,28 @@ function xmlwriter_write_dtd_attlist ($xmlwriter, $name, $content) {}
|
|||
* @param string $name <p>
|
||||
* The name of the entity.
|
||||
* </p>
|
||||
* @param bool $isparam
|
||||
* @param bool $isParam
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_start_dtd_entity ($xmlwriter, $name, $isparam) {}
|
||||
function xmlwriter_start_dtd_entity ($writer, $name, $isParam) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* End current DTD Entity
|
||||
* @link https://php.net/manual/en/function.xmlwriter-end-dtd-entity.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
* or {@link https://php.net/manual/en/function.xmlwriter-open-memory.php" xmlwriter_open_memory()}.</p> * @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_end_dtd_entity ($xmlwriter) {}
|
||||
function xmlwriter_end_dtd_entity ($writer) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Write full DTD Entity tag
|
||||
* @link https://php.net/manual/en/function.xmlwriter-write-dtd-entity.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1167,13 +1167,13 @@ function xmlwriter_end_dtd_entity ($xmlwriter) {}
|
|||
* @param string $ndataid
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function xmlwriter_write_dtd_entity ($xmlwriter, $name, $content, $pe, $pubid, $sysid, $ndataid) {}
|
||||
function xmlwriter_write_dtd_entity ($writer, $name, $content, $pe, $pubid, $sysid, $ndataid) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 0.1.0)<br/>
|
||||
* Returns current buffer
|
||||
* @link https://php.net/manual/en/function.xmlwriter-output-memory.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1183,13 +1183,13 @@ function xmlwriter_write_dtd_entity ($xmlwriter, $name, $content, $pe, $pubid, $
|
|||
* </p>
|
||||
* @return string the current buffer as a string.
|
||||
*/
|
||||
function xmlwriter_output_memory ($xmlwriter, $flush = true) {}
|
||||
function xmlwriter_output_memory ($writer, $flush = true) {}
|
||||
|
||||
/**
|
||||
* (PHP 5 >= 5.1.2, PECL xmlwriter >= 1.0.0)<br/>
|
||||
* Flush current buffer
|
||||
* @link https://php.net/manual/en/function.xmlwriter-flush.php
|
||||
* @param resource|XMLWriter $xmlwriter
|
||||
* @param resource|XMLWriter $writer
|
||||
* <p>Only for procedural calls.
|
||||
* The XMLWriter {@link https://php.net/manual/en/language.types.resource.php" resource} that is being modified.
|
||||
* This resource comes from a call to {@link https://php.net/manual/en/function.xmlwriter-open-uri.php" xmlwriter_open_uri()}
|
||||
|
@ -1201,4 +1201,4 @@ function xmlwriter_output_memory ($xmlwriter, $flush = true) {}
|
|||
* Else, if using URI, this function will write the buffer and return the number of
|
||||
* written bytes.
|
||||
*/
|
||||
function xmlwriter_flush ($xmlwriter, $empty = true) {}
|
||||
function xmlwriter_flush ($writer, $empty = true) {}
|
||||
|
|
|
@ -20,52 +20,52 @@ function readgzfile ($filename, $use_include_path = 0) {}
|
|||
/**
|
||||
* Rewind the position of a gz-file pointer
|
||||
* @link https://php.net/manual/en/function.gzrewind.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function gzrewind ($fp) {}
|
||||
function gzrewind ($stream) {}
|
||||
|
||||
/**
|
||||
* Close an open gz-file pointer
|
||||
* @link https://php.net/manual/en/function.gzclose.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
* @return bool <b>TRUE</b> on success or <b>FALSE</b> on failure.
|
||||
*/
|
||||
function gzclose ($fp) {}
|
||||
function gzclose ($stream) {}
|
||||
|
||||
/**
|
||||
* Test for EOF on a gz-file pointer
|
||||
* @link https://php.net/manual/en/function.gzeof.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
* @return int|bool <b>TRUE</b> if the gz-file pointer is at EOF or an error occurs;
|
||||
* otherwise returns <b>FALSE</b>.
|
||||
*/
|
||||
function gzeof ($fp) {}
|
||||
function gzeof ($stream) {}
|
||||
|
||||
/**
|
||||
* Get character from gz-file pointer
|
||||
* @link https://php.net/manual/en/function.gzgetc.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
* @return string|false The uncompressed character or <b>FALSE</b> on EOF (unlike <b>gzeof</b>).
|
||||
*/
|
||||
function gzgetc ($fp) {}
|
||||
function gzgetc ($stream) {}
|
||||
|
||||
/**
|
||||
* Get line from file pointer
|
||||
* @link https://php.net/manual/en/function.gzgets.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
|
@ -74,7 +74,7 @@ function gzgetc ($fp) {}
|
|||
* </p>
|
||||
* @return string|false The uncompressed string, or <b>FALSE</b> on error.
|
||||
*/
|
||||
function gzgets ($fp, $length) {}
|
||||
function gzgets ($stream, $length) {}
|
||||
|
||||
/**
|
||||
* Get line from gz-file pointer and strip HTML tags
|
||||
|
@ -99,7 +99,7 @@ function gzgetss ($zp, $length, $allowable_tags = null) {}
|
|||
/**
|
||||
* Binary-safe gz-file read
|
||||
* @link https://php.net/manual/en/function.gzread.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
|
@ -108,7 +108,7 @@ function gzgetss ($zp, $length, $allowable_tags = null) {}
|
|||
* </p>
|
||||
* @return string The data that have been read.
|
||||
*/
|
||||
function gzread ($fp, $length) {}
|
||||
function gzread ($stream, $length) {}
|
||||
|
||||
/**
|
||||
* Open gz-file
|
||||
|
@ -142,19 +142,19 @@ function gzopen ($filename, $mode, $use_include_path = 0) {}
|
|||
/**
|
||||
* Output all remaining data on a gz-file pointer
|
||||
* @link https://php.net/manual/en/function.gzpassthru.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
* @return int The number of uncompressed characters read from <i>gz</i>
|
||||
* and passed through to the input, or <b>FALSE</b> on error.
|
||||
*/
|
||||
function gzpassthru ($fp) {}
|
||||
function gzpassthru ($stream) {}
|
||||
|
||||
/**
|
||||
* Seek on a gz-file pointer
|
||||
* @link https://php.net/manual/en/function.gzseek.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
|
@ -173,27 +173,27 @@ function gzpassthru ($fp) {}
|
|||
* @return int Upon success, returns 0; otherwise, returns -1. Note that seeking
|
||||
* past EOF is not considered an error.
|
||||
*/
|
||||
function gzseek ($fp, $offset, $whence = SEEK_SET) {}
|
||||
function gzseek ($stream, $offset, $whence = SEEK_SET) {}
|
||||
|
||||
/**
|
||||
* Tell gz-file pointer read/write position
|
||||
* @link https://php.net/manual/en/function.gztell.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
* @return int|false The position of the file pointer or <b>FALSE</b> if an error occurs.
|
||||
*/
|
||||
function gztell ($fp) {}
|
||||
function gztell ($stream) {}
|
||||
|
||||
/**
|
||||
* Binary-safe gz-file write
|
||||
* @link https://php.net/manual/en/function.gzwrite.php
|
||||
* @param resource $fp <p>
|
||||
* @param resource $stream <p>
|
||||
* The gz-file pointer. It must be valid, and must point to a file
|
||||
* successfully opened by <b>gzopen</b>.
|
||||
* </p>
|
||||
* @param string $str <p>
|
||||
* @param string $data <p>
|
||||
* The string to write.
|
||||
* </p>
|
||||
* @param int $length [optional] <p>
|
||||
|
@ -211,16 +211,16 @@ function gztell ($fp) {}
|
|||
* @return int the number of (uncompressed) bytes written to the given gz-file
|
||||
* stream.
|
||||
*/
|
||||
function gzwrite ($fp, $str, $length = null) {}
|
||||
function gzwrite ($stream, $data, $length = null) {}
|
||||
|
||||
/**
|
||||
* Alias of <b>gzwrite</b>
|
||||
* @link https://php.net/manual/en/function.gzputs.php
|
||||
* @param resource $fp
|
||||
* @param string $str
|
||||
* @param resource $stream
|
||||
* @param string $data
|
||||
* @param int $length [optional]
|
||||
*/
|
||||
function gzputs ($fp, $str, $length) {}
|
||||
function gzputs ($stream, $data, $length) {}
|
||||
|
||||
/**
|
||||
* Read entire gz-file into an array
|
||||
|
@ -262,7 +262,7 @@ function gzcompress ($data, $level = -1, $encoding = ZLIB_ENCODING_DEFLATE) {}
|
|||
* @param string $data <p>
|
||||
* The data compressed by <b>gzcompress</b>.
|
||||
* </p>
|
||||
* @param int $max_decoded_len [optional] <p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* The maximum length of data to decode.
|
||||
* </p>
|
||||
* @return string|false The original uncompressed data or <b>FALSE</b> on error.
|
||||
|
@ -272,7 +272,7 @@ function gzcompress ($data, $level = -1, $encoding = ZLIB_ENCODING_DEFLATE) {}
|
|||
* 32768 times the length of the compressed input <i>data</i>
|
||||
* or more than the optional parameter <i>length</i>.
|
||||
*/
|
||||
function gzuncompress ($data, $max_decoded_len = 0) {}
|
||||
function gzuncompress ($data, $max_length = 0) {}
|
||||
|
||||
/**
|
||||
* Deflate a string
|
||||
|
@ -298,7 +298,7 @@ function gzdeflate ($data, $level = -1, $encoding = ZLIB_ENCODING_RAW) {}
|
|||
* @param string $data <p>
|
||||
* The data compressed by <b>gzdeflate</b>.
|
||||
* </p>
|
||||
* @param int $max_decoded_len [optional] <p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* The maximum length of data to decode.
|
||||
* </p>
|
||||
* @return string|false The original uncompressed data or <b>FALSE</b> on error.
|
||||
|
@ -308,7 +308,7 @@ function gzdeflate ($data, $level = -1, $encoding = ZLIB_ENCODING_RAW) {}
|
|||
* 32768 times the length of the compressed input <i>data</i>
|
||||
* or more than the optional parameter <i>length</i>.
|
||||
*/
|
||||
function gzinflate ($data, $max_decoded_len = 0) {}
|
||||
function gzinflate ($data, $max_length = 0) {}
|
||||
|
||||
/**
|
||||
* Create a gzip compressed string
|
||||
|
@ -345,13 +345,13 @@ function gzencode ($data, $level = -1, $encoding = FORCE_GZIP) {}
|
|||
* @param string $data <p>
|
||||
* The data to decode, encoded by <b>gzencode</b>.
|
||||
* </p>
|
||||
* @param int $max_decoded_len [optional] <p>
|
||||
* @param int $max_length [optional] <p>
|
||||
* The maximum length of data to decode.
|
||||
* </p>
|
||||
* @return string|false The decoded string, or <b>FALSE</b> if an error occurred.
|
||||
* @since 5.4
|
||||
*/
|
||||
function gzdecode ($data, $max_decoded_len = null) {}
|
||||
function gzdecode ($data, $max_length = null) {}
|
||||
|
||||
/**
|
||||
* Compress data with the specified encoding
|
||||
|
@ -372,12 +372,12 @@ function zlib_encode ($data, $encoding, $level) {}
|
|||
* @link https://php.net/manual/en/function.zlib-decode.php
|
||||
* @param string $data <p>
|
||||
* </p>
|
||||
* @param string $max_decoded_len [optional] <p>
|
||||
* @param string $max_length [optional] <p>
|
||||
* </p>
|
||||
* @return string
|
||||
* @since 5.4
|
||||
*/
|
||||
function zlib_decode ($data, $max_decoded_len = null) {}
|
||||
function zlib_decode ($data, $max_length = null) {}
|
||||
|
||||
/**
|
||||
* Returns the coding type used for output compression
|
||||
|
@ -425,10 +425,10 @@ function deflate_init ($encoding, $options = array()) {}
|
|||
* @param resource $context <p>
|
||||
* A context created with <b>deflate_init()</b>.
|
||||
* </p>
|
||||
* @param string $add <p>
|
||||
* @param string $data <p>
|
||||
* A chunk of data to compress.
|
||||
* </p>
|
||||
* @param int $flush_behavior [optional] <p>
|
||||
* @param int $flush_mode [optional] <p>
|
||||
* One of <b>ZLIB_BLOCK</b>, <b>ZLIB_NO_FLUSH</b>, <b>ZLIB_PARTIAL_FLUSH</b>,
|
||||
* <b>ZLIB_SYNC_FLUSH</b> (default), <b>ZLIB_FULL_FLUSH</b>,
|
||||
* <b>ZLIB_FINISH</b>. Normally you will want to set <b>ZLIB_NO_FLUSH</b> to
|
||||
|
@ -440,7 +440,7 @@ function deflate_init ($encoding, $options = array()) {}
|
|||
* </p>
|
||||
* @since 7.0
|
||||
*/
|
||||
function deflate_add ($context, $add, $flush_behavior = ZLIB_SYNC_FLUSH) {}
|
||||
function deflate_add ($context, $data, $flush_mode = ZLIB_SYNC_FLUSH) {}
|
||||
|
||||
/**
|
||||
* Initialize an incremental inflate context
|
||||
|
@ -471,7 +471,7 @@ function inflate_init ($encoding, $options = array()) {}
|
|||
* @param resource $context <p>
|
||||
* A context created with <b>inflate_init()</b>.
|
||||
* </p>
|
||||
* @param string $encoded_data <p>
|
||||
* @param string $data <p>
|
||||
* A chunk of compressed data.
|
||||
* </p>
|
||||
* @param int $flush_mode [optional] <p>
|
||||
|
@ -486,7 +486,7 @@ function inflate_init ($encoding, $options = array()) {}
|
|||
* </p>
|
||||
* @since 7.0
|
||||
*/
|
||||
function inflate_add ($context, $encoded_data, $flush_mode = ZLIB_SYNC_FLUSH) {}
|
||||
function inflate_add ($context, $data, $flush_mode = ZLIB_SYNC_FLUSH) {}
|
||||
|
||||
/**
|
||||
* @param resource $context
|
||||
|
|
Loading…
Reference in New Issue