From 603099be9088b6a13df7d5d8240b9e8bc30a8f99 Mon Sep 17 00:00:00 2001 From: Kharhamel Date: Wed, 22 May 2024 03:05:08 +0000 Subject: [PATCH] Automatically regenerate the files --- .../{GmpException.php => RnpException.php} | 2 +- generated/apache.php | 1 + generated/apcu.php | 1 + generated/array.php | 18 - generated/bzip2.php | 1 + generated/calendar.php | 1 + generated/classobj.php | 4 +- generated/com.php | 1 + generated/cubrid.php | 1 + generated/curl.php | 1158 ++++++++++++++--- generated/datetime.php | 210 +-- generated/dir.php | 1 + generated/eio.php | 67 +- generated/errorfunc.php | 1 + generated/exec.php | 1 + generated/fileinfo.php | 1 + generated/filesystem.php | 60 +- generated/filter.php | 1 + generated/fpm.php | 24 + generated/ftp.php | 31 + generated/funchand.php | 3 +- generated/functionsList.php | 81 +- generated/gettext.php | 1 + generated/gmp.php | 25 - generated/gnupg.php | 1 + generated/hash.php | 39 +- generated/ibase.php | 1 + generated/ibmDb2.php | 68 +- generated/iconv.php | 1 + generated/image.php | 64 +- generated/imap.php | 198 +-- generated/info.php | 309 +---- generated/inotify.php | 29 + generated/json.php | 1 + generated/ldap.php | 34 +- generated/libxml.php | 3 +- generated/lzf.php | 1 + generated/mailparse.php | 1 + generated/mbstring.php | 24 +- generated/misc.php | 172 +-- generated/mysql.php | 39 +- generated/network.php | 230 ---- generated/oci8.php | 15 +- generated/opcache.php | 1 + generated/openssl.php | 24 +- generated/outcontrol.php | 269 ++-- generated/pcntl.php | 1 + generated/pcre.php | 21 +- generated/pgsql.php | 28 +- generated/posix.php | 37 +- generated/ps.php | 1 + generated/pspell.php | 45 +- generated/readline.php | 1 + generated/rnp.php | 630 +++++++++ generated/rpminfo.php | 1 + generated/rrd.php | 1 + generated/sem.php | 5 +- generated/session.php | 1 + generated/shmop.php | 8 +- generated/sockets.php | 22 +- generated/sodium.php | 19 +- generated/solr.php | 1 + generated/spl.php | 20 +- generated/sqlsrv.php | 1 + generated/ssdeep.php | 1 + generated/ssh2.php | 15 +- generated/stream.php | 28 + generated/strings.php | 1 + generated/swoole.php | 1 + generated/uodbc.php | 148 +-- generated/uopz.php | 1 + generated/url.php | 1 + generated/var.php | 1 + generated/xdiff.php | 1 + generated/xml.php | 683 +--------- generated/xmlrpc.php | 1 + generated/yaml.php | 3 +- generated/yaz.php | 1 + generated/zip.php | 1 + generated/zlib.php | 42 +- rector-migrate.php | 80 +- 81 files changed, 2384 insertions(+), 2687 deletions(-) rename generated/Exceptions/{GmpException.php => RnpException.php} (79%) delete mode 100644 generated/gmp.php create mode 100644 generated/rnp.php diff --git a/generated/Exceptions/GmpException.php b/generated/Exceptions/RnpException.php similarity index 79% rename from generated/Exceptions/GmpException.php rename to generated/Exceptions/RnpException.php index d2c91da9..6cf8fb81 100644 --- a/generated/Exceptions/GmpException.php +++ b/generated/Exceptions/RnpException.php @@ -1,7 +1,7 @@ * * - * So, $out[0] contains array of strings that matched full pattern, - * and $out[1] contains array of strings enclosed by tags. + * So, $out[0] contains an array of strings that matched the full pattern, + * and $out[1] contains an array of strings enclosed by tags. * * * @@ -209,15 +209,15 @@ function preg_grep(string $pattern, array $array, int $flags = 0): array * ]]> * * - * So, $out[0] contains array of strings that matched full pattern, - * and $out[1] contains array of strings enclosed by tags. + * So, $out[0] contains an array of strings that matched the full pattern, + * and $out[1] contains an array of strings enclosed by tags. * * * * The above example will output: * - * So, $out[0] contains array of strings that matched full pattern, - * and $out[1] contains array of strings enclosed by tags. + * So, $out[0] contains an array of strings that matched the full pattern, + * and $out[1] contains an array of strings enclosed by tags. * * If the pattern contains named subpatterns, $matches * additionally contains entries for keys with the subpattern name. @@ -339,15 +339,15 @@ function preg_grep(string $pattern, array $array, int $flags = 0): array * ]]> * * - * So, $out[0] contains array of strings that matched full pattern, - * and $out[1] contains array of strings enclosed by tags. + * So, $out[0] contains an array of strings that matched the full pattern, + * and $out[1] contains an array of strings enclosed by tags. * * * * The above example will output: * - * So, $out[0] contains array of strings that matched full pattern, - * and $out[1] contains array of strings enclosed by tags. + * So, $out[0] contains an array of strings that matched the full pattern, + * and $out[1] contains an array of strings enclosed by tags. * * If the pattern contains named subpatterns, $matches * additionally contains entries for keys with the subpattern name. @@ -683,3 +683,4 @@ function preg_split(string $pattern, string $subject, ?int $limit = -1, int $fla } return $safeResult; } + diff --git a/generated/pgsql.php b/generated/pgsql.php index 9968a5ae..10ef1921 100644 --- a/generated/pgsql.php +++ b/generated/pgsql.php @@ -1211,10 +1211,16 @@ function pg_result_seek($result, int $row): void * array containing all records and fields that match the condition * specified by conditions. * - * If flags is specified, + * If flags is set, * pg_convert is applied to * conditions with the specified flags. * + * If mode is set, + * the return value will be in the form of an array + * with PGSQL_NUM, an associative array + * with PGSQL_ASSOC (default) or both + * with PGSQL_BOTH. + * * By default pg_select passes raw values. Values * must be escaped or PGSQL_DML_ESCAPE option must be * specified. PGSQL_DML_ESCAPE quotes and escapes @@ -1235,9 +1241,15 @@ function pg_result_seek($result, int $row): void * PGSQL_DML_EXEC, * PGSQL_DML_ASYNC or * PGSQL_DML_STRING combined. If PGSQL_DML_STRING is part of the - * flags then query string is returned. When PGSQL_DML_NO_CONV + * flags then the query string is returned. When PGSQL_DML_NO_CONV * or PGSQL_DML_ESCAPE is set, it does not call pg_convert internally. - * @param int $mode + * @param int $mode Any number of PGSQL_ASSOC, + * PGSQL_NUM or + * PGSQL_BOTH + * If PGSQL_ASSOC is set the return value will be an associative array, + * with PGSQL_NUM the return value will be an array, and + * with PGSQL_BOTH the return value will be both an associative and + * numerically indexed array. * @return mixed Returns string if PGSQL_DML_STRING is passed * via flags, otherwise it returns an array on success. * @throws PgsqlException @@ -1295,13 +1307,18 @@ function pg_socket($connection) * The default connection is the last connection made by pg_connect * or pg_pconnect. * As of PHP 8.1.0, using the default connection is deprecated. + * @param int $trace_mode An optional trace mode with the following constants + * PGSQL_TRACE_SUPPRESS_TIMESTAMPS and + * PGSQL_TRACE_REGRESS_MODE * @throws PgsqlException * */ -function pg_trace(string $filename, string $mode = "w", $connection = null): void +function pg_trace(string $filename, string $mode = "w", $connection = null, int $trace_mode = 0): void { error_clear_last(); - if ($connection !== null) { + if ($trace_mode !== 0) { + $safeResult = \pg_trace($filename, $mode, $connection, $trace_mode); + } elseif ($connection !== null) { $safeResult = \pg_trace($filename, $mode, $connection); } else { $safeResult = \pg_trace($filename, $mode); @@ -1358,3 +1375,4 @@ function pg_update($connection, string $table_name, array $values, array $condit } return $safeResult; } + diff --git a/generated/posix.php b/generated/posix.php index ea50d848..16d07306 100644 --- a/generated/posix.php +++ b/generated/posix.php @@ -30,6 +30,32 @@ function posix_access(string $filename, int $flags = 0): void } +/** + * posix_eaccess checks the effective user's permission of a file + * + * @param string $filename The name of a file to be tested. + * @param int $flags A mask consisting of one or more of POSIX_F_OK, + * POSIX_R_OK, POSIX_W_OK and + * POSIX_X_OK. + * + * POSIX_R_OK, POSIX_W_OK and + * POSIX_X_OK request checking whether the file + * exists and has read, write and execute permissions, respectively. + * POSIX_F_OK just requests checking for the + * existence of the file. + * @throws PosixException + * + */ +function posix_eaccess(string $filename, int $flags = 0): void +{ + error_clear_last(); + $safeResult = \posix_eaccess($filename, $flags); + if ($safeResult === false) { + throw PosixException::createFromPhpError(); + } +} + + /** * Gets information about a group provided its id. * @@ -298,6 +324,8 @@ function posix_getpwuid(int $user_id): array * An unprivileged process may only set its soft limit to a value * from 0 to the hard limit, and irreversibly lower its hard limit. * + * @param $resource If NULL all resource limits will be fetched. + * Otherwise, the only limits of the resource type provided will be returned. * @return array Returns an associative array of elements for each * limit that is defined. Each limit has a soft and a hard limit. * @@ -386,10 +414,14 @@ function posix_getpwuid(int $user_id): array * @throws PosixException * */ -function posix_getrlimit(): array +function posix_getrlimit($resource = null): array { error_clear_last(); - $safeResult = \posix_getrlimit(); + if ($resource !== null) { + $safeResult = \posix_getrlimit($resource); + } else { + $safeResult = \posix_getrlimit(); + } if ($safeResult === false) { throw PosixException::createFromPhpError(); } @@ -731,3 +763,4 @@ function posix_uname(): array } return $safeResult; } + diff --git a/generated/ps.php b/generated/ps.php index 6ead054b..2cc4fe6a 100644 --- a/generated/ps.php +++ b/generated/ps.php @@ -1810,3 +1810,4 @@ function ps_translate($psdoc, float $x, float $y): void throw PsException::createFromPhpError(); } } + diff --git a/generated/pspell.php b/generated/pspell.php index 7ef3d259..1234737f 100644 --- a/generated/pspell.php +++ b/generated/pspell.php @@ -57,50 +57,6 @@ function pspell_clear_session(int $dictionary): void } -/** - * Create a config used to open a dictionary. - * - * pspell_config_create has a very similar syntax to - * pspell_new. In fact, using - * pspell_config_create immediately followed by - * pspell_new_config will produce the exact same result. - * However, after creating a new config, you can also use - * pspell_config_* functions before calling - * pspell_new_config to take advantage of some - * advanced functionality. - * - * For more information and examples, check out inline manual pspell - * website:http://aspell.net/. - * - * @param string $language The language parameter is the language code which consists of the - * two letter ISO 639 language code and an optional two letter ISO - * 3166 country code after a dash or underscore. - * @param string $spelling The spelling parameter is the requested spelling for languages - * with more than one spelling such as English. Known values are - * 'american', 'british', and 'canadian'. - * @param string $jargon The jargon parameter contains extra information to distinguish - * two different words lists that have the same language and - * spelling parameters. - * @param string $encoding The encoding parameter is the encoding that words are expected to - * be in. Valid values are 'utf-8', 'iso8859-*', 'koi8-r', - * 'viscii', 'cp1252', 'machine unsigned 16', 'machine unsigned - * 32'. This parameter is largely untested, so be careful when - * using. - * @return int Returns an PSpell\Config instance on success. - * @throws PspellException - * - */ -function pspell_config_create(string $language, string $spelling = "", string $jargon = "", string $encoding = ""): int -{ - error_clear_last(); - $safeResult = \pspell_config_create($language, $spelling, $jargon, $encoding); - if ($safeResult === false) { - throw PspellException::createFromPhpError(); - } - return $safeResult; -} - - /** * This function is * currently not documented; only its argument list is available. @@ -499,3 +455,4 @@ function pspell_store_replacement(int $dictionary, string $misspelled, string $c throw PspellException::createFromPhpError(); } } + diff --git a/generated/readline.php b/generated/readline.php index d8b82181..2613c3ee 100644 --- a/generated/readline.php +++ b/generated/readline.php @@ -123,3 +123,4 @@ function readline_write_history(string $filename = null): void throw ReadlineException::createFromPhpError(); } } + diff --git a/generated/rnp.php b/generated/rnp.php new file mode 100644 index 00000000..43e21320 --- /dev/null +++ b/generated/rnp.php @@ -0,0 +1,630 @@ + - * ]]> - * - * See section 4.7 of the XML 1.0 - * spec for the definition of notation declarations. - * - * @param resource $parser A reference to the XML parser to set up notation declaration handler function. - * @param callable $handler handler is a string containing the name of a - * function that must exist when xml_parse is called - * for parser. - * - * The function named by handler must accept - * five parameters: - * - * handler - * XMLParserparser - * stringnotation_name - * stringbase - * stringsystem_id - * stringpublic_id - * - * - * - * - * parser - * - * - * - * The first parameter, parser, is a - * reference to the XML parser calling the handler. - * - * - * - * - * notation_name - * - * - * This is the notation's name, as per - * the notation format described above. - * - * - * - * - * - * base - * - * - * - * This is the base for resolving the system identifier - * (system_id) of the notation declaration. - * Currently this parameter will always be set to an empty string. - * - * - * - * - * system_id - * - * - * System identifier of the external notation declaration. - * - * - * - * - * - * public_id - * - * - * - * Public identifier of the external notation declaration. - * - * - * - * - * - * If a handler function is set to an empty string, or FALSE, the handler - * in question is disabled. - * @throws XmlException - * - */ -function xml_set_notation_decl_handler($parser, callable $handler): void -{ - error_clear_last(); - $safeResult = \xml_set_notation_decl_handler($parser, $handler); - if ($safeResult === false) { - throw XmlException::createFromPhpError(); - } -} - - -/** - * This function allows to use parser inside - * object. All callback functions could be set with - * xml_set_element_handler etc and assumed to be - * methods of object. - * - * @param resource $parser A reference to the XML parser to use inside the object. - * @param object $object The object where to use the XML parser. - * @throws XmlException - * - */ -function xml_set_object($parser, object $object): void -{ - error_clear_last(); - $safeResult = \xml_set_object($parser, $object); - if ($safeResult === false) { - throw XmlException::createFromPhpError(); - } -} - - -/** - * Sets the processing instruction (PI) handler function for the XML parser - * parser. - * - * A processing instruction has the following format: - * - * <?target - * data?> - * - * - * You can put PHP code into such a tag, but be aware of one limitation: in - * an XML PI, the PI end tag (?>) can not be quoted, - * so this character sequence should not appear in the PHP code you embed - * with PIs in XML documents.If it does, the rest of the PHP code, as well - * as the "real" PI end tag, will be treated as character data. - * - * @param resource $parser A reference to the XML parser to set up processing instruction (PI) handler function. - * @param callable $handler handler is a string containing the name of a - * function that must exist when xml_parse is called - * for parser. - * - * The function named by handler must accept - * three parameters: - * - * handler - * XMLParserparser - * stringtarget - * stringdata - * - * - * - * parser - * - * - * The first parameter, parser, is a - * reference to the XML parser calling the handler. - * - * - * - * - * target - * - * - * The second parameter, target, contains the PI - * target. - * - * - * - * - * data - * - * - * The third parameter, data, contains the PI - * data. - * - * - * - * - * - * If a handler function is set to an empty string, or FALSE, the handler - * in question is disabled. - * @throws XmlException - * - */ -function xml_set_processing_instruction_handler($parser, callable $handler): void -{ - error_clear_last(); - $safeResult = \xml_set_processing_instruction_handler($parser, $handler); - if ($safeResult === false) { - throw XmlException::createFromPhpError(); - } -} - - -/** - * Set a handler to be called when a namespace is declared. Namespace - * declarations occur inside start tags. But the namespace declaration start - * handler is called before the start tag handler for each namespace declared - * in that start tag. - * - * @param resource $parser A reference to the XML parser. - * @param callable $handler handler is a string containing the name of a - * function that must exist when xml_parse is called - * for parser. - * - * The function named by handler must accept - * three parameters, and should return an integer value. If the - * value returned from the handler is FALSE (which it will be if no - * value is returned), the XML parser will stop parsing and - * xml_get_error_code will return - * XML_ERROR_EXTERNAL_ENTITY_HANDLING. - * - * handler - * XMLParserparser - * stringprefix - * stringuri - * - * - * - * parser - * - * - * The first parameter, parser, is a - * reference to the XML parser calling the handler. - * - * - * - * - * prefix - * - * - * The prefix is a string used to reference the namespace within an XML object. - * - * - * - * - * uri - * - * - * Uniform Resource Identifier (URI) of namespace. - * - * - * - * - * - * If a handler function is set to an empty string, or FALSE, the handler - * in question is disabled. - * @throws XmlException - * - */ -function xml_set_start_namespace_decl_handler($parser, callable $handler): void -{ - error_clear_last(); - $safeResult = \xml_set_start_namespace_decl_handler($parser, $handler); - if ($safeResult === false) { - throw XmlException::createFromPhpError(); - } -} - - -/** - * Sets the unparsed entity declaration handler function for the XML parser - * parser. - * - * The handler will be called if the XML parser - * encounters an external entity declaration with an NDATA declaration, like - * the following: - * - * name {publicId | systemId} - * NDATA notationName - * ]]> - * - * - * See section 4.2.2 of - * the XML 1.0 spec for the definition of notation declared - * external entities. - * - * @param resource $parser A reference to the XML parser to set up unparsed entity declaration handler function. - * @param callable $handler handler is a string containing the name of a - * function that must exist when xml_parse is called - * for parser. - * - * The function named by handler must accept six - * parameters: - * - * handler - * XMLParserparser - * stringentity_name - * stringbase - * stringsystem_id - * stringpublic_id - * stringnotation_name - * - * - * - * parser - * - * - * The first parameter, parser, is a - * reference to the XML parser calling the - * handler. - * - * - * - * - * entity_name - * - * - * The name of the entity that is about to be defined. - * - * - * - * - * base - * - * - * This is the base for resolving the system identifier - * (systemId) of the external entity.Currently - * this parameter will always be set to an empty string. - * - * - * - * - * system_id - * - * - * System identifier for the external entity. - * - * - * - * - * public_id - * - * - * Public identifier for the external entity. - * - * - * - * - * notation_name - * - * - * Name of the notation of this entity (see - * xml_set_notation_decl_handler). - * - * - * - * - * - * If a handler function is set to an empty string, or FALSE, the handler - * in question is disabled. - * @throws XmlException - * - */ -function xml_set_unparsed_entity_decl_handler($parser, callable $handler): void -{ - error_clear_last(); - $safeResult = \xml_set_unparsed_entity_decl_handler($parser, $handler); - if ($safeResult === false) { - throw XmlException::createFromPhpError(); - } -} diff --git a/generated/xmlrpc.php b/generated/xmlrpc.php index 3a1f5362..38ac3766 100644 --- a/generated/xmlrpc.php +++ b/generated/xmlrpc.php @@ -20,3 +20,4 @@ function xmlrpc_set_type(&$value, string $type): void throw XmlrpcException::createFromPhpError(); } } + diff --git a/generated/yaml.php b/generated/yaml.php index ba518e9e..8a5e67ad 100644 --- a/generated/yaml.php +++ b/generated/yaml.php @@ -16,7 +16,7 @@ * tag => callable mappings. See * parse callbacks for more * details. - * @return mixed Returns the value encoded in input in appropriate + * @return mixed Returns the value encoded in filename in appropriate * PHP type. If pos is -1 an * array will be returned with one entry for each document found * in the stream. @@ -107,3 +107,4 @@ function yaml_parse(string $input, int $pos = 0, ?int &$ndocs = null, array $cal } return $safeResult; } + diff --git a/generated/yaz.php b/generated/yaz.php index 4730dd0b..d258d485 100644 --- a/generated/yaz.php +++ b/generated/yaz.php @@ -436,3 +436,4 @@ function yaz_wait(array &$options = null) } return $safeResult; } + diff --git a/generated/zip.php b/generated/zip.php index d1a628eb..7ce2263b 100644 --- a/generated/zip.php +++ b/generated/zip.php @@ -142,3 +142,4 @@ function zip_entry_read($zip_entry, int $len = 1024): string } return $safeResult; } + diff --git a/generated/zlib.php b/generated/zlib.php index daa555ab..e381050f 100644 --- a/generated/zlib.php +++ b/generated/zlib.php @@ -403,28 +403,6 @@ function gzopen(string $filename, string $mode, int $use_include_path = 0) } -/** - * Reads to EOF on the given gz-file pointer from the current position and - * writes the (uncompressed) results to standard output. - * - * @param resource $stream The gz-file pointer. It must be valid, and must point to a file - * successfully opened by gzopen. - * @return int The number of uncompressed characters read from gz - * and passed through to the input. - * @throws ZlibException - * - */ -function gzpassthru($stream): int -{ - error_clear_last(); - $safeResult = \gzpassthru($stream); - if ($safeResult === false) { - throw ZlibException::createFromPhpError(); - } - return $safeResult; -} - - /** * gzread reads up to length bytes * from the given gz-file pointer. Reading stops when @@ -542,25 +520,6 @@ function inflate_get_read_len($context): int } -/** - * Usually returns either ZLIB_OK or ZLIB_STREAM_END. - * - * @param resource $context - * @return int Returns decompression status. - * @throws ZlibException - * - */ -function inflate_get_status($context): int -{ - error_clear_last(); - $safeResult = \inflate_get_status($context); - if ($safeResult === false) { - throw ZlibException::createFromPhpError(); - } - return $safeResult; -} - - /** * Incrementally inflates encoded data in the specified context. * @@ -719,3 +678,4 @@ function zlib_decode(string $data, int $max_length = 0): string } return $safeResult; } + diff --git a/rector-migrate.php b/rector-migrate.php index 8bd9d7bd..5996799e 100644 --- a/rector-migrate.php +++ b/rector-migrate.php @@ -22,7 +22,6 @@ 'apcu_sma_info' => 'Safe\apcu_sma_info', 'apc_fetch' => 'Safe\apc_fetch', 'array_walk_recursive' => 'Safe\array_walk_recursive', - 'assert_options' => 'Safe\assert_options', 'base64_decode' => 'Safe\base64_decode', 'bindtextdomain' => 'Safe\bindtextdomain', 'bzclose' => 'Safe\bzclose', @@ -39,7 +38,6 @@ 'class_parents' => 'Safe\class_parents', 'class_uses' => 'Safe\class_uses', 'cli_set_process_title' => 'Safe\cli_set_process_title', - 'closelog' => 'Safe\closelog', 'com_create_guid' => 'Safe\com_create_guid', 'com_event_sink' => 'Safe\com_event_sink', 'com_load_typelib' => 'Safe\com_load_typelib', @@ -107,15 +105,13 @@ 'curl_getinfo' => 'Safe\curl_getinfo', 'curl_init' => 'Safe\curl_init', 'curl_multi_info_read' => 'Safe\curl_multi_info_read', - 'curl_multi_init' => 'Safe\curl_multi_init', 'curl_multi_setopt' => 'Safe\curl_multi_setopt', 'curl_setopt' => 'Safe\curl_setopt', - 'curl_share_errno' => 'Safe\curl_share_errno', 'curl_share_setopt' => 'Safe\curl_share_setopt', 'curl_unescape' => 'Safe\curl_unescape', 'curl_upkeep' => 'Safe\curl_upkeep', - 'date' => 'Safe\date', - 'date_parse' => 'Safe\date_parse', + 'date_create' => 'Safe\date_create', + 'date_create_immutable' => 'Safe\date_create_immutable', 'date_parse_from_format' => 'Safe\date_parse_from_format', 'date_sunrise' => 'Safe\date_sunrise', 'date_sunset' => 'Safe\date_sunset', @@ -129,6 +125,7 @@ 'db2_free_result' => 'Safe\db2_free_result', 'db2_free_stmt' => 'Safe\db2_free_stmt', 'db2_get_option' => 'Safe\db2_get_option', + 'db2_num_rows' => 'Safe\db2_num_rows', 'db2_pclose' => 'Safe\db2_pclose', 'db2_rollback' => 'Safe\db2_rollback', 'db2_server_info' => 'Safe\db2_server_info', @@ -202,6 +199,7 @@ 'finfo_open' => 'Safe\finfo_open', 'flock' => 'Safe\flock', 'fopen' => 'Safe\fopen', + 'fpm_get_status' => 'Safe\fpm_get_status', 'fputcsv' => 'Safe\fputcsv', 'fread' => 'Safe\fread', 'fsockopen' => 'Safe\fsockopen', @@ -221,6 +219,7 @@ 'ftp_login' => 'Safe\ftp_login', 'ftp_mkdir' => 'Safe\ftp_mkdir', 'ftp_mlsd' => 'Safe\ftp_mlsd', + 'ftp_nb_get' => 'Safe\ftp_nb_get', 'ftp_nb_put' => 'Safe\ftp_nb_put', 'ftp_nlist' => 'Safe\ftp_nlist', 'ftp_pasv' => 'Safe\ftp_pasv', @@ -252,8 +251,6 @@ 'get_include_path' => 'Safe\get_include_path', 'get_meta_tags' => 'Safe\get_meta_tags', 'glob' => 'Safe\glob', - 'gmmktime' => 'Safe\gmmktime', - 'gmp_random_seed' => 'Safe\gmp_random_seed', 'gmstrftime' => 'Safe\gmstrftime', 'gnupg_adddecryptkey' => 'Safe\gnupg_adddecryptkey', 'gnupg_addencryptkey' => 'Safe\gnupg_addencryptkey', @@ -274,12 +271,10 @@ 'gzgetss' => 'Safe\gzgetss', 'gzinflate' => 'Safe\gzinflate', 'gzopen' => 'Safe\gzopen', - 'gzpassthru' => 'Safe\gzpassthru', 'gzread' => 'Safe\gzread', 'gzrewind' => 'Safe\gzrewind', 'gzuncompress' => 'Safe\gzuncompress', 'gzwrite' => 'Safe\gzwrite', - 'hash_hkdf' => 'Safe\hash_hkdf', 'hash_update_file' => 'Safe\hash_update_file', 'header_register_callback' => 'Safe\header_register_callback', 'hex2bin' => 'Safe\hex2bin', @@ -389,8 +384,6 @@ 'imagesettile' => 'Safe\imagesettile', 'imagestring' => 'Safe\imagestring', 'imagestringup' => 'Safe\imagestringup', - 'imagesx' => 'Safe\imagesx', - 'imagesy' => 'Safe\imagesy', 'imagetruecolortopalette' => 'Safe\imagetruecolortopalette', 'imagettfbbox' => 'Safe\imagettfbbox', 'imagettftext' => 'Safe\imagettftext', @@ -405,8 +398,6 @@ 'imap_body' => 'Safe\imap_body', 'imap_bodystruct' => 'Safe\imap_bodystruct', 'imap_check' => 'Safe\imap_check', - 'imap_clearflag_full' => 'Safe\imap_clearflag_full', - 'imap_close' => 'Safe\imap_close', 'imap_createmailbox' => 'Safe\imap_createmailbox', 'imap_deletemailbox' => 'Safe\imap_deletemailbox', 'imap_fetchbody' => 'Safe\imap_fetchbody', @@ -414,7 +405,6 @@ 'imap_fetchmime' => 'Safe\imap_fetchmime', 'imap_fetchstructure' => 'Safe\imap_fetchstructure', 'imap_fetch_overview' => 'Safe\imap_fetch_overview', - 'imap_gc' => 'Safe\imap_gc', 'imap_getacl' => 'Safe\imap_getacl', 'imap_getmailboxes' => 'Safe\imap_getmailboxes', 'imap_getsubscribed' => 'Safe\imap_getsubscribed', @@ -423,7 +413,6 @@ 'imap_listscan' => 'Safe\imap_listscan', 'imap_lsub' => 'Safe\imap_lsub', 'imap_mail' => 'Safe\imap_mail', - 'imap_mailboxmsginfo' => 'Safe\imap_mailboxmsginfo', 'imap_mail_compose' => 'Safe\imap_mail_compose', 'imap_mail_copy' => 'Safe\imap_mail_copy', 'imap_mail_move' => 'Safe\imap_mail_move', @@ -436,23 +425,21 @@ 'imap_rfc822_write_address' => 'Safe\imap_rfc822_write_address', 'imap_savebody' => 'Safe\imap_savebody', 'imap_setacl' => 'Safe\imap_setacl', - 'imap_setflag_full' => 'Safe\imap_setflag_full', 'imap_set_quota' => 'Safe\imap_set_quota', 'imap_sort' => 'Safe\imap_sort', 'imap_status' => 'Safe\imap_status', 'imap_subscribe' => 'Safe\imap_subscribe', 'imap_thread' => 'Safe\imap_thread', 'imap_timeout' => 'Safe\imap_timeout', - 'imap_undelete' => 'Safe\imap_undelete', 'imap_unsubscribe' => 'Safe\imap_unsubscribe', 'imap_utf8_to_mutf7' => 'Safe\imap_utf8_to_mutf7', 'inet_ntop' => 'Safe\inet_ntop', 'inflate_add' => 'Safe\inflate_add', 'inflate_get_read_len' => 'Safe\inflate_get_read_len', - 'inflate_get_status' => 'Safe\inflate_get_status', 'inflate_init' => 'Safe\inflate_init', 'ini_get' => 'Safe\ini_get', 'ini_set' => 'Safe\ini_set', + 'inotify_add_watch' => 'Safe\inotify_add_watch', 'inotify_init' => 'Safe\inotify_init', 'inotify_rm_watch' => 'Safe\inotify_rm_watch', 'iptcembed' => 'Safe\iptcembed', @@ -477,7 +464,6 @@ 'ldap_first_attribute' => 'Safe\ldap_first_attribute', 'ldap_first_entry' => 'Safe\ldap_first_entry', 'ldap_free_result' => 'Safe\ldap_free_result', - 'ldap_get_attributes' => 'Safe\ldap_get_attributes', 'ldap_get_dn' => 'Safe\ldap_get_dn', 'ldap_get_entries' => 'Safe\ldap_get_entries', 'ldap_get_option' => 'Safe\ldap_get_option', @@ -509,7 +495,6 @@ 'mb_chr' => 'Safe\mb_chr', 'mb_convert_encoding' => 'Safe\mb_convert_encoding', 'mb_detect_order' => 'Safe\mb_detect_order', - 'mb_encoding_aliases' => 'Safe\mb_encoding_aliases', 'mb_eregi_replace' => 'Safe\mb_eregi_replace', 'mb_ereg_replace' => 'Safe\mb_ereg_replace', 'mb_ereg_replace_callback' => 'Safe\mb_ereg_replace_callback', @@ -571,6 +556,8 @@ 'ob_end_clean' => 'Safe\ob_end_clean', 'ob_end_flush' => 'Safe\ob_end_flush', 'ob_flush' => 'Safe\ob_flush', + 'ob_get_clean' => 'Safe\ob_get_clean', + 'ob_get_flush' => 'Safe\ob_get_flush', 'ob_start' => 'Safe\ob_start', 'oci_bind_array_by_name' => 'Safe\oci_bind_array_by_name', 'oci_bind_by_name' => 'Safe\oci_bind_by_name', @@ -610,7 +597,6 @@ 'oci_statement_type' => 'Safe\oci_statement_type', 'oci_unregister_taf_callback' => 'Safe\oci_unregister_taf_callback', 'odbc_autocommit' => 'Safe\odbc_autocommit', - 'odbc_binmode' => 'Safe\odbc_binmode', 'odbc_columnprivileges' => 'Safe\odbc_columnprivileges', 'odbc_columns' => 'Safe\odbc_columns', 'odbc_commit' => 'Safe\odbc_commit', @@ -627,7 +613,6 @@ 'odbc_field_type' => 'Safe\odbc_field_type', 'odbc_foreignkeys' => 'Safe\odbc_foreignkeys', 'odbc_gettypeinfo' => 'Safe\odbc_gettypeinfo', - 'odbc_longreadlen' => 'Safe\odbc_longreadlen', 'odbc_pconnect' => 'Safe\odbc_pconnect', 'odbc_prepare' => 'Safe\odbc_prepare', 'odbc_primarykeys' => 'Safe\odbc_primarykeys', @@ -644,7 +629,6 @@ 'opcache_compile_file' => 'Safe\opcache_compile_file', 'opcache_get_status' => 'Safe\opcache_get_status', 'opendir' => 'Safe\opendir', - 'openlog' => 'Safe\openlog', 'openssl_cipher_iv_length' => 'Safe\openssl_cipher_iv_length', 'openssl_cipher_key_length' => 'Safe\openssl_cipher_key_length', 'openssl_cms_decrypt' => 'Safe\openssl_cms_decrypt', @@ -696,7 +680,6 @@ 'openssl_x509_read' => 'Safe\openssl_x509_read', 'output_add_rewrite_var' => 'Safe\output_add_rewrite_var', 'output_reset_rewrite_vars' => 'Safe\output_reset_rewrite_vars', - 'pack' => 'Safe\pack', 'parse_ini_file' => 'Safe\parse_ini_file', 'parse_ini_string' => 'Safe\parse_ini_string', 'parse_url' => 'Safe\parse_url', @@ -747,11 +730,10 @@ 'pg_socket' => 'Safe\pg_socket', 'pg_trace' => 'Safe\pg_trace', 'pg_update' => 'Safe\pg_update', - 'phpcredits' => 'Safe\phpcredits', - 'phpinfo' => 'Safe\phpinfo', 'php_sapi_name' => 'Safe\php_sapi_name', 'png2wbmp' => 'Safe\png2wbmp', 'posix_access' => 'Safe\posix_access', + 'posix_eaccess' => 'Safe\posix_eaccess', 'posix_getgrgid' => 'Safe\posix_getgrgid', 'posix_getgrnam' => 'Safe\posix_getgrnam', 'posix_getgroups' => 'Safe\posix_getgroups', @@ -780,7 +762,6 @@ 'pspell_add_to_personal' => 'Safe\pspell_add_to_personal', 'pspell_add_to_session' => 'Safe\pspell_add_to_session', 'pspell_clear_session' => 'Safe\pspell_clear_session', - 'pspell_config_create' => 'Safe\pspell_config_create', 'pspell_config_data_dir' => 'Safe\pspell_config_data_dir', 'pspell_config_dict_dir' => 'Safe\pspell_config_dict_dir', 'pspell_config_ignore' => 'Safe\pspell_config_ignore', @@ -874,6 +855,33 @@ 'rename' => 'Safe\rename', 'rewind' => 'Safe\rewind', 'rmdir' => 'Safe\rmdir', + 'rnp_decrypt' => 'Safe\rnp_decrypt', + 'rnp_dump_packets' => 'Safe\rnp_dump_packets', + 'rnp_dump_packets_to_json' => 'Safe\rnp_dump_packets_to_json', + 'rnp_ffi_create' => 'Safe\rnp_ffi_create', + 'rnp_ffi_set_pass_provider' => 'Safe\rnp_ffi_set_pass_provider', + 'rnp_import_keys' => 'Safe\rnp_import_keys', + 'rnp_import_signatures' => 'Safe\rnp_import_signatures', + 'rnp_key_export' => 'Safe\rnp_key_export', + 'rnp_key_export_autocrypt' => 'Safe\rnp_key_export_autocrypt', + 'rnp_key_export_revocation' => 'Safe\rnp_key_export_revocation', + 'rnp_key_get_info' => 'Safe\rnp_key_get_info', + 'rnp_key_remove' => 'Safe\rnp_key_remove', + 'rnp_key_revoke' => 'Safe\rnp_key_revoke', + 'rnp_list_keys' => 'Safe\rnp_list_keys', + 'rnp_load_keys' => 'Safe\rnp_load_keys', + 'rnp_load_keys_from_path' => 'Safe\rnp_load_keys_from_path', + 'rnp_locate_key' => 'Safe\rnp_locate_key', + 'rnp_op_encrypt' => 'Safe\rnp_op_encrypt', + 'rnp_op_generate_key' => 'Safe\rnp_op_generate_key', + 'rnp_op_sign' => 'Safe\rnp_op_sign', + 'rnp_op_sign_cleartext' => 'Safe\rnp_op_sign_cleartext', + 'rnp_op_sign_detached' => 'Safe\rnp_op_sign_detached', + 'rnp_op_verify' => 'Safe\rnp_op_verify', + 'rnp_op_verify_detached' => 'Safe\rnp_op_verify_detached', + 'rnp_save_keys' => 'Safe\rnp_save_keys', + 'rnp_save_keys_to_path' => 'Safe\rnp_save_keys_to_path', + 'rnp_supported_features' => 'Safe\rnp_supported_features', 'rpmaddtag' => 'Safe\rpmaddtag', 'rrd_create' => 'Safe\rrd_create', 'rrd_first' => 'Safe\rrd_first', @@ -919,7 +927,6 @@ 'shm_put_var' => 'Safe\shm_put_var', 'shm_remove' => 'Safe\shm_remove', 'shm_remove_var' => 'Safe\shm_remove_var', - 'shuffle' => 'Safe\shuffle', 'simplexml_import_dom' => 'Safe\simplexml_import_dom', 'simplexml_load_file' => 'Safe\simplexml_load_file', 'simplexml_load_string' => 'Safe\simplexml_load_string', @@ -927,6 +934,7 @@ 'socket_addrinfo_bind' => 'Safe\socket_addrinfo_bind', 'socket_addrinfo_connect' => 'Safe\socket_addrinfo_connect', 'socket_addrinfo_lookup' => 'Safe\socket_addrinfo_lookup', + 'socket_atmark' => 'Safe\socket_atmark', 'socket_bind' => 'Safe\socket_bind', 'socket_connect' => 'Safe\socket_connect', 'socket_create' => 'Safe\socket_create', @@ -960,7 +968,6 @@ 'sodium_crypto_auth_verify' => 'Safe\sodium_crypto_auth_verify', 'sodium_crypto_box_open' => 'Safe\sodium_crypto_box_open', 'sodium_crypto_box_seal_open' => 'Safe\sodium_crypto_box_seal_open', - 'sodium_crypto_generichash_update' => 'Safe\sodium_crypto_generichash_update', 'sodium_crypto_secretbox_open' => 'Safe\sodium_crypto_secretbox_open', 'sodium_crypto_sign_open' => 'Safe\sodium_crypto_sign_open', 'sodium_crypto_sign_verify_detached' => 'Safe\sodium_crypto_sign_verify_detached', @@ -1009,6 +1016,7 @@ 'ssh2_sftp_symlink' => 'Safe\ssh2_sftp_symlink', 'ssh2_sftp_unlink' => 'Safe\ssh2_sftp_unlink', 'ssh2_shell' => 'Safe\ssh2_shell', + 'stream_context_set_options' => 'Safe\stream_context_set_options', 'stream_context_set_params' => 'Safe\stream_context_set_params', 'stream_copy_to_stream' => 'Safe\stream_copy_to_stream', 'stream_filter_append' => 'Safe\stream_filter_append', @@ -1044,7 +1052,6 @@ 'swoole_event_del' => 'Safe\swoole_event_del', 'swoole_event_write' => 'Safe\swoole_event_write', 'symlink' => 'Safe\symlink', - 'syslog' => 'Safe\syslog', 'system' => 'Safe\system', 'tempnam' => 'Safe\tempnam', 'timezone_name_from_abbr' => 'Safe\timezone_name_from_abbr', @@ -1071,16 +1078,7 @@ 'xdiff_string_patch_binary' => 'Safe\xdiff_string_patch_binary', 'xmlrpc_set_type' => 'Safe\xmlrpc_set_type', 'xml_parser_free' => 'Safe\xml_parser_free', - 'xml_set_character_data_handler' => 'Safe\xml_set_character_data_handler', - 'xml_set_default_handler' => 'Safe\xml_set_default_handler', - 'xml_set_element_handler' => 'Safe\xml_set_element_handler', - 'xml_set_end_namespace_decl_handler' => 'Safe\xml_set_end_namespace_decl_handler', - 'xml_set_external_entity_ref_handler' => 'Safe\xml_set_external_entity_ref_handler', - 'xml_set_notation_decl_handler' => 'Safe\xml_set_notation_decl_handler', - 'xml_set_object' => 'Safe\xml_set_object', - 'xml_set_processing_instruction_handler' => 'Safe\xml_set_processing_instruction_handler', - 'xml_set_start_namespace_decl_handler' => 'Safe\xml_set_start_namespace_decl_handler', - 'xml_set_unparsed_entity_decl_handler' => 'Safe\xml_set_unparsed_entity_decl_handler', + 'xml_parser_set_option' => 'Safe\xml_parser_set_option', 'yaml_parse' => 'Safe\yaml_parse', 'yaml_parse_file' => 'Safe\yaml_parse_file', 'yaml_parse_url' => 'Safe\yaml_parse_url',