From 7a4af1799c90d264d3fd25fcdc023c4fe0a2e189 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sun, 25 Oct 2020 10:27:12 +0000 Subject: [PATCH 01/18] W.I.P. Migration document for ValueErrors in PHP 8.0 --- .../migration80/incompatible/value-errors.xml | 7879 +++++++++++++++++ 1 file changed, 7879 insertions(+) create mode 100644 appendices/migration80/incompatible/value-errors.xml diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml new file mode 100644 index 000000000000..203cd30d9801 --- /dev/null +++ b/appendices/migration80/incompatible/value-errors.xml @@ -0,0 +1,7879 @@ + + + + Functions which now throw ValueErrors + + + <link linkend="book.Core">Core</link> + + + + + func_get_arg will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be less than the number of the arguments passed to the currently executed function" + + + + + + strncmp will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than or equal to 0" + + + + + + strncasecmp will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than or equal to 0" + + + + + + error_reporting will throw a ValueError in the following conditions: + + if argument number (argument_number) does no respect the following condition: "cannot be a recursive array" + + + + + + define will throw a ValueError in the following conditions: + + if argument number (argument_number) does no respect the following condition: "cannot be a recursive array" + if argument number (1) does no respect the following condition: "cannot be a class constant" + + + + + + class_alias will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a user-defined class name, internal class name given" + + + + + + trigger_error will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of E_USER_ERROR, E_USER_WARNING, E_USER_NOTICE," + + + + + + get_resources will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid resource type" + + + + + + Zend/zend.c=75=ZEND_API FILE *(*zend_fopen)(const char *filename, zend_string **opened_path); will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + main/streams/plain_wrapper.c=246=static void detect_is_seekable(php_stdio_stream_data *self) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unknown option %d for stream_metadata", option + + + + + + main/streams/plain_wrapper.c=153=static int do_fstat(php_stdio_stream_data *d, int force) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unknown option %d for stream_metadata", option + + + + + + main/streams/plain_wrapper.c=1048=PHPAPI php_stream *_php_stream_fopen(const char *filename, const char *mode, zend_string **opened_path, int options STREAMS_DC) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unknown option %d for stream_metadata", option + + + + + + rename will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Path cannot be empty" + + + + + + unlink will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Path cannot be empty" + + + + + + copy will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Path cannot be empty" + + + + + + main/streams/streams.c=1815=PHPAPI php_stream_wrapper *php_stream_locate_url_wrapper(const char *path, const char **path_for_open, int options) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Path cannot be empty" + + + + + + + + <link linkend="book.SAPI">SAPI</link> + + + + + phpdbg_color will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of PHPDBG_COLOR_PROMPT, PHPDBG_COLOR_NOTICE, or PHPDBG_COLOR_ERROR" + + + + + + + + <link linkend="book.Windows">Windows</link> + + + + + sapi_windows_cp_set will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between 0 and %u", UINT_MAX + + + + + + sapi_windows_cp_conv will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid codepage" + + + + + + + + <link linkend="book.array">array</link> + + + + + count will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be either COUNT_NORMAL or COUNT_RECURSIVE" + + + + + + min will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must contain at least one element" + + + + + + max will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must contain at least one element" + + + + + + extract will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid extract type" + if argument number (3) does no respect the following condition: "must be a valid identifier" + + + + + + array_fill will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + array_fill_keys will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: \ + + + + + + array_pad will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be less than or equal to 1048576" + + + + + + array_multisort will throw a ValueError in the following conditions: + + if argument number (i + 1) does no respect the following condition: "must be a valid sort flag" + if argument number (Unknown) does no respect the following condition: "Array sizes are inconsistent" + + + + + + array_rand will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must be between 1 and the number of elements in argument #1 ($array)" + + + + + + array_chunk will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + array_combine will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "and argument #2 ($values) must have the same number of elements" + + + + + + + + <link linkend="book.bcmath">bcmath</link> + + + + + bcadd will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcsub will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcmul will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcdiv will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcmod will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcpowmod will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot have a fractional part" + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + if argument number (4) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcpow will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is too large" + if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcsqrt will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + if argument number (2) does no respect the following condition: "is too large" + + + + + + bccomp will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + bcscale will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + + + <link linkend="book.bz2">bz2</link> + + + + + bzread will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + bzopen will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must be either \"r\" or \"w\"" + + + + + + + + <link linkend="book.calendar">calendar</link> + + + + + unixtojd will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + jdtounix will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "jday must be between 2440588 and " ZEND_LONG_FMT, ZEND_LONG_MAX / SECS_PER_DAY + 2440588 + + + + + + cal_info will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid calendar ID" + + + + + + cal_days_in_month will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid date" + if argument number (1) does no respect the following condition: "must be a valid calendar ID" + + + + + + cal_to_jd will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid calendar ID" + + + + + + cal_from_jd will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid calendar ID" + + + + + + jdtojewish will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Year out of range (0-9999)" + + + + + + easter_date will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between 1970 and 2037 (inclusive)" + + + + + + easter_days will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between 1970 and 2037 (inclusive)" + + + + + + + + <link linkend="book.com_dotnet">com_dotnet</link> + + + + + variant_date_from_timestamp will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not go past 23:59:59, December 31, 3000, UTC" + + + + + + + + <link linkend="book.curl">curl</link> + + + + + curl_init will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): cURL option must not contain any null bytes", get_active_function_name( + + + + + + curl_copy_handle will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): The provided file handle must be writable", get_active_function_name( + if argument number (2) does no respect the following condition: "is not a valid cURL option" + + + + + + curl_setopt will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): The provided file handle must be writable", get_active_function_name( + if argument number (2) does no respect the following condition: "is not a valid cURL option" + + + + + + curl_setopt_array will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): The provided file handle must be writable", get_active_function_name( + if argument number (2) does no respect the following condition: "contains an invalid cURL option" + + + + + + curl_multi_strerror will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is not a valid cURL multi option" + + + + + + curl_multi_setopt will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is not a valid cURL multi option" + + + + + + curl_share_close will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is not a valid cURL share option" + + + + + + curl_share_setopt will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is not a valid cURL share option" + + + + + + + + <link linkend="book.date">date</link> + + + + + date_timestamp_get will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Epoch doesn't fit in a PHP integer" + + + + + + timezone_identifiers_list will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a two-letter ISO 3166-1 compatible country code " + + + + + + date_default_timezone_get will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, or SUNFUNCS_RET_DOUBLE" + + + + + + date_sunrise will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, or SUNFUNCS_RET_DOUBLE" + + + + + + date_sunset will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, or SUNFUNCS_RET_DOUBLE" + + + + + + + + <link linkend="book.dom">dom</link> + + + + + DOMDocument::__construct, + DOMDocument::validate, + DOMDocument::schemaValidate, + DOMDocument::schemaValidateSource, + DOMDocument::load, + DOMDocument::loadXML, + DOMDocument::relaxNGValidate, and + DOMDocument::relaxNGValidateSource + will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "Path to document must not contain any null bytes" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + DOMDocument::save will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + DOMDocument::loadHTML, and + DOMDocument::loadHTMLFile will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + DOMDocument::saveHTMLFile will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + DOMImplementation::createDocumentType will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + DOMImplementation::createDocument will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "is an invalid DocumentType object" + + + + + + DOMElement::setAttribute will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid XML attribute" + + + + + + DOMElement::setAttributeNode will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must have the node attribute" + + + + + + DOMElement::setAttributeNS will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + DOMNamedNodeMap::item will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between 0 and %d", INT_MAX + + + + + + DOMNode::lookupNamespaceURI, + DOMNode::C14N, and + DOMNode::C14NFile + will throw a ValueError in the following conditions: + + if argument number (3 + mode) does no respect the following condition: "must have a \"query\" key" + + + + + + dom_import_simplexml will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is not a valid node type" + + + + + + DOMText::splitText will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + + + <link linkend="book.enchant">enchant</link> + + + + + enchant_broker_request_dict will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + + + <link linkend="book.exif">exif</link> + + + + + exif_read_data, and + exif_thumbnail will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + + + <link linkend="book.ffi">ffi</link> + + + + + ext/ffi/ffi.g=458=attributes(zend_ffi_dcl *dcl): will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + + + <link linkend="book.fileinfo">fileinfo</link> + + + + + finfo_set_flags, + finfo_file, + finfo_buffer, and + mime_content_type will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Path cannot be empty" + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + + + <link linkend="book.filesystem">filesystem</link> + + + + + scandir will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + SplFileObject::flock will throw a ValueError in the following conditions: + + if argument number (operation_arg_num) does no respect the following condition: "must be one of LOCK_SH, LOCK_EX, or LOCK_UN" + + + + + + flock will throw a ValueError in the following conditions: + + if argument number (operation_arg_num) does no respect the following condition: "must be one of LOCK_SH, LOCK_EX, or LOCK_UN" + + + + + + file_get_contents will throw a ValueError in the following conditions: + + if argument number (5) does no respect the following condition: "must be greater than or equal to 0" + + + + + + file will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid flag value" + + + + + + popen will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of \"r\", \"rb\", \"w\", or \"wb\"" + + + + + + fgets will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + ftruncate will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + fread will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + fputcsv will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a single character" + if argument number (5) does no respect the following condition: "must be empty or a single character" + + + + + + fgetcsv will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a greater than or equal to 0" + if argument number (3) does no respect the following condition: "must be a single character" + if argument number (5) does no respect the following condition: "must be empty or a single character" + + + + + + touch will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be null when argument #3 ($atime) is an integer" + + + + + + + + <link linkend="book.filter">filter</link> + + + + + filter_has_var, + filter_input_array, + filter_var_array, + filter_input, and + filter_var will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be an INPUT_* constant" + if argument number (2) does no respect the following condition: "cannot contain empty keys" + + + + + + ext/filter/logical_filters.c=548=void php_filter_validate_domain(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): \"separator\" option must be one character long", get_active_function_name( + + + + + + ext/filter/logical_filters.c=799=void php_filter_validate_ip(PHP_INPUT_FILTER_PARAM_DECL) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): \"thousand\" option cannot be empty", get_active_function_name( + + + + + + ext/filter/logical_filters.c=146=static int php_filter_parse_octal(const char *str, size_t str_len, zend_long *ret) { /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): \"thousand\" option cannot be empty", get_active_function_name( + + + + + + + + <link linkend="book.ftp">ftp</link> + + + + + ftp_connect will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than 0" + + + + + + ftp_ssl_connect will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than 0" + + + + + + ftp_set_option will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS" + if argument number (3) does no respect the following condition: "must be greater than 0 for the FTP_TIMEOUT_SEC option" + + + + + + ftp_get_option will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPASVADDRESS" + + + + + + + + <link linkend="book.gd">gd</link> + + + + + imagesetstyle will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + imagecreatetruecolor will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than 0" + + + + + + imagetruecolortopalette will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than 0 and less than %d", INT_MAX + + + + + + imagecolormatch will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be TrueColor" + if argument number (2) does no respect the following condition: "must have at least one color" + + + + + + imagelayereffect will throw a ValueError in the following conditions: + + if argument number (argument_number) does no respect the following condition: "must be between 0 and %d (inclusive)", gd##name##Max); \ + + + + + + imagecreate will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than 0" + + + + + + imagecolordeallocate will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be between 0 and %d", gdImageColorsTotal(im + + + + + + imagecolorsforindex will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is out of range" + + + + + + imagegammacorrect will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + imageinterlace will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Trying to use %d points in array with only %d points", npoints, nelem/2 + if argument number (2) does no respect the following condition: "must have an even number of elements" + if argument number (3) does no respect the following condition: "must be greater than or equal to 3" + + + + + + imagepolygon will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Trying to use %d points in array with only %d points", npoints, nelem/2 + if argument number (2) does no respect the following condition: "must have an even number of elements" + if argument number (3) does no respect the following condition: "must be greater than or equal to 3" + + + + + + imageopenpolygon will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Trying to use %d points in array with only %d points", npoints, nelem/2 + if argument number (2) does no respect the following condition: "must have an even number of elements" + if argument number (3) does no respect the following condition: "must be greater than or equal to 3" + + + + + + imagefilledpolygon will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Trying to use %d points in array with only %d points", npoints, nelem/2 + if argument number (2) does no respect the following condition: "must have an even number of elements" + if argument number (3) does no respect the following condition: "must be greater than or equal to 3" + + + + + + imagecopyresized will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than 0" + + + + + + imageconvolution will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a 3x3 array, matrix[%d][%d] cannot be found (missing integer key)", i, j + + + + + + imageflip will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of IMG_FLIP_VERTICAL, IMG_FLIP_HORIZONTAL, or IMG_FLIP_BOTH" + + + + + + imagecrop will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must have a \"height\" key" + + + + + + imagecropauto will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid mode" + if argument number (4) does no respect the following condition: "must be greater than or equal to 0 when using the threshold mode" + + + + + + imageaffine will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must have 6 elements" + if argument number (3) does no respect the following condition: "must have a \"height\" key" + + + + + + imageaffinematrixget will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid element type" + if argument number (2) does no respect the following condition: "must have a \"y\" key" + + + + + + imageaffinematrixconcat will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must have 6 elements" + + + + + + + + <link linkend="book.gettext">gettext</link> + + + + + bindtextdomain will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + + + <link linkend="book.gmp">gmp</link> + + + + + gmp_export, and + gmp_init will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 1" + if argument number (3) does no respect the following condition: "cannot use multiple endian options" + + + + + + gmp_import will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a multiple of argument #2 ($word_size)" + if argument number (2) does no respect the following condition: "must be greater than or equal to 1" + if argument number (3) does no respect the following condition: "cannot use multiple endian options" + + + + + + gmp_strval will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be between 2 and %d, or -2 and -36", GMP_MAX_BASE + + + + + + gmp_div_qr, + gmp_div_r, and + gmp_div_q will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be one of GMP_ROUND_ZERO, GMP_ROUND_PLUSINF, or GMP_ROUND_MINUSINF" + + + + + + gmp_fact, + gmp_sqrt, and + gmp_sqrtrem + will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + gmp_binomial, + gmp_pow, and + gmp_powm will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + gmp_root, and + gmp_rootrem will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be odd if argument #1 ($a) is negative" + + + + + + gmp_random_bits will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + gmp_random_range will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be less than argument #2 ($maximum)" + + + + + + gmp_setbit will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be less than %d * %d", INT_MAX, GMP_NUMB_BITS + + + + + + gmp_clrbit, + gmp_testbit, + gmp_scan0, + gmp_scan1 will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + + + <link linkend="book.hash">hash</link> + + + + + ext/hash/hash.c=101=PHP_HASH_API const php_hash_ops *php_hash_fetch_ops(zend_string *algo) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + HashContext::__construct) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_tiger.c=242=static int php_tiger_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=130=static inline size_t align_to(size_t pos, size_t alignment) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=135=static size_t parse_serialize_spec( will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=228=PHP_HASH_API int php_hash_serialize_spec(const php_hashcontext_object *hash, zval *zv, const char *spec) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=175=static uint64_t one_from_buffer(size_t sz, const unsigned char *buf) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=191=static void one_to_buffer(size_t sz, unsigned char *buf, uint64_t val) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=327=PHP_HASH_API int php_hash_serialize(const php_hashcontext_object *hash, zend_long *magic, zval *zv) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=273=PHP_HASH_API int php_hash_unserialize_spec(php_hashcontext_object *hash, const zval *zv, const char *spec) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=1385=static zend_object *php_hashcontext_clone(zend_object *zobj) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=338=PHP_HASH_API int php_hash_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=1368=static void php_hashcontext_dtor(zend_object *obj) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_gost.c=307=static int php_gost_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=120=PHP_HASH_API int php_hash_copy(const void *ops, void *orig_context, void *dest_context) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + mhash_keygen_s2k will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + if argument number (4) does no respect the following condition: "must be a greater than 0" + + + + + + ext/hash/hash.c=1355=static zend_object* php_hashcontext_create(zend_class_entry *ce) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + HashContext::__unserialize will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=111=PHP_HASH_API void php_hash_register_algo(const char *algo, const php_hash_ops *ops) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_tiger.c=235=PHP_HASH_API void PHP_TIGER192Final(unsigned char digest[24], PHP_TIGER_CTX *context) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_md.c=295=static void MD2_Transform(PHP_MD2_CTX *context, const unsigned char *block) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_sha3.c=155=static void PHP_SHA3_Update(PHP_SHA3_CTX* ctx, will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_sha3.c=179=static void PHP_SHA3_Final(unsigned char* digest, will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_sha3.c=238=static int php_sha3##bits##_unserialize(php_hashcontext_object *hash, \ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash_snefru.c=192=static int php_snefru_unserialize(php_hashcontext_object *hash, zend_long magic, const zval *zv) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + hash will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + hash_file will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=467=static inline void php_hash_hmac_prep_key(unsigned char *K, const php_hash_ops *ops, void *context, const unsigned char *key, const size_t key_len) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=460=static inline void php_hash_string_xor(unsigned char *out, const unsigned char *in, const unsigned char *xor_with, const size_t length) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + ext/hash/hash.c=488=static void php_hash_do_hash_hmac( will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + hash_hkdf will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "cannot be empty" + if argument number (3) does no respect the following condition: "must be less than or equal to %zd", ops->digest_size * 255 + + + + + + hash_pbkdf2 will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + if argument number (3) does no respect the following condition: "must be less than or equal to INT_MAX - 4 bytes" + if argument number (4) does no respect the following condition: "must be greater than 0" + if argument number (5) does no respect the following condition: "must be greater than or equal to 0" + + + + + + ext/hash/hash.c=481=static inline void php_hash_hmac_round(unsigned char *final, const php_hash_ops *ops, void *context, const unsigned char *key, const unsigned char *data, const zend_long data_size) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + hash_hmac will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + hash_hmac_file will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + mhash will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid cryptographic hashing algorithm" + if argument number (2) does no respect the following condition: "must not contain any null bytes" + + + + + + hash_init will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a cryptographic hashing algorithm if HMAC is requested" + if argument number (3) does no respect the following condition: "cannot be empty when HMAC is requested" + + + + + + + + <link linkend="book.iconv">iconv</link> + + + + + ext/iconv/iconv.c=118=static php_iconv_err_t _php_iconv_substr(smart_str *pretval, const char *str, size_t nbytes, zend_long offset, zend_long len, const char *enc); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=120=static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_nbytes, const char *fval, size_t fval_nbytes, size_t max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + iconv_mime_decode will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + iconv_mime_decode_headers will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=2627=static php_iconv_err_t php_iconv_stream_filter_register_factory(void) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=2584=static php_stream_filter *php_iconv_stream_filter_factory_create(const char *name, zval *params, uint8_t persistent) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=254=static const char *get_internal_encoding(void) { will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + iconv_get_encoding will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=261=static const char *get_input_encoding(void) { will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=127=static int php_iconv_output_conflict(const char *handler_name, size_t handler_name_len); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=292=static int php_iconv_output_handler(void **nothing, php_output_context *output_context) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=268=static const char *get_output_encoding(void) { will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=122=static php_iconv_err_t _php_iconv_mime_decode(smart_str *pretval, const char *str, size_t str_nbytes, const char *enc, const char **next_pos, int mode); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=124=static php_iconv_err_t php_iconv_stream_filter_register_factory(void); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=125=static php_iconv_err_t php_iconv_stream_filter_unregister_factory(void); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=276=static int php_iconv_output_conflict(const char *handler_name, size_t handler_name_len) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=111=static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=348=static php_iconv_err_t _php_iconv_appendl(smart_str *d, const char *s, size_t l, iconv_t cd) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=405=static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=116=static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const char *enc); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=615=static php_iconv_err_t _php_iconv_substr(smart_str *pretval, will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=896=static php_iconv_err_t _php_iconv_mime_encode(smart_str *pretval, const char *fname, size_t fname_nbytes, const char *fval, size_t fval_nbytes, size_t max_line_len, const char *lfchars, php_iconv_enc_scheme_t enc_scheme, const char *out_charset, const char *enc) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=112=static php_iconv_err_t _php_iconv_appendc(smart_str *d, const char c, iconv_t cd); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + iconv_strlen, + iconv_substr, + iconv_strpos, and + iconv_strrpos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + iconv_mime_encode will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + iconv will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=430=PHP_ICONV_API php_iconv_err_t php_iconv_string(const char *in_p, size_t in_len, zend_string **out, const char *out_charset, const char *in_charset) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=114=static void _php_iconv_show_error(php_iconv_err_t err, const char *out_charset, const char *in_charset); will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=540=static php_iconv_err_t _php_iconv_strlen(size_t *pretval, const char *str, size_t nbytes, const char *enc) will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + ext/iconv/iconv.c=746=static php_iconv_err_t _php_iconv_strpos(size_t *pretval, will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + + + <link linkend="book.imap">imap</link> + + + + + imap_open will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a bitmask of the OP_* constants, and CL_EXPUNGE" + if argument number (5) does no respect the following condition: "must be greater than or equal to 0" + + + + + + imap_reopen will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a bitmask of OP_READONLY, OP_ANONYMOUS, OP_HALFOPEN, " + if argument number (4) does no respect the following condition: "must be greater than or equal to 0" + + + + + + imap_gc will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a bitmask of IMAP_GC_TEXTS, IMAP_GC_ELT, and IMAP_GC_ENV" + + + + + + imap_close will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be CL_EXPUNGE or 0" + + + + + + imap_body will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" + + + + + + imap_mail_copy will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a bitmask of CP_UID, and CP_MOVE" + + + + + + imap_mail_move will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be CP_UID or 0" + + + + + + imap_delete will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be FT_UID or 0" + + + + + + imap_headerinfo will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + if argument number (3) does no respect the following condition: "must be between 0 and %d", MAILTMPLEN + + + + + + imap_fetchstructure will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + if argument number (3) does no respect the following condition: "must be FT_UID or 0" + + + + + + imap_fetchbody will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" + + + + + + imap_fetchmime will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" + + + + + + imap_savebody will throw a ValueError in the following conditions: + + if argument number (5) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" + + + + + + imap_setflag_full will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be ST_UID or 0" + + + + + + imap_clearflag_full will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be ST_UID or 0" + + + + + + imap_sort will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of the SORT* constants" + if argument number (4) does no respect the following condition: "must be a bitmask of SE_UID, and SE_NOPREFETCH" + + + + + + imap_fetchheader will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a bitmask of FT_UID, FT_PREFETCHTEXT, and FT_INTERNAL" + + + + + + imap_msgno will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + imap_status will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a bitmask of SA_* constants" + + + + + + imap_fetch_overview will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + if argument number (3) does no respect the following condition: "must be FT_UID or 0" + + + + + + imap_mail_compose will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "individual body cannot be empty" + + + + + + imap_mail will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + imap_search will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a bitmask of SE_FREE, and SE_UID" + + + + + + imap_rfc822_parse_headers will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=4029=static zend_string* _php_imap_parse_address (ADDRESS *addresslist, zval *paddress) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=4053=static void _php_make_header_object(zval *myzvalue, ENVELOPE *en) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Header \"%s\" has invalid format, or contains invalid characters", ZSTR_VAL(key + + + + + + ext/imap/php_imap.c=77=static zend_string* _php_imap_parse_address(ADDRESS *addresslist, zval *paddress); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + imap_rfc822_write_address will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=4014=static zend_string* _php_rfc822_write_address(ADDRESS *addresslist) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + imap_mime_header_decode will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=3936=static zend_string* _php_rfc822_write_address(ADDRESS *addresslist) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=3959=static int _php_rfc822_len(char *str) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Header \"%s\" has invalid format, or contains invalid characters", ZSTR_VAL(key + + + + + + ext/imap/php_imap.c=3986=static int _php_imap_address_size (ADDRESS *addresslist) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=78=static zend_string* _php_rfc822_write_address(ADDRESS *addresslist); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=75=static void _php_make_header_object(zval *myzvalue, ENVELOPE *en); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=76=static void _php_imap_add_body(zval *arg, BODY *body); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/imap/php_imap.c=3925=static long _php_rfc822_soutr (void *stream, char *string) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + + + <link linkend="book.intl">intl</link> + + + + + ext/intl/breakiterator/breakiterator_methods.cpp=192=static void _breakiter_int32_ret_int32( will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between %d and %d", INT32_MIN, INT32_MAX + + + + + + IntlBreakIterator::isBoundary will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between %d and %d", INT32_MIN, INT32_MAX + + + + + + IntlBreakIterator::getPartsIterator will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of IntlPartsIterator::KEY_SEQUENTIAL, " + + + + + + intlcal_get_locale will throw a ValueError in the following conditions: + + if argument number (getThis() ? 1 : 2) does no respect the following condition: "must be either Locale::ACTUAL_LOCALE or Locale::VALID_LOCALE" + + + + + + intlcal_set_minimal_days_in_first_week will throw a ValueError in the following conditions: + + if argument number (getThis() ? 1 : 2) does no respect the following condition: "must be between 1 and 7" + + + + + + intlcal_set_repeated_wall_time_option will throw a ValueError in the following conditions: + + if argument number (getThis() ? 1 : 2) does no respect the following condition: "must be either IntlCalendar::WALLTIME_FIRST or " + + + + + + intlcal_set_skipped_wall_time_option will throw a ValueError in the following conditions: + + if argument number (getThis() ? 1 : 2) does no respect the following condition: "must be one of IntlCalendar::WALLTIME_FIRST, " + + + + + + ext/intl/calendar/gregoriancalendar_methods.cpp=46=static void _php_intlgregcal_constructor_body( will throw a ValueError in the following conditions: + + if argument number (getThis() ? (i-1) : i) does no respect the following condition: + + + + + + intlgregcal_is_leap_year will throw a ValueError in the following conditions: + + if argument number (getThis() ? 1 : 2) does no respect the following condition: "must be between %d and %d", INT32_MIN, INT32_MAX + + + + + + UConverter::reasonText) { will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a UConverter::REASON_* constant" + + + + + + numfmt_format will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a NumberFormatter::TYPE_* constant" + + + + + + numfmt_parse will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a NumberFormatter::TYPE_* constant" + + + + + + grapheme_strpos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + grapheme_stripos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + grapheme_strrpos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + grapheme_strripos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + grapheme_substr will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is too large" + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + grapheme_extract will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is too large" + if argument number (3) does no respect the following condition: "must be one of GRAPHEME_EXTR_COUNT, GRAPHEME_EXTR_MAXBYTES, or GRAPHEME_EXTR_MAXCHARS" + + + + + + grapheme_strstr will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + grapheme_stristr will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + locale_compose will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must contain a \"%s\" key", LOC_LANG_TAG + + + + + + normalizer_normalize will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a a valid normalization form" + + + + + + normalizer_is_normalized will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a a valid normalization form" + + + + + + ResourceBundle::getIterator will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is too long" + + + + + + ResourceBundle::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is too long" + + + + + + Spoofchecker::setRestrictionLevel will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of Spoofchecker::ASCII, Spoofchecker::SINGLE_SCRIPT_RESTRICTIVE, " + + + + + + transliterator_create will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be either Transliterator::FORWARD or Transliterator::REVERSE" + + + + + + transliterator_transliterate will throw a ValueError in the following conditions: + + if argument number (object ? 3 : 4) does no respect the following condition: "must be greater than or equal to -1" + if argument number (object ? 2 : 3) does no respect the following condition: "must be less than or equal to argument #%d ($end)", object ? 3 : 4 + if argument number (2) does no respect the following condition: "must be either Transliterator::FORWARD or Transliterator::REVERSE" + + + + + + transliterator_create_from_rules will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be either Transliterator::FORWARD or Transliterator::REVERSE" + + + + + + + + <link linkend="book.json">json</link> + + + + + json_decode will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be less than %d", INT_MAX + + + + + + + + <link linkend="book.ldap">ldap</link> + + + + + ldap_get_option will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ldap_parse_result will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ldap_exop_passwd will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ldap_bind_ext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_unbind will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must have the same number of elements as the links array" + + + + + + ldap_read will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must have the same number of elements as the links array" + + + + + + ldap_list will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must have the same number of elements as the links array" + + + + + + ldap_search will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must have the same number of elements as the links array" + + + + + + ldap_dn2ufn will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_add will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_add_ext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_mod_replace will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_mod_replace_ext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_mod_add will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_mod_add_ext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_mod_del will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_mod_del_ext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays with consecutive integer indices starting from 0" + + + + + + ldap_delete will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_delete_ext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_modify_batch will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"" LDAP_MODIFY_BATCH_VALUES "\" must have consecutive integer indices starting from 0", get_active_function_name( + if argument number (3) does no respect the following condition: "must contain arrays only containing the \"" LDAP_MODIFY_BATCH_ATTRIB "\", \"" LDAP_MODIFY_BATCH_MODTYPE "\" and \"" LDAP_MODIFY_BATCH_VALUES "\" keys" + + + + + + ldap_compare will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_set_option will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + if argument number (3) does no respect the following condition: "is too large" + + + + + + ldap_parse_reference will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_rename will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_rename_ext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_exop will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Array value for VLV control must have either an \"attrvalue\" or an \"offset\" key", get_active_function_name( + + + + + + ldap_connect will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + if argument number (2) does no respect the following condition: "must be between 1 and 65535" + + + + + + ldap_get_values_len will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ldap_errno will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ldap_error will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ldap_sasl_bind will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + + + <link linkend="book.libxml">libxml</link> + + + + + libxml_set_external_entity_loader will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Path cannot be empty" + + + + + + + + <link linkend="book.math">math</link> + + + + + log will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + rad2deg will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "An infinite value cannot be converted to base %d", base + + + + + + base_convert will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "An infinite value cannot be converted to base %d", base + if argument number (2) does no respect the following condition: "must be between 2 and 36 (inclusive)" + + + + + + bindec, + hexdec, + octdec, + decbin, + decoct, and + dechex will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "An infinite value cannot be converted to base %d", base + + + + + + mt_rand will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Type %c: integer overflow in format string", code); \ + if argument number (2) does no respect the following condition: "must be greater than or equal to argument #1 ($min)" + + + + + + + + <link linkend="book.mbstring">mbstring</link> + + + + + mb_detect_order will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (1) does no respect the following condition: "must specify at least one encoding" + + + + + + mb_convert_encoding will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (3) does no respect the following condition: "must specify at least one encoding" + + + + + + mb_detect_encoding will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "must specify at least one encoding" + + + + + + mb_convert_variables will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "must have a multiple of 4 elements" + + + + + + mb_http_output will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (1) does no respect the following condition: "must be a valid encoding, \"%s\" given", name + + + + + + mb_str_split will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + mb_strlen, + mb_strpos, + mb_strrpos, + mb_stripos, + mb_strripos, + mb_strstr, + mb_strrchr, + mb_stristr, and + mb_strrichr will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (Unknown) does no respect the following condition: "mb_strpos(): Unknown error" + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + mb_substr_count will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "must not be empty" + + + + + + mb_substr will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_strcut will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_strwidth will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_strimwidth will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "is out of range" + + + + + + mb_convert_case will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "must be one of the MB_CASE_* constants" + + + + + + mb_strtoupper will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_strtolower will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_encoding_aliases will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_encode_mimeheader will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_convert_kana will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_encode_numericentity will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "must have a multiple of 4 elements" + + + + + + mb_decode_numericentity will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (2) does no respect the following condition: "must have a multiple of 4 elements" + + + + + + mb_check_encoding will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (Unknown) does no respect the following condition: "mb_ord() does not support the \"%s\" encoding", enc->name + + + + + + mb_ord will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (Unknown) does no respect the following condition: "mb_chr() does not support the \"%s\" encoding", enc->name + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_chr will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + if argument number (Unknown) does no respect the following condition: "mb_chr() does not support the \"%s\" encoding", enc->name + + + + + + mb_scrub will throw a ValueError in the following conditions: + + if argument number (arg_num) does no respect the following condition: "contains invalid encoding \"%s\"", ZSTR_VAL(encoding_str + + + + + + mb_language will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid language, \"%s\" given", ZSTR_VAL(name + + + + + + mb_internal_encoding will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid encoding, \"%s\" given", name + + + + + + mb_http_input will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: + + + + + + mb_substitute_character will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is not a valid codepoint" + + + + + + mb_preferred_mime_name will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid encoding, \"%s\" given", name + + + + + + mb_send_mail will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must not contain any null bytes" + + + + + + mb_regex_encoding will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_eregi will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_split will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_match will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_search_init will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_replace will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_eregi_replace will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_replace_callback will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_search will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_search_pos will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_search_regs will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_regex_set_options will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_search_getregs will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + if argument number (1) does no respect the following condition: "must not be empty" + + + + + + mb_ereg_search_setpos will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is out of range" + + + + + + + + <link linkend="book.mysqli">mysqli</link> + + + + + mysqli_result::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be either MYSQLI_STORE_RESULT or MYSQLI_USE_RESULT" + + + + + + mysqli_result::getIterator will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_NUM, MYSQLI_ASSOC, or MYSQLI_BOTH" + + + + + + mysqli_fetch_row will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_NUM, MYSQLI_ASSOC, or MYSQLI_BOTH" + + + + + + mysqli_fetch_array will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_NUM, MYSQLI_ASSOC, or MYSQLI_BOTH" + + + + + + mysqli_fetch_assoc will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_NUM, MYSQLI_ASSOC, or MYSQLI_BOTH" + + + + + + mysqli_fetch_object will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_NUM, MYSQLI_ASSOC, or MYSQLI_BOTH" + + + + + + ext/mysqli/mysqli_result_iterator.c=77=static int php_mysqli_result_iterator_valid(zend_object_iterator *iter) will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_NUM, MYSQLI_ASSOC, or MYSQLI_BOTH" + + + + + + ext/mysqli/mysqli_result_iterator.c=113=static void php_mysqli_result_iterator_rewind(zend_object_iterator *iter) will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_NUM, MYSQLI_ASSOC, or MYSQLI_BOTH" + + + + + + mysqli_autocommit will throw a ValueError in the following conditions: + + if argument number (num_extra_args) does no respect the following condition: "must only contain the \"b\", \"d\", \"i\", \"s\" type specifiers" + + + + + + mysqli_stmt_bind_param will throw a ValueError in the following conditions: + + if argument number (num_extra_args) does no respect the following condition: "must only contain the \"b\", \"d\", \"i\", \"s\" type specifiers" + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "cannot be empty" + + + + + + mysqli_data_seek will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be greater than or equal to 0" + + + + + + mysqli_fetch_field_direct will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be less than the number of fields for this result set" + + + + + + mysqli_field_seek will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be less than the number of fields for this result set" + + + + + + mysqli_kill will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be greater than 0" + + + + + + mysqli_stmt_send_long_data will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be greater than or equal to 0" + + + + + + mysqli_stmt_data_seek will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be greater than or equal to 0" + + + + + + mysqli_stmt_attr_set will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(3)) does no respect the following condition: "must be greater than 0 for attribute MYSQLI_STMT_ATTR_PREFETCH_ROWS" + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of " + + + + + + mysqli_stmt_attr_get will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of " + + + + + + mysqli_fetch_all will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of MYSQLI_FETCH_NUM, " + + + + + + mysqli_query will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "cannot be empty" + if argument number (ERROR_ARG_POS(3)) does no respect the following condition: "must be either MYSQLI_USE_RESULT or MYSQLI_STORE_RESULT" + + + + + + mysqli_poll will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be greater than or equal to 0" + + + + + + mysqli_begin_transaction will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be one of the MYSQLI_TRANS_* constants" + if argument number (ERROR_ARG_POS(3)) does no respect the following condition: "cannot be empty" + + + + + + mysqli_savepoint will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "cannot be empty" + + + + + + mysqli_release_savepoint will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "cannot be empty" + + + + + + + + <link linkend="book.network">network</link> + + + + + dns_check_record will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must be a valid DNS record type" + + + + + + dns_get_record will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be between 1 and 65535 when argument #5 ($raw) is true" + + + + + + + + <link linkend="book.oci8">oci8</link> + + + + + oci_define_by_name will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + oci_bind_array_by_name will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be greater than 0" + + + + + + oci_lob_save will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(3)) does no respect the following condition: "must be greater than or equal to 0" + + + + + + oci_lob_read will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be greater than 0" + + + + + + oci_lob_truncate will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be greater than or equal to 0" + + + + + + oci_lob_erase will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(2)) does no respect the following condition: "must be greater than or equal to 0" + + + + + + oci_lob_copy will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than or equal to 0" + + + + + + oci_lob_export will throw a ValueError in the following conditions: + + if argument number (ERROR_ARG_POS(3)) does no respect the following condition: "must be greater than or equal to 0" + + + + + + oci_set_prefetch will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + oci_password_change will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + + + <link linkend="book.odbc">odbc</link> + + + + + ext/odbc/php_odbc.c=542=void odbc_sql_error(ODBC_SQL_ERROR_PARAMS) will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + odbc_binmode, + odbc_longreadlen, + odbc_prepare, + odbc_execute, + odbc_exec, + odbc_next_result, + odbc_tables, + odbc_columns, + odbc_columnprivileges, + odbc_foreignkeys, + odbc_gettypeinfo, + odbc_primarykeys, + odbc_procedurecolumns, + odbc_procedures, + odbc_specialcolumns, + odbc_statistics, + odbc_tableprivileges, + odbc_commit, + odbc_rollback, + odbc_cursor, + odbc_fetch_object, + odbc_fetch_array, + odbc_fetch_into, + odbc_result, + odbc_result_all, + odbc_autocommit, + odbc_close_all, + odbc_close, + odbc_field_len, + odbc_field_scale, + odbc_field_name, and + odbc_field_type will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + odbc_data_source will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be either SQL_FETCH_FIRST or SQL_FETCH_NEXT" + + + + + + odbc_pconnect will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + if argument number (4) does no respect the following condition: "must be one of SQL_CUR_USE_IF_NEEDED, " + + + + + + odbc_setoption will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be 1 for SQLSetConnectOption(), or 2 for SQLSetStmtOption()" + + + + + + odbc_connect will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be one of SQL_CUR_USE_IF_NEEDED, " + + + + + + + + <link linkend="book.openssl">openssl</link> + + + + + ext/openssl/openssl.c=324=static int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=333=static void DH_get0_key(const DH *dh, const BIGNUM **pub_key, const BIGNUM **priv_key) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=3988=static zend_bool php_openssl_pkey_init_dh(DH *dh, zval *data) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=518=static EVP_PKEY *php_openssl_pkey_from_zval(zval *val, int public_key, char *passphrase, size_t passphrase_len); will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=3775=static int php_openssl_is_private_key(EVP_PKEY* pkey) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkey_get_details will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkey_new will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=516=static X509 *php_openssl_x509_from_zval(zval *val, bool *free_cert); will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=517=static X509_REQ *php_openssl_csr_from_param(zend_object *csr_obj, zend_string *csr_str); will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_spki_new will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_check_private_key will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_verify will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkcs12_export_to_file will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkcs12_export will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_csr_sign will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_csr_new will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=3470=static int php_openssl_pem_password_cb(char *buf, int size, int rwflag, void *userdata) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkey_export_to_file will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkey_export will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkey_get_public will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkey_get_private will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkey_derive will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + if argument number (3) does no respect the following condition: "must be greater than or equal to 0" + + + + + + openssl_pkcs7_sign will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkcs7_decrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_cms_sign will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_cms_decrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + if argument number (5) does no respect the following condition: "must be an OPENSSL_ENCODING_* constant" + + + + + + openssl_private_encrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_private_decrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_public_encrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_public_decrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_sign will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_verify will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_seal will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + if argument number (4) does no respect the following condition: "cannot be empty" + if argument number (6) does no respect the following condition: "cannot be null for the chosen cipher algorithm" + + + + + + openssl_open will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + if argument number (6) does no respect the following condition: "cannot be null for the chosen cipher algorithm" + + + + + + ext/openssl/openssl.c=3485=static EVP_PKEY *php_openssl_pkey_from_zval(zval *val, int public_key, char *passphrase, size_t passphrase_len) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=3644=static EVP_PKEY * php_openssl_generate_private_key(struct php_x509_request * req) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=520=static int php_openssl_is_private_key(EVP_PKEY* pkey); will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_checkpurpose will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkcs7_verify will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_cms_verify will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_parse will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_csr_get_subject will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=522=static STACK_OF(X509) * php_openssl_load_all_certs_from_file(char *certfile); will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=523=static EVP_PKEY * php_openssl_generate_private_key(struct php_x509_request * req); will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_spki_export_challenge will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_get_cert_locations will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=1391=static X509 *php_openssl_x509_from_str(zend_string *cert_str) { will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_export_to_file will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_export will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_fingerprint will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_read will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=1449=static X509 *php_openssl_x509_from_zval(zval *val, bool *free_cert) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=1438=static X509 *php_openssl_x509_from_param(zend_object *cert_obj, zend_string *cert_str) { will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_x509_free will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pkcs7_encrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_cms_encrypt will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=3020=static X509_REQ *php_openssl_csr_from_param(zend_object *csr_obj, zend_string *csr_str) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_csr_export_to_file will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_csr_export will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_csr_get_public_key will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=515=static X509 *php_openssl_x509_from_param(zend_object *cert_obj, zend_string *cert_str); will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + ext/openssl/openssl.c=2986=static X509_REQ *php_openssl_csr_from_str(zend_string *csr_str) will throw a ValueError in the following conditions: + + if argument number ((_arg_num)) does no respect the following condition: #_name" is too long"); \ + + + + + + openssl_pbkdf2 will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than 0" + + + + + + openssl_decrypt will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + openssl_cipher_iv_length will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than 0" + + + + + + openssl_random_pseudo_bytes will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than 0" + + + + + + ext/openssl/xp_ssl.c=1079=static int php_openssl_get_proto_version_flags(int flags, int min, int max) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + ext/openssl/xp_ssl.c=1104=static void php_openssl_limit_handshake_reneg(const SSL *ssl) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1174=static void php_openssl_init_server_reneg_limit(php_stream *stream, php_openssl_netstream_data_t *sslsock) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + ext/openssl/xp_ssl.c=1605=static int php_openssl_server_alpn_callback(SSL *ssl_handle, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1621=int php_openssl_setup_crypto(php_stream *stream, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1235=static int php_openssl_set_server_dh_param(php_stream * stream, SSL_CTX *ctx) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1284=static int php_openssl_set_server_ecdh_curve(php_stream *stream, SSL_CTX *ctx) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1212=static RSA *php_openssl_tmp_rsa_cb(SSL *s, int is_export, int keylength) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1320=static int php_openssl_set_server_specific_opts(php_stream *stream, SSL_CTX *ctx) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1573=static unsigned char *php_openssl_alpn_protos_parse(unsigned short *outlen, const char *in) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + ext/openssl/xp_ssl.c=2356=static int php_openssl_sockop_set_option(php_stream *stream, int option, int value, void *ptrparam) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + ext/openssl/xp_ssl.c=1388=static SSL_CTX *php_openssl_create_sni_server_ctx(char *cert_path, char *key_path) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + ext/openssl/xp_ssl.c=1416=static int php_openssl_enable_server_sni(php_stream *stream, php_openssl_netstream_data_t *sslsock) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1863=static int php_openssl_enable_crypto(php_stream *stream, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + ext/openssl/xp_ssl.c=2279=static int php_openssl_sockop_flush(php_stream *stream) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + ext/openssl/xp_ssl.c=1165=static void php_openssl_info_callback(const SSL *ssl, int where, int ret) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=1543=static void php_openssl_enable_client_sni(php_stream *stream, php_openssl_netstream_data_t *sslsock) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=2285=static int php_openssl_sockop_stat(php_stream *stream, php_stream_statbuf *ssb) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + ext/openssl/xp_ssl.c=2291=static inline int php_openssl_tcp_sockop_accept(php_stream *stream, php_openssl_netstream_data_t *sock, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + + + <link linkend="book.pcntl">pcntl</link> + + + + + pcntl_signal will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be less than %d", NSIG + if argument number (2) does no respect the following condition: "must be either SIG_DFL or SIG_IGN when an integer value is given" + + + + + + pcntl_signal_get_handler will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be between 1 and 32" + + + + + + pcntl_getpriority will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS" + + + + + + pcntl_setpriority will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be one of PRIO_PGRP, PRIO_USER, or PRIO_PROCESS" + + + + + + pcntl_unshare will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a combination of CLONE_* flags" + + + + + + + + <link linkend="book.pcre">pcre</link> + + + + + imap_append will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a PREG_* constant" + + + + + + preg_match_all, + preg_match will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a PREG_* constant" + + + + + + ext/pcre/php_pcre.c=1117=static void php_do_pcre_match(INTERNAL_FUNCTION_PARAMETERS, int global) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a PREG_* constant" + + + + + + RegexIterator::accept will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be a PREG_* constant" + + + + + + + + <link linkend="book.pdo">pdo</link> + + + + + PDO::prepare will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "PDO::ATTR_STATEMENT_CLASS value must be an array with the format " + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + PDO::inTransaction will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "PDO::ATTR_STATEMENT_CLASS value must be an array with the format " + + + + + + PDO::setAttribute will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "PDO::ATTR_STATEMENT_CLASS value must be an array with the format " + + + + + + PDO::exec will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + PDO::query will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be one of the PDO::FETCH_* constants" + if argument number (arg1_arg_num) does no respect the following condition: "must be greater than or equal to 0" + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + PDOStatement::execute will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be a bitmask of PDO::FETCH_* constants" + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + PDOStatement::fetchColumn will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be a bitmask of PDO::FETCH_* constants" + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + PDOStatement::fetch will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be a bitmask of PDO::FETCH_* constants" + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + PDOStatement::fetchObject will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be a bitmask of PDO::FETCH_* constants" + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + PDOStatement::fetchAll will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be one of the PDO::FETCH_* constants" + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + PDOStatement::getColumnMeta will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be one of the PDO::FETCH_* constants" + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + PDOStatement::setFetchMode will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Can only use PDO::FETCH_FUNC in PDOStatement::fetchAll()" + if argument number (mode_arg_num) does no respect the following condition: "must be one of the PDO::FETCH_* constants" + if argument number (arg1_arg_num) does no respect the following condition: "must be greater than or equal to 0" + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + PDOStatement::nextRowset, + PDOStatement::closeCursor, + PDOStatement::bindValue, + PDOStatement::bindParam, + PDOStatement::bindColumn will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + SQLite3Stmt::getSQL will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + + + <link linkend="book.pdo_pgsql">pdo_pgsql</link> + + + + + PDO_PGSql_Ext::pgsqlCopyFromArray will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + PDO_PGSql_Ext::pgsqlGetNotify will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of PDO::FETCH_BOTH, PDO::FETCH_ASSOC, or PDO::FETCH_NUM" + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + + + <link linkend="book.pgsql">pgsql</link> + + + + + pg_last_notice will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of PGSQL_NOTICE_LAST, PGSQL_NOTICE_ALL, or PGSQL_NOTICE_CLEAR" + + + + + + pg_field_table, + pg_field_name, + pg_field_size, + pg_field_type, and + pg_field_type_oid will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be less than the number of fields for this result set" + + + + + + pg_field_num will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Argument #%d must be less than the number of fields for this result set", arg_num + + + + + + pg_fetch_result will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Argument #%d must be less than the number of fields for this result set", arg_num + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + if argument number (3) does no respect the following condition: "must be one of PGSQL_ASSOC, PGSQL_NUM, or PGSQL_BOTH" + + + + + + pg_result_seek will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Argument #%d must be less than the number of fields for this result set", arg_num + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + pg_field_prtlen will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Argument #%d must be less than the number of fields for this result set", arg_num + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + pg_field_is_null will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Argument #%d must be less than the number of fields for this result set", arg_num + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + pg_fetch_row, + pg_fetch_assoc, + pg_fetch_array, + pg_fetch_object will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + if argument number (3) does no respect the following condition: "must be one of PGSQL_ASSOC, PGSQL_NUM, or PGSQL_BOTH" + + + + + + pg_fetch_all will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Array of values must be an associative array with string keys" + if argument number (2) does no respect the following condition: "must be one of PGSQL_ASSOC, PGSQL_NUM, or PGSQL_BOTH" + + + + + + pg_fetch_all_columns will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be less than the number of fields for this result set" + + + + + + pg_lo_create, + pg_lo_unlink, + pg_lo_open, + pg_lo_import, + pg_lo_export will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid OID value passed" + + + + + + pg_lo_write will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be less than or equal to the length of argument #2 ($buf)" + + + + + + pg_lo_seek will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be one of PGSQL_SEEK_SET, PGSQL_SEEK_CUR, or PGSQL_SEEK_END" + + + + + + pg_result_status will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be either PGSQL_STATUS_LONG or PGSQL_STATUS_STRING" + + + + + + pg_get_notify will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of PGSQL_ASSOC, PGSQL_NUM, or PGSQL_BOTH" + + + + + + pg_meta_data will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Array of values must be an associative array with string keys" + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + pg_convert will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Array of values must be an associative array with string keys" + if argument number (2) does no respect the following condition: "cannot be empty" + if argument number (4) does no respect the following condition: "must be a valid bit mask of PGSQL_CONV_IGNORE_DEFAULT, " + + + + + + pg_insert will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Array of values must be an associative array with string keys" + if argument number (2) does no respect the following condition: "cannot be empty" + if argument number (4) does no respect the following condition: "must be a valid bit mask of PGSQL_CONV_FORCE_NULL, PGSQL_DML_NO_CONV, " + + + + + + pg_update will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Array of values must be an associative array with string keys" + if argument number (2) does no respect the following condition: "cannot be empty" + if argument number (5) does no respect the following condition: "must be a valid bit mask of PGSQL_CONV_FORCE_NULL, PGSQL_DML_NO_CONV, " + + + + + + pg_delete will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Array of values must be an associative array with string keys" + if argument number (2) does no respect the following condition: "cannot be empty" + if argument number (4) does no respect the following condition: "must be a valid bit mask of PGSQL_CONV_FORCE_NULL, PGSQL_DML_NO_CONV, " + + + + + + pg_select will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + if argument number (4) does no respect the following condition: "must be a valid bit mask of PGSQL_CONV_FORCE_NULL, PGSQL_DML_NO_CONV, " + if argument number (5) does no respect the following condition: "must be one of PGSQL_ASSOC, PGSQL_NUM, or PGSQL_BOTH" + + + + + + + + <link linkend="book.phar">phar</link> + + + + + ext/phar/func_interceptors.c=92=PHAR_FUNC(phar_file_get_contents) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (5) does no respect the following condition: "must be greater than or equal to 0" + + + + + + PharFileInfo::chmod will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Path cannot be empty" + + + + + + Phar::setDefaultStub will throw a ValueError in the following conditions: + + if argument number (index ? 1 : 2) does no respect the following condition: "must be null for a tar- or zip-based phar stub, string given" + + + + + + ext/phar/phar.c=252=int phar_archive_delref(phar_archive_data *phar) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=338=static void destroy_phar_data(zval *zv) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=390=void destroy_phar_manifest_entry(zval *zv) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=398=int phar_entry_delref(phar_entry_data *idata) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=741=static int phar_parse_pharfile(php_stream *fp, char *fname, size_t fname_len, char *alias, size_t alias_len, zend_long halt_offset, phar_archive_data** pphar, uint32_t compression, char **error) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/dirstream.c=396=int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, php_stream_context *context) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=2540=int phar_flush(phar_archive_data *phar, char *user_stub, zend_long len, int convert, char **error) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::offsetGet will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::offsetSet will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::addFile will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::addFromString will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=675=void phar_metadata_tracker_copy(phar_metadata_tracker *dest, const phar_metadata_tracker *source, int persistent) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::copy will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=693=void phar_metadata_tracker_clone(phar_metadata_tracker *tracker) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=710=void phar_parse_metadata_lazy(const char *buffer, phar_metadata_tracker *tracker, uint32_t zip_metadata_len, int persistent) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/tar.c=127=int phar_open_or_create_tar(char *fname, size_t fname_len, char *alias, size_t alias_len, int is_data, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=1391=int phar_create_or_parse_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, zend_bool is_data, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=3278=static zend_op_array *phar_compile_file(zend_file_handle *file_handle, int type) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::loadPhar will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::unlinkArchive will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + PharFileInfo::__construct will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=1545=int phar_open_from_filename(char *fname, size_t fname_len, char *alias, size_t alias_len, uint32_t options, phar_archive_data** pphar, char **error) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/dirstream.c=528=int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_context *context) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/phar.c=2241=int phar_split_fname(const char *filename, size_t filename_len, char **arch, size_t *arch_len, char **entry, size_t *entry_len, int executable, int for_create) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::webPhar will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::mapPhar will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + ext/phar/tar.c=906=static int phar_tar_setupmetadata(zval *zv, void *argument) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + Phar::getMetadata will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + PharFileInfo::getMetadata will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + + + <link linkend="book.posix">posix</link> + + + + + posix_mknod will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "cannot be 0 for the POSIX_S_IFCHR and POSIX_S_IFBLK modes" + + + + + + + + <link linkend="book.reflection">reflection</link> + + + + + ReflectionClassConstant::__toString, + ReflectionFunctionAbstract::getAttributes, + ReflectionParameter::getAttributes, + ReflectionClassConstant::getAttributes, + ReflectionClass::getAttributes, + ReflectionProperty::getAttributes, + ReflectionZendExtension::__toString, + ReflectionClass::__toString, and + ReflectionExtension::__toString will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid attribute filter flag" + + + + + + ext/reflection/php_reflection.c=1165=static void reflect_attributes(INTERNAL_FUNCTION_PARAMETERS, HashTable *attributes, will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid attribute filter flag" + + + + + + ReflectionParameter::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + ReflectionMethod::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be null when argument #1 ($objectOrMethod) is an object" + + + + + + ReflectionMethod::getClosure will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be null for non-static methods" + + + + + + + + <link linkend="book.session">session</link> + + + + + session_set_cookie_params will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must contain at least 1 valid key" + if argument number (2) does no respect the following condition: "must be null when argument #1 ($lifetime_or_options) is an array" + + + + + + session_module_name will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be \"user\"" + + + + + + ext/session/session.c=1221=static int php_session_cache_limiter(void) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + + + <link linkend="book.shmop">shmop</link> + + + + + shmop_open will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid access mode" + if argument number (4) does no respect the following condition: "is too large" + + + + + + shmop_read will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be between 0 and the segment size" + if argument number (3) does no respect the following condition: "is out of range" + + + + + + shmop_write will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "is out of range" + + + + + + + + <link linkend="book.simplexml">simplexml</link> + + + + + ext/simplexml/simplexml.c=1672=SXE_METHOD(addChild) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ext/simplexml/simplexml.c=1736=SXE_METHOD(addAttribute) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + simplexml_load_file will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "is too large" + + + + + + simplexml_load_string will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + if argument number (3) does no respect the following condition: "is too large" + + + + + + + + <link linkend="book.snmp">snmp</link> + + + + + SNMP::setSecurity will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmpget will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmpgetnext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmpwalk will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmprealwalk will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmpset will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp2_get will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp2_getnext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp2_walk will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp2_real_walk will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp2_set will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp3_get will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp3_getnext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp3_walk will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp3_real_walk will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + snmp3_set will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + SNMP::__construct will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + if argument number (1) does no respect the following condition: "must be a valid SNMP protocol version" + + + + + + SNMP::close will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + SNMP::get will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + SNMP::getnext will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + SNMP::walk will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + SNMP::set will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + SNMP::getErrno will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + SNMP::getError will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Security protocol must be \"DES\"" + + + + + + ext/snmp/snmp.c=1839=PHP_SNMP_LONG_PROPERTY_READER_FUNCTION(exceptions_enabled) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "SNMP retrieval method must be a bitmask of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN, and SNMP_VALUE_OBJECT" + + + + + + ext/snmp/snmp.c=1902=PHP_SNMP_BOOL_PROPERTY_WRITER_FUNCTION(oid_increasing_check) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "SNMP output print format must be an SNMP_OID_OUTPUT_* constant" + + + + + + snmp_set_oid_output_format will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be an SNMP_OID_OUTPUT_* constant" + + + + + + snmp_set_valueretrieval will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a bitmask of SNMP_VALUE_LIBRARY, SNMP_VALUE_PLAIN, and SNMP_VALUE_OBJECT" + + + + + + + + <link linkend="book.soap">soap</link> + + + + + SoapParam::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + SoapHeader::__construct will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must be longer than 2 characters" + if argument number (5) does no respect the following condition: "must be one of SOAP_ACTOR_NEXT, SOAP_ACTOR_NONE, or SOAP_ACTOR_UNLIMATERECEIVER" + + + + + + SoapFault::__construct will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is not a valid fault code" + + + + + + SoapVar::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is not a valid encoding" + + + + + + SoapServer::setPersistence will throw a ValueError in the following conditions: + + if argument number () does no respect the following condition: ext/soap/soap.c:978: zend_argument_value_error( + + + + + + SoapServer::addFunction will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be SOAP_FUNCTIONS_ALL when an integer is passed" + + + + + + + + <link linkend="book.sockets">sockets</link> + + + + + ext/sockets/multicast.c=120=static int php_get_address_from_array(const HashTable *ht, const char *key, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=139=static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=378=int php_mcast_leave( will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=368=int php_mcast_join( will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=425=int php_mcast_unblock_source( will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX + + + + + + ext/sockets/multicast.c=389=int php_mcast_join_source( will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=413=int php_mcast_block_source( will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=52=static int _php_mcast_source_op(php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, struct sockaddr *source, socklen_t source_len, unsigned int if_index, enum source_op sop); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/multicast.c=50=static int _php_mcast_join_leave(php_socket *sock, int level, struct sockaddr *group, socklen_t group_len, unsigned int if_index, int join); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/multicast.c=401=int php_mcast_leave_source( will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=502=static int _php_mcast_source_op( will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=107=static int php_get_if_index_from_array(const HashTable *ht, const char *key, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + socket_set_option will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + if argument number (4) does no respect the following condition: "must have key \"%s\"", usec_key + + + + + + ext/sockets/multicast.c=564=static int _php_source_op_to_rfc3678_op(enum source_op sop) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/multicast.c=56=static int _php_source_op_to_rfc3678_op(enum source_op sop); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=581=static const char *_php_source_op_to_string(enum source_op sop) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/multicast.c=58=static const char *_php_source_op_to_string(enum source_op sop); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=59=static int _php_source_op_to_ipv4_op(enum source_op sop); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=84=static int php_get_if_index_from_zval(zval *val, unsigned *out) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/multicast.c=62=int php_string_to_if_index(const char *val, unsigned *out) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/conversions.c=584=static void to_zval_read_sockaddr_in(const char *data, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/sockaddr_conv.c=12=extern int php_string_to_if_index(const char *val, unsigned *out); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/sockaddr_conv.c=16=int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", + + + + + + ext/sockets/conversions.c=690=static void to_zval_read_sockaddr_un(const char *data, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX + + + + + + ext/sockets/conversions.c=694=static void from_zval_write_sockaddr_aux(const zval *container, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=787=static void to_zval_read_sockaddr_aux(const char *sockaddr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/sockaddr_conv.c=85=int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX + + + + + + socket_connect will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET, or AF_INET6" + if argument number (2) does no respect the following condition: "must be less than %d", sizeof(s_un.sun_path + if argument number (3) does no respect the following condition: "cannot be null when the socket type is AF_INET" + + + + + + socket_bind will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET, or AF_INET6" + if argument number (2) does no respect the following condition: "must be less than %d", sizeof(sa->sun_path + + + + + + socket_sendto will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET, or AF_INET6" + if argument number (3) does no respect the following condition: "must be greater than or equal to 0" + if argument number (6) does no respect the following condition: "cannot be null when the socket type is AF_INET6" + + + + + + ext/sockets/conversions.c=580=static void from_zval_write_sockaddr_in(const zval *container, char *sockaddr, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/sockaddr_conv.c=115=int php_set_inet46_addr(php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key + + + + + + ext/sockets/conversions.c=988=static void to_zval_read_control(const char *cmsghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1001=static void to_zval_read_control_array(const char *msghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1121=void from_zval_write_msghdr_send(const zval *container, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1031=static void from_zval_write_name(const zval *zname_arr, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1178=static void to_zval_read_iov(const char *msghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + socket_recvmsg will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1105=static void from_zval_write_controllen(const zval *elem, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + socket_sendmsg will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1051=static void from_zval_write_msghdr_buffer_size(const zval *elem, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1085=static void from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1132=void from_zval_write_msghdr_recv(const zval *container, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1042=static void to_zval_read_name(const char *sockaddr_p, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=1211=void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + socket_get_option will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=831=static void from_zval_write_control(const zval *arr, will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=910=static void from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/conversions.c=957=static void to_zval_read_cmsg_data(const char *cmsghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/sendrecvmsg.c=141=ancillary_reg_entry *get_ancillary_reg_entry(int cmsg_level, int msg_type) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + ext/sockets/sendrecvmsg.c=408=void php_socket_sendrecvmsg_init(INIT_FUNC_ARGS) will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + + + + + + socket_cmsg_space will throw a ValueError in the following conditions: + + if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ + if argument number (Unknown) does no respect the following condition: "Pair level " ZEND_LONG_FMT " and/or type " ZEND_LONG_FMT " is not supported", + if argument number (3) does no respect the following condition: "is too large" + + + + + + socket_select will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "socket_select(): At least one array argument must be passed" + + + + + + socket_write will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than or equal to 0" + + + + + + socket_getsockname will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET, or AF_INET6" + + + + + + socket_getpeername will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET, or AF_INET6" + + + + + + socket_create will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET6, or AF_INET" + if argument number (2) does no respect the following condition: "must be one of SOCK_STREAM, SOCK_DGRAM, SOCK_SEQPACKET," + + + + + + socket_send will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be greater than or equal to 0" + + + + + + socket_recvfrom will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET, or AF_INET6" + + + + + + socket_create_pair will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET6, or AF_INET" + if argument number (2) does no respect the following condition: "must be one of SOCK_STREAM, SOCK_DGRAM, SOCK_SEQPACKET," + + + + + + socket_addrinfo_lookup will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must only contain array keys \"ai_flags\", \"ai_socktype\", " + + + + + + socket_addrinfo_bind will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be one of AF_UNIX, AF_INET, or AF_INET6" + + + + + + socket_addrinfo_connect will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "socket type must be one of AF_UNIX, AF_INET, or AF_INET6" + + + + + + + + <link linkend="book.spl">spl</link> + + + + + spl_autoload_register will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not be the spl_autoload_call() function" + + + + + + SplFileInfo::__construct, + SplFileInfo::getPathInfo, + FilesystemIterator::current, + SplFileInfo::openFile, + SplFileInfo::getFileInfo, + RecursiveDirectoryIterator::hasChildren, + SplFileInfo::__debugInfo, + SplFileInfo::getPathname, + DirectoryIterator::__construct, + FilesystemIterator::__construct, + RecursiveDirectoryIterator::__construct, + GlobIterator::__construct will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + SplFileInfo::getLinkTarget will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Filename cannot be empty" + + + + + + SplFileObject::setMaxLineLen will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + SplFileObject::fgetcsv will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a single character" + if argument number (3) does no respect the following condition: "must be empty or a single character" + + + + + + SplFileObject::fputcsv will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a single character" + if argument number (4) does no respect the following condition: "must be empty or a single character" + + + + + + SplFileObject::setCsvControl will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a single character" + if argument number (3) does no respect the following condition: "must be empty or a single character" + + + + + + SplFileObject::fread will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than 0" + + + + + + SplFileObject::seek will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + SplFixedArray::__construct will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + SplFixedArray::setSize will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + RecursiveIteratorIterator::setMaxDepth will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to -1" + + + + + + RecursiveTreeIterator::setPrefixPart will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a RecursiveTreeIterator::PREFIX_* constant" + + + + + + RecursiveTreeIterator::key will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + IteratorIterator::getInnerIterator will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + IteratorIterator::rewind will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + IteratorIterator::next will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + FilterIterator::rewind will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + LimitIterator::rewind will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + LimitIterator::seek will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + InfiniteIterator::next will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + LimitIterator::valid will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + FilterIterator::next will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + LimitIterator::next will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + LimitIterator::getPosition will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + CachingIterator::valid will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + CachingIterator::hasNext will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + CachingIterator::next will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + EmptyIterator::next will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + AppendIterator::current will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + CachingIterator::setFlags will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + FilterIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + CallbackFilterIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + RecursiveCallbackFilterIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + RecursiveFilterIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + ParentIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + RegexIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + RecursiveRegexIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + LimitIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + CachingIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + RecursiveCachingIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + IteratorIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + NoRewindIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + InfiniteIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + AppendIterator::__construct will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " + if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + RegexIterator::setMode will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + + + + + + + <link linkend="book.sqlite3">sqlite3</link> + + + + + SQLite3::open, + SQLite3Result::__construct, + SQLite3Stmt::getSQL, + SQLite3Stmt::bindParam, and + SQLite3Stmt::bindValue will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 1" + + + + + + + + <link linkend="book.standard">standard</link> + + + + + stream_select will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "No stream arrays were passed" + if argument number (4) does no respect the following condition: "must be greater than or equal to 0" + + + + + + stream_context_set_option will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (3) does no respect the following condition: "cannot be null when argument #2 ($wrapper_or_options) is a string" + if argument number (4) does no respect the following condition: "cannot be provided when argument #2 ($wrapper_or_options) is an array" + + + + + + stream_context_get_default will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + stream_context_set_default will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" + + + + + + stream_context_create will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + stream_context_set_params will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + stream_context_get_options will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + stream_context_get_params will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + + + + + assert_options will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be an ASSERT_* constant" + + + + + + putenv will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must have a valid syntax" + + + + + + sleep will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + usleep will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + time_nanosleep will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Nanoseconds was not in the range 0 to 999 999 999 or seconds was negative" + if argument number (1) does no respect the following condition: "must be greater than or equal to 0" + + + + + + error_log will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + parse_ini_file will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + exec will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + system will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + passthru will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + escapeshellcmd will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + escapeshellarg will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + shell_exec will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + ftok will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must be a single character" + + + + + + header_remove will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): option \"%s\" is invalid", get_active_function_name(), ZSTR_VAL(key + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ext/standard/info.c=89=static ZEND_COLD void php_info_print_stream_hash(const char *name, HashTable *ht) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ext/standard/info.c=55=static ZEND_COLD int php_info_print_html_esc(const char *str, size_t len) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): option \"%s\" is invalid", get_active_function_name(), ZSTR_VAL(key + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ext/standard/info.c=67=static ZEND_COLD int php_info_printf(const char *fmt, ...) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + setcookie will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): option \"%s\" is invalid", get_active_function_name(), ZSTR_VAL(key + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + setrawcookie will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): option \"%s\" is invalid", get_active_function_name(), ZSTR_VAL(key + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ext/standard/head.c:94: zend_argument_value_error(1, "cannot contain \"=\", " ILLEGAL_COOKIE_CHARACTER); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): \"expires\" option cannot have a year greater than 9999", + if argument number (2) does no respect the following condition: "cannot contain " ILLEGAL_COOKIE_CHARACTER + + + + + + exif_imagetype will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + image_type_to_extension will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + getimagesize will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + getimagesizefromstring will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must not contain any null bytes" + + + + + + iptcembed will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too large" + + + + + + imap_savebody will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + imap_timeout will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + mb_send_mail will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/standard/mail.c=421=PHPAPI int php_mail(const char *to, const char *subject, const char *message, const char *headers, const char *extra_cmd) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/standard/pageinfo.c=51=PHPAPI void php_statpage(void) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + getmyuid will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + mail will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + if argument number (4) does no respect the following condition: "must not contain any null bytes" + + + + + + getmygid will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + getmyinode will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + getlastmod will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/standard/mail.c=86=static zend_bool php_mail_build_headers_check_field_name(zend_string *key) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Header \"%s\" has invalid format, or contains invalid characters", ZSTR_VAL(key + + + + + + ext/standard/mail.c=60=static zend_bool php_mail_build_headers_check_field_value(zval *val) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Header \"%s\" has invalid format, or contains invalid characters", ZSTR_VAL(key + + + + + + ext/standard/mail.c=58=extern zend_long php_getuid(void); will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + ext/standard/mail.c=103=static void php_mail_build_headers_elem(smart_str *s, zend_string *key, zval *val) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Header \"%s\" has invalid format, or contains invalid characters", ZSTR_VAL(key + + + + + + ext/standard/pageinfo.c=79=zend_long php_getgid(void) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + + + + + pack will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "64-bit format codes are not available for 32-bit versions of PHP" + + + + + + unpack will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid format type %c", type + if argument number (3) does no respect the following condition: "must be contained in argument #2 ($data)" + + + + + + ext/standard/password.c=81=static zend_string* php_password_make_salt(size_t length) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid bcrypt cost parameter specified: " ZEND_LONG_FMT, cost + + + + + + ext/standard/password.c=110=static zend_string* php_password_get_salt(zval *unused_, size_t required_salt_len, HashTable *options) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid bcrypt cost parameter specified: " ZEND_LONG_FMT, cost + + + + + + ext/standard/password.c=140=static zend_bool php_password_bcrypt_needs_rehash(const zend_string *hash, zend_array *options) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid bcrypt cost parameter specified: " ZEND_LONG_FMT, cost + + + + + + ext/standard/password.c=279=static zend_bool php_password_argon2_needs_rehash(const zend_string *hash, zend_array *options) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s", argon2_error_message(status + + + + + + ext/standard/password.c=305=static zend_string *php_password_argon2_hash(const zend_string *password, zend_array *options, argon2_type type) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s", argon2_error_message(status + + + + + + ext/standard/password.c=120=static zend_bool php_password_bcrypt_valid(const zend_string *hash) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid bcrypt cost parameter specified: " ZEND_LONG_FMT, cost + + + + + + ext/standard/password.c=264=static int php_password_argon2_get_info(zval *return_value, const zend_string *hash) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Generated salt too short" + + + + + + ext/standard/password.c=241=static int extract_argon2_parameters(const zend_string *hash, will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s", argon2_error_message(status + + + + + + ext/standard/password.c=126=static int php_password_bcrypt_get_info(zval *return_value, const zend_string *hash) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid bcrypt cost parameter specified: " ZEND_LONG_FMT, cost + + + + + + password_hash will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid password hashing algorithm" + + + + + + ext/standard/php_fopen_wrapper.c=149=static void php_stream_apply_filter_list(php_stream *stream, char *filterlist, int read_chain, int write_chain) /* {{{ */ will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + ext/standard/proc_open.c=519=static char *create_win_command_from_args(HashTable *args) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Command array element %d contains a null byte", elem_num + + + + + + ext/standard/proc_open.c=472=static zend_string *get_valid_arg_string(zval *zv, int elem_num) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Command array element %d contains a null byte", elem_num + + + + + + ext/standard/proc_open.c=496=static void append_win_escaped_arg(smart_string *str, char *arg) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Command array element %d contains a null byte", elem_num + + + + + + proc_open will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Redirection target must be of type int, %s given", zend_zval_type_name(ztarget + if argument number (1) does no respect the following condition: "must have at least one element" + if argument number (2) does no respect the following condition: "must only contain arrays and streams" + + + + + + ext/standard/proc_open.c=559=static void init_startup_info(STARTUPINFOW *si, descriptorspec_item *descriptors, int ndesc) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Command array element %d contains a null byte", elem_num + + + + + + ext/standard/proc_open.c=614=static char* get_command_from_array(HashTable *array, char ***argv, int num_elems) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Command array element %d contains a null byte", elem_num + + + + + + ext/standard/proc_open.c=488=static void append_backslashes(smart_string *str, size_t num_bs) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Command array element %d contains a null byte", elem_num + + + + + + ftp_set_option will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ext/standard/proc_open.c=548=static int get_option(zval *other_options, char *opt_name) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + ext/standard/proc_open.c=680=static int set_proc_descriptor_to_pty(descriptorspec_item *desc, int *master_fd, int *slave_fd) will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Missing %s", param_name + + + + + + random_bytes will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be greater than 0" + + + + + + random_int will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be less than or equal to argument #2 ($max)" + + + + + + stream_socket_recvfrom will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + stream_get_contents will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to -1" + + + + + + stream_get_line will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + stream_set_chunk_size will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is too large" + + + + + + stream_socket_enable_crypto will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be specified when enabling encryption" + + + + + + stream_socket_shutdown will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of STREAM_SHUT_RD, STREAM_SHUT_WR, or STREAM_SHUT_RDWR" + + + + + + settype will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Cannot convert to resource type" + if argument number (2) does no respect the following condition: "must be a valid type" + + + + + + parse_url will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid URL component identifier, " ZEND_LONG_FMT " given", key + + + + + + stream_bucket_make_writeable will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + + + + + + stream_bucket_prepend will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + + + + + + stream_bucket_append will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + + + + + + stream_filter_register will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a non-empty string" + + + + + + serialize will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + unserialize will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + + + + + + version_compare will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a valid comparison operator" + + + + + + + + <link linkend="book.string">string</link> + + + + + ext/standard/formatted_print.c=379=int php_sprintf_get_argnum(char **format, size_t *format_len) { will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Argument number must be greater than zero" + + + + + + sprintf will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc + + + + + + vsprintf will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc + + + + + + printf will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc + + + + + + vprintf will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc + + + + + + fprintf will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc + + + + + + vfprintf will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc + + + + + + metaphone will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + wordwrap will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "cannot be empty" + if argument number (4) does no respect the following condition: "cannot be true when argument #2 ($width) is 0" + + + + + + explode will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + dirname will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 1" + + + + + + strpos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + stripos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + strrpos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + strripos will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + chunk_split will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + str_repeat will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + count_chars will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be between 1 and 4 (inclusive)" + + + + + + substr_count will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + + + + + str_pad will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be a non-empty string" + if argument number (4) does no respect the following condition: "must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH" + + + + + + str_word_count will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a valid format value" + + + + + + str_split will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + strpbrk will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a non-empty string" + + + + + + substr_compare will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be contained in argument #1 ($main_str)" + if argument number (4) does no respect the following condition: "must be greater than or equal to 0" + + + + + + + + <link linkend="book.sysvmsg">sysvmsg</link> + + + + + msg_receive will throw a ValueError in the following conditions: + + if argument number (4) does no respect the following condition: "must be greater than 0" + + + + + + + + <link linkend="book.sysvshm">sysvshm</link> + + + + + shm_attach will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than 0" + + + + + + + + <link linkend="book.tidy">tidy</link> + + + + + tidy_parse_string will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_parse_file will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Input string is too long" + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy::__construct will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Input string is too long" + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy::parseFile will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Input string is too long" + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy::parseString will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_clean_repair will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_diagnose will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidyNode::getParent will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_get_config will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_getopt will throw a ValueError in the following conditions: + + if argument number (getThis() ? 1 : 2) does no respect the following condition: "is an invalid configuration option, \"%s\" given", optname + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_get_root will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_get_html will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_get_head will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_get_body will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_repair_string will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_repair_file will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is too long" + + + + + + tidy_get_opt_doc will throw a ValueError in the following conditions: + + if argument number (getThis() ? 1 : 2) does no respect the following condition: "is an invalid configuration option, \"%s\" given", optname + + + + + + + + <link linkend="book.xml">xml</link> + + + + + xml_set_processing_instruction_handler, + xml_set_default_handler, + xml_set_unparsed_entity_decl_handler, + xml_set_notation_decl_handler, + xml_set_external_entity_ref_handler, + xml_set_start_namespace_decl_handler, + xml_set_end_namespace_decl_handler, + xml_parser_create, and + xml_parser_create_ns will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "is not a supported source encoding" + + + + + + xml_parser_set_option will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a PHP_XML_OPTION_* constant" + if argument number (3) does no respect the following condition: "is not a supported target encoding" + + + + + + xml_parser_get_option will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be a PHP_XML_OPTION_* constant" + + + + + + + + <link linkend="book.xmlreader">xmlreader</link> + + + + + XMLReader::close, + XMLReader::open, + XMLReader::XML, + XMLReader::getAttribute, + XMLReader::lookupNamespace, + XMLReader::isValid, + XMLReader::moveToElement, + XMLReader::moveToFirstAttribute, + XMLReader::moveToNextAttribute, + XMLReader::readInnerXml, + XMLReader::readOuterXml, + XMLReader::readString, + XMLReader::setRelaxNGSchema, + XMLReader::setRelaxNGSchemaSource, + XMLReader::getAttributeNs, + XMLReader::moveToAttribute, + XMLReader::moveToAttributeNs, and + XMLReader::setSchema will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + XMLReader::getParserProperty, and + XMLReader::setParserProperty will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid parser property" + + + + + + + + <link linkend="book.xmlwriter">xmlwriter</link> + + + + + xmlwriter_open_uri will throw a ValueError in the following conditions: + + if argument number (__arg_no) does no respect the following condition: "must be a valid %s, \"%s\" given", __subject, name); \ + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + xmlwriter_open_memory will throw a ValueError in the following conditions: + + if argument number (__arg_no) does no respect the following condition: "must be a valid %s, \"%s\" given", __subject, name); \ + + + + + + + + <link linkend="book.xsl">xsl</link> + + + + + XSLTProcessor::importStylesheet, + XSLTProcessor::transformToDoc, + XSLTProcessor::transformToUri, + XSLTProcessor::transformToXml will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a valid XML node" + + + + + + XSLTProcessor::setParameter will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "cannot be null when argument #2 ($name) is a string" + + + + + + + + <link linkend="book.zip">zip</link> + + + + + ZipArchive::addEmptyDir will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid or uninitialized Zip object"); \ + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ZipArchive::addGlob will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid or uninitialized Zip object"); \ + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ZipArchive::addPattern will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Invalid or uninitialized Zip object"); \ + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + zip_open will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ZipArchive::open will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ZipArchive::addFile will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ZipArchive::replaceFile will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + ZipArchive::setArchiveComment will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be less than 65535 bytes" + + + + + + ZipArchive::setCommentName will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + if argument number (2) does no respect the following condition: "must be less than 65535 bytes" + + + + + + ZipArchive::setCommentIndex will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be less than 65535 bytes" + + + + + + ZipArchive::setExternalAttributesName, + ZipArchive::getExternalAttributesName, + ZipArchive::setEncryptionName, + ZipArchive::getCommentName, + ZipArchive::setCompressionName, + ZipArchive::setMtimeName will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + ZipArchive::renameIndex, + ZipArchive::renameName will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "cannot be empty" + + + + + + + + <link linkend="book.zlib">zlib</link> + + + + + ext/zlib/zlib.c=359=static void php_zlib_output_compression_start(void) will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "cannot be empty" + + + + + + name will throw a ValueError in the following conditions: + + if argument number (default_encoding ? 2 : 3) does no respect the following condition: "must be between -1 and 9"); \ + if argument number (default_encoding ? 3 : 2) does no respect the following condition: "must be one of ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP, or ZLIB_ENCODING_DEFLATE"); \ + if argument number (2) does no respect the following condition: "must be greater than or equal to 0"); \ + + + + + + ext/zlib/zlib.c=788=PHP_ZLIB_DECODE_FUNC(gzuncompress, PHP_ZLIB_ENCODING_DEFLATE); will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must not contain strings with null bytes" + + + + + + inflate_init will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "Encoding mode must be ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP or ZLIB_ENCODING_DEFLATE" + if argument number (2) does no respect the following condition: "must not contain strings with null bytes" + + + + + + deflate_init will throw a ValueError in the following conditions: + + if argument number (Unknown) does no respect the following condition: "deflate_init(): \"strategy\" option must be one of ZLIB_FILTERED, ZLIB_HUFFMAN_ONLY, ZLIB_RLE, ZLIB_FIXED, or ZLIB_DEFAULT_STRATEGY" + if argument number (1) does no respect the following condition: "must be one of ZLIB_ENCODING_RAW, ZLIB_ENCODING_GZIP, or ZLIB_ENCODING_DEFLATE" + if argument number (2) does no respect the following condition: "must not contain strings with null bytes" + + + + + + inflate_add will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be one of ZLIB_NO_FLUSH, ZLIB_PARTIAL_FLUSH, ZLIB_SYNC_FLUSH, ZLIB_FULL_FLUSH, ZLIB_BLOCK, or ZLIB_FINISH" + + + + + + deflate_add will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be one of ZLIB_NO_FLUSH, ZLIB_PARTIAL_FLUSH, ZLIB_SYNC_FLUSH, ZLIB_FULL_FLUSH, ZLIB_BLOCK, or ZLIB_FINISH" + + + + + + + + + From 28e0f3ce3051e694a9cf71672f9d1a7b1632f00b Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 02:04:42 +0000 Subject: [PATCH 02/18] Properly write something for func_get_arg --- appendices/migration80/incompatible/value-errors.xml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 203cd30d9801..b36ee0013fb6 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -9,10 +9,11 @@ - func_get_arg will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be less than the number of the arguments passed to the currently executed function" - + func_get_arg will throw a + ValueError + if argument number 1 position is less than + 0 or greater than the number of arguments passed to + the currently executed function. From f9534bbd45eb9b28944972c4b7652f920fc51d4e Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 02:58:13 +0000 Subject: [PATCH 03/18] IMAP section done --- .../migration80/incompatible/value-errors.xml | 331 ++++++++---------- 1 file changed, 149 insertions(+), 182 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index b36ee0013fb6..06832cbe9b2e 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -1873,303 +1873,270 @@ - imap_open will throw a ValueError in the following conditions: + imap_open will throw a + ValueError in the following conditions: - if argument number (4) does no respect the following condition: "must be a bitmask of the OP_* constants, and CL_EXPUNGE" - if argument number (5) does no respect the following condition: "must be greater than or equal to 0" - - - - - - imap_reopen will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be a bitmask of OP_READONLY, OP_ANONYMOUS, OP_HALFOPEN, " - if argument number (4) does no respect the following condition: "must be greater than or equal to 0" - - - - - - imap_gc will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must be a bitmask of IMAP_GC_TEXTS, IMAP_GC_ELT, and IMAP_GC_ENV" - - - - - - imap_close will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must be CL_EXPUNGE or 0" - - - - - - imap_body will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" - - - - - - imap_mail_copy will throw a ValueError in the following conditions: - - if argument number (4) does no respect the following condition: "must be a bitmask of CP_UID, and CP_MOVE" - - - - - - imap_mail_move will throw a ValueError in the following conditions: - - if argument number (4) does no respect the following condition: "must be CP_UID or 0" - - - - - - imap_delete will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be FT_UID or 0" - - - - - - imap_headerinfo will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" - if argument number (3) does no respect the following condition: "must be between 0 and %d", MAILTMPLEN - - - - - - imap_fetchstructure will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" - if argument number (3) does no respect the following condition: "must be FT_UID or 0" - - - - - - imap_fetchbody will throw a ValueError in the following conditions: - - if argument number (4) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" - - - - - - imap_fetchmime will throw a ValueError in the following conditions: - - if argument number (4) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" - - - - - - imap_savebody will throw a ValueError in the following conditions: - - if argument number (5) does no respect the following condition: "must be a bitmask of FT_UID, FT_PEEK, and FT_INTERNAL" - - - - - - imap_setflag_full will throw a ValueError in the following conditions: - - if argument number (4) does no respect the following condition: "must be ST_UID or 0" - - - - - - imap_clearflag_full will throw a ValueError in the following conditions: - - if argument number (4) does no respect the following condition: "must be ST_UID or 0" - - - - - - imap_sort will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must be one of the SORT* constants" - if argument number (4) does no respect the following condition: "must be a bitmask of SE_UID, and SE_NOPREFETCH" + + if flags, argument number 4, is not a bitmask of + the OP_* constants + and CL_EXPUNGE. + + + if retries, argument number 5, + is less than 0. + - imap_fetchheader will throw a ValueError in the following conditions: + imap_reopen will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be a bitmask of FT_UID, FT_PREFETCHTEXT, and FT_INTERNAL" + + if flags, argument number 3, is not a bitmask of + the OP_READONLY, OP_READONLY + and OP_HALFOPEN constants. + + + if retries, argument number 4, + is less than 0. + - imap_msgno will throw a ValueError in the following conditions: + imap_gc will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than 0" + + if flags, argument number 2, is not a bitmask of + the IMAP_GC_TEXTS, IMAP_GC_ELT + and IMAP_GC_ENV constants. + - imap_status will throw a ValueError in the following conditions: + imap_close will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be a bitmask of SA_* constants" + + if flags, argument number 2, is not + CL_EXPUNGE or 0. + - imap_fetch_overview will throw a ValueError in the following conditions: + imap_body will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" - if argument number (3) does no respect the following condition: "must be FT_UID or 0" + + if flags, argument number 3, is not a bitmask of + the FT_UID, FT_PEEK + and FT_INTERNAL constants. + - imap_mail_compose will throw a ValueError in the following conditions: + imap_mail_copy will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "individual body cannot be empty" + + if flags, argument number 4, is not a bitmask of + the CP_UID, and CP_MOVE + constants. + - imap_mail will throw a ValueError in the following conditions: + imap_mail_move will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" + + if flags, argument number 4, is not + CP_UID or 0. + - imap_search will throw a ValueError in the following conditions: + imap_delete will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be a bitmask of SE_FREE, and SE_UID" + + if flags, argument number 3, is not + FT_UID or 0. + - imap_rfc822_parse_headers will throw a ValueError in the following conditions: + imap_headerinfo will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if from_length, argument number 3, + or subject_length, argument number 4, + is less than 0 or greater than + MAILTMPLEN, which is defined by the underlying C + IMAP library. + - ext/imap/php_imap.c=4029=static zend_string* _php_imap_parse_address (ADDRESS *addresslist, zval *paddress) will throw a ValueError in the following conditions: + imap_fetchstructure and + imap_fetch_overview will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if flags, argument number 3, is not + FT_UID or 0. + - ext/imap/php_imap.c=4053=static void _php_make_header_object(zval *myzvalue, ENVELOPE *en) will throw a ValueError in the following conditions: + imap_fetchbody and + imap_fetchmime will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "Header \"%s\" has invalid format, or contains invalid characters", ZSTR_VAL(key + + if flags, argument number 4, is not a bitmask of + the FT_UID, FT_PEEK + and FT_INTERNAL constants. + - ext/imap/php_imap.c=77=static zend_string* _php_imap_parse_address(ADDRESS *addresslist, zval *paddress); will throw a ValueError in the following conditions: + imap_savebody will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if flags, argument number 5, is not a bitmask of + the FT_UID, FT_PEEK + and FT_INTERNAL constants. + - imap_rfc822_write_address will throw a ValueError in the following conditions: + imap_setflag_full and + imap_clearflag_full will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if options, argument number 4, is not + ST_UID or 0. + - ext/imap/php_imap.c=4014=static zend_string* _php_rfc822_write_address(ADDRESS *addresslist) will throw a ValueError in the following conditions: + imap_sort will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if criteria, argument number 2, is not one of + the SORT* constants. + + + if flags, argument number 4, is not a bitmask of + the SE_UID, and SE_NOPREFETCH + constants. + - imap_mime_header_decode will throw a ValueError in the following conditions: + imap_fetchheader will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if flags, argument number 3, is not a bitmask of + the FT_UID, FT_PREFETCHTEXT + and FT_INTERNAL constants. + - ext/imap/php_imap.c=3936=static zend_string* _php_rfc822_write_address(ADDRESS *addresslist) will throw a ValueError in the following conditions: + imap_msgno will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if message_uid, argument number 2, + is less or equal than 0. + - ext/imap/php_imap.c=3959=static int _php_rfc822_len(char *str) will throw a ValueError in the following conditions: + imap_status will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "Header \"%s\" has invalid format, or contains invalid characters", ZSTR_VAL(key + + if flags, argument number 3, is not a bitmask of + the SA_* constants. + - ext/imap/php_imap.c=3986=static int _php_imap_address_size (ADDRESS *addresslist) will throw a ValueError in the following conditions: + imap_mail_compose will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if bodies, argument number 2, is empty. + - ext/imap/php_imap.c=78=static zend_string* _php_rfc822_write_address(ADDRESS *addresslist); will throw a ValueError in the following conditions: + imap_mail will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if to, argument number 1, is empty. + + + if subject, argument number 2, is empty. + - ext/imap/php_imap.c=75=static void _php_make_header_object(zval *myzvalue, ENVELOPE *en); will throw a ValueError in the following conditions: + imap_search will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" - - - - - - ext/imap/php_imap.c=76=static void _php_imap_add_body(zval *arg, BODY *body); will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" - - - - - - ext/imap/php_imap.c=3925=static long _php_rfc822_soutr (void *stream, char *string) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The additional headers cannot contain the \"Subject\" header" + + if flags, argument number 3, is not a bitmask of + the SE_FREE, and SE_UID + constants. + From ee55d5c8b11ccdfff5707ec07cdf3b5cce15a57c Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 03:07:57 +0000 Subject: [PATCH 04/18] SAPI + Windows section done --- .../migration80/incompatible/value-errors.xml | 28 +++++++++++++++---- 1 file changed, 22 insertions(+), 6 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 06832cbe9b2e..110980e603fa 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -146,9 +146,15 @@ - phpdbg_color will throw a ValueError in the following conditions: + phpdbg_color will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be one of PHPDBG_COLOR_PROMPT, PHPDBG_COLOR_NOTICE, or PHPDBG_COLOR_ERROR" + + if element, argument number 1, is not + PHPDBG_COLOR_PROMPT, + PHPDBG_COLOR_NOTICE, or + PHPDBG_COLOR_ERROR. + @@ -161,17 +167,27 @@ - sapi_windows_cp_set will throw a ValueError in the following conditions: + sapi_windows_cp_set will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be between 0 and %u", UINT_MAX + + if codepage, argument number 1, is less than + 0 or greater than the maximum value of an unsigned + C integer. + - sapi_windows_cp_conv will throw a ValueError in the following conditions: + sapi_windows_cp_conv will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be a valid codepage" + + if in_codepage, argument number 1, or + if out_codepage, argument number 2, + are invalid codepages or character sets. + From 5e7324523c0709fc202fb8cb62f4d0fb3524863b Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 03:28:45 +0000 Subject: [PATCH 05/18] BCMath section done --- .../migration80/incompatible/value-errors.xml | 118 ++++++++++-------- 1 file changed, 64 insertions(+), 54 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 110980e603fa..0edb3601ce00 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -298,85 +298,95 @@ - bcadd will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX - - - - - - bcsub will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX - - - - - - bcmul will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX - - - - - - bcdiv will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX - - - - - - bcmod will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX - - - - - - bcpowmod will throw a ValueError in the following conditions: + bcscale will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot have a fractional part" - if argument number (2) does no respect the following condition: "must be greater than or equal to 0" - if argument number (4) does no respect the following condition: "must be between 0 and %d", INT_MAX + + if scale, argument number 1, is not + between 0 and the maximal value of a C integer. + - bcpow will throw a ValueError in the following conditions: + bcadd, + bcsub, + bcmul, + bcdiv, + bcmod, and + bccomp will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "is too large" - if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + if num1, argument number 1, + or num2, argument number 2, + are not well-formed. + + + if scale, argument number 3, is not + between 0 and the maximal value of a C integer. + - bcsqrt will throw a ValueError in the following conditions: + bcpowmod will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be greater than or equal to 0" - if argument number (2) does no respect the following condition: "is too large" + + if num, argument number 1, + exponent, argument number 2, + or modulus, argument number 3, + are not well-formed, or have a fractional part. + + + if exponent, argument number 2, is less + than 0. + + + if scale, argument number 4, is not + between 0 and the maximal value of a C integer. + - bccomp will throw a ValueError in the following conditions: + bcpow will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be between 0 and %d", INT_MAX + + if num, argument number 1, + exponent, argument number 2, + are not well-formed. + + + if exponent, argument number 2, is less + than 0, has a fractional part, or is larger than + the maximum value of a C long. + + + if scale, argument number 3, is not + between 0 and the maximal value of a C integer. + - bcscale will throw a ValueError in the following conditions: + bcsqrt will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be between 0 and %d", INT_MAX + + if num, argument number 1 + is not well-formed or less than 0. + + + if scale, argument number 2, is not + between 0 and the maximal value of a C integer. + From 86547d92b9fdc13d4da763d3e82406f329464081 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 03:43:04 +0000 Subject: [PATCH 06/18] ZIP section done --- .../migration80/incompatible/value-errors.xml | 107 +++++++++++------- 1 file changed, 64 insertions(+), 43 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 0edb3601ce00..277d8278e59f 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7673,86 +7673,101 @@ - ZipArchive::addEmptyDir will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Invalid or uninitialized Zip object"); \ - if argument number (1) does no respect the following condition: "cannot be empty" - - - - - - ZipArchive::addGlob will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Invalid or uninitialized Zip object"); \ - if argument number (1) does no respect the following condition: "cannot be empty" - - - - - - ZipArchive::addPattern will throw a ValueError in the following conditions: + ZipArchive::addEmptyDir will throw a + ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "Invalid or uninitialized Zip object"); \ - if argument number (1) does no respect the following condition: "cannot be empty" + + if dirname, argument number 1, is empty. + - zip_open will throw a ValueError in the following conditions: + ZipArchive::addGlob, and + ZipArchive::addPattern will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" + + if pattern, argument number 1, is empty. + - ZipArchive::open will throw a ValueError in the following conditions: + zip_open, and + ZipArchive::open will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" + + if filename, argument number 1, is empty. + - ZipArchive::addFile will throw a ValueError in the following conditions: + ZipArchive::addFile will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" + + if filepath, argument number 1, is empty. + - ZipArchive::replaceFile will throw a ValueError in the following conditions: + ZipArchive::replaceFile will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" - if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + if filepath, argument number 1, is empty. + + + if index, argument number 2, is less than + 0. + - ZipArchive::setArchiveComment will throw a ValueError in the following conditions: + ZipArchive::setArchiveComment will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be less than 65535 bytes" + + if comment, argument number 1, is longer than + 65535 bytes. + - ZipArchive::setCommentName will throw a ValueError in the following conditions: + ZipArchive::setCommentName will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" - if argument number (2) does no respect the following condition: "must be less than 65535 bytes" + + if name, argument number 1, is empty. + + + if comment, argument number 2, is longer than + 65535 bytes. + - ZipArchive::setCommentIndex will throw a ValueError in the following conditions: + ZipArchive::setCommentIndex will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be less than 65535 bytes" + + if comment, argument number 2, is longer than + 65535 bytes. + @@ -7762,19 +7777,25 @@ ZipArchive::getExternalAttributesName, ZipArchive::setEncryptionName, ZipArchive::getCommentName, - ZipArchive::setCompressionName, - ZipArchive::setMtimeName will throw a ValueError in the following conditions: + ZipArchive::setCompressionName, and + ZipArchive::setMtimeName will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" + + if name, argument number 1, is empty. + - ZipArchive::renameIndex, - ZipArchive::renameName will throw a ValueError in the following conditions: + ZipArchive::renameIndex, and + ZipArchive::renameName will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "cannot be empty" + + if new_name, argument number 1, is empty. + From 8f9cdab9c7222f4908c6c8bdfd03d23c08aff2f5 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 03:46:29 +0000 Subject: [PATCH 07/18] XSL section done --- .../migration80/incompatible/value-errors.xml | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 277d8278e59f..53da4c53fa76 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7649,18 +7649,26 @@ XSLTProcessor::importStylesheet, XSLTProcessor::transformToDoc, - XSLTProcessor::transformToUri, - XSLTProcessor::transformToXml will throw a ValueError in the following conditions: + XSLTProcessor::transformToUri, and + XSLTProcessor::transformToXml will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be a valid XML node" + + if document, argument number 1, + is not a valid XML node. + - XSLTProcessor::setParameter will throw a ValueError in the following conditions: + XSLTProcessor::setParameter will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "cannot be null when argument #2 ($name) is a string" + + if value, argument number 3, is &null; when + name, argument number 2, is a string. + From 43c5f0b552688e48637ea5b23fc513e6c6933958 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 03:51:20 +0000 Subject: [PATCH 08/18] Add comment for XMLWriter section --- appendices/migration80/incompatible/value-errors.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 53da4c53fa76..a11ce3a2e332 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7617,6 +7617,7 @@ + <link linkend="book.xmlwriter">xmlwriter</link> From b48aecda92debb4c334f102edb1db5a7128f1270 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Thu, 23 Feb 2023 03:55:45 +0000 Subject: [PATCH 09/18] XMLReader section 'done' --- .../migration80/incompatible/value-errors.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index a11ce3a2e332..cfc11c3dc151 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7580,6 +7580,7 @@ <link linkend="book.xmlreader">xmlreader</link> + XMLReader::close, @@ -7599,18 +7600,25 @@ XMLReader::getAttributeNs, XMLReader::moveToAttribute, XMLReader::moveToAttributeNs, and - XMLReader::setSchema will throw a ValueError in the following conditions: + XMLReader::setSchema will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" + + if argument number 1, is empty. + XMLReader::getParserProperty, and - XMLReader::setParserProperty will throw a ValueError in the following conditions: + XMLReader::setParserProperty will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be a valid parser property" + + if property, argument number 1, is not a valid + parser property. + From 74939ffd03edb09adb6d0f196566753a0d7d2a49 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 00:21:45 +0000 Subject: [PATCH 10/18] XML section done --- .../migration80/incompatible/value-errors.xml | 36 +++++++++++-------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index cfc11c3dc151..b57f2e74973f 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7542,34 +7542,42 @@ - xml_set_processing_instruction_handler, - xml_set_default_handler, - xml_set_unparsed_entity_decl_handler, - xml_set_notation_decl_handler, - xml_set_external_entity_ref_handler, - xml_set_start_namespace_decl_handler, - xml_set_end_namespace_decl_handler, xml_parser_create, and - xml_parser_create_ns will throw a ValueError in the following conditions: + xml_parser_create_ns will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "is not a supported source encoding" + + if encoding, argument number 1, + is not a supported source encoding. + - xml_parser_set_option will throw a ValueError in the following conditions: + xml_parser_set_option will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be a PHP_XML_OPTION_* constant" - if argument number (3) does no respect the following condition: "is not a supported target encoding" + + if option, argument number 2, is not one of the + XML_OPTION_* constants. + + + if encoding, argument number 3, + is not a supported target encoding. + - xml_parser_get_option will throw a ValueError in the following conditions: + xml_parser_get_option will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be a PHP_XML_OPTION_* constant" + + if option, argument number 2, is not one of the + XML_OPTION_* constants. + From cc7331c5f473037b76c6ee58b326ee2ce9605fd3 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 00:34:33 +0000 Subject: [PATCH 11/18] Tidy section done --- .../migration80/incompatible/value-errors.xml | 148 ++++-------------- 1 file changed, 32 insertions(+), 116 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index b57f2e74973f..b9b10d30e206 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7395,141 +7395,57 @@ - tidy_parse_string will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_parse_file will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Input string is too long" - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy::__construct will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Input string is too long" - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy::parseFile will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Input string is too long" - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy::parseString will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_clean_repair will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_diagnose will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidyNode::getParent will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_get_config will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_getopt will throw a ValueError in the following conditions: - - if argument number (getThis() ? 1 : 2) does no respect the following condition: "is an invalid configuration option, \"%s\" given", optname - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_get_root will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_get_html will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_get_head will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "is too long" - - - - - - tidy_get_body will throw a ValueError in the following conditions: + tidy_parse_string, + tidy::parseString, + tidy_repair_string, and + tidy::repairString will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "is too long" + + if string, argument number 1, is longer than 4GB. + - tidy_repair_string will throw a ValueError in the following conditions: + tidy::__construct, + tidy_parse_file, + tidy::parseFile, + tidy_repair_file, and + tidy::repairFile will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "is too long" + + if the file pointed to by filename, + argument number 1, is larger than 4GB. + - tidy_repair_file will throw a ValueError in the following conditions: + tidy_getopt, and + tidy_get_opt_doc will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "is too long" + + if option, argument number 2, + is not a valid configuration option. + - tidy_get_opt_doc will throw a ValueError in the following conditions: + tidy::getOpt, and + tidy::getOptDoc will throw a + ValueError in the following conditions: - if argument number (getThis() ? 1 : 2) does no respect the following condition: "is an invalid configuration option, \"%s\" given", optname + + if option, argument number 1, + is not a valid configuration option. + From d5d60acc3efe626df69f3e9b66c59b2808157ce1 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 00:37:45 +0000 Subject: [PATCH 12/18] SysV sections done --- .../migration80/incompatible/value-errors.xml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index b9b10d30e206..e46a76225005 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7365,9 +7365,13 @@ - msg_receive will throw a ValueError in the following conditions: + msg_receive will throw a + ValueError in the following conditions: - if argument number (4) does no respect the following condition: "must be greater than 0" + + if max_message_size, argument number 4, + is less than or equal to 0. + @@ -7380,9 +7384,13 @@ - shm_attach will throw a ValueError in the following conditions: + shm_attach will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than 0" + + if size, argument number 2, + is less than or equal to 0. + From 79bb32ceaae3c79905563aa23fba8095a79ffa0d Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 01:11:30 +0000 Subject: [PATCH 13/18] String section done First pass really as other functions likely need to be moved into this section. --- .../migration80/incompatible/value-errors.xml | 227 ++++++++++-------- 1 file changed, 133 insertions(+), 94 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index e46a76225005..48f55d443dae 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7162,197 +7162,236 @@ - ext/standard/formatted_print.c=379=int php_sprintf_get_argnum(char **format, size_t *format_len) { will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Argument number must be greater than zero" - - - - - - sprintf will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc - - - - - - vsprintf will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc - - - - - - printf will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc - - - - - - vprintf will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc - - - - - - fprintf will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc - - - - - - vfprintf will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "The arguments array must contain %d items, %d given", max_missing_argnum + 1, argc - - - - - - metaphone will throw a ValueError in the following conditions: + printf, + sprintf, + fprintf, + vprintf, + vsprintf, and + vfprintf will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + if the argument number specifier used in a format placeholder is + less than 1. + - wordwrap will throw a ValueError in the following conditions: + vprintf, and + vsprintf will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "cannot be empty" - if argument number (4) does no respect the following condition: "cannot be true when argument #2 ($width) is 0" + + if $values, argument number 2, + does not contain the same amount of items than the amount of + placeholders in the format string. + - explode will throw a ValueError in the following conditions: + vfprintf will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "cannot be empty" + + if $values, argument number 3, + does not contain the same amount of items than the amount of + placeholders in the format string. + - dirname will throw a ValueError in the following conditions: + metaphone will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than or equal to 1" + + if max_phonemes, argument number 2, + is less than 0. + - strpos will throw a ValueError in the following conditions: + wordwrap will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + if break, argument number 3, + is an empty string. + + + if cut_long_words, argument number 4, + is &true; when width, argument 2, + is 0. + - stripos will throw a ValueError in the following conditions: + explode will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + if separator, argument number 1, + is an empty string. + - strrpos will throw a ValueError in the following conditions: + dirname will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + if levels, argument number 2, + is less than 1. + - strripos will throw a ValueError in the following conditions: + strpos, + stripos, + strrpos, and + strripos will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + if offset, argument number 3, + is not contained withing haystack, argument 1. + - chunk_split will throw a ValueError in the following conditions: + chunk_split will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than 0" + + if length, argument number 2, + is less than or equal to 0. + - str_repeat will throw a ValueError in the following conditions: + str_repeat will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + if times, argument number 2, + is less than 0. + - count_chars will throw a ValueError in the following conditions: + count_chars will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be between 1 and 4 (inclusive)" + + if mode, argument number 2, + is not a valid mode (0, 1, + 2, 3, or 4). + - substr_count will throw a ValueError in the following conditions: + substr_count will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "cannot be empty" - if argument number (3) does no respect the following condition: "must be contained in argument #1 ($haystack)" + + if needle, argument number 2, + is an empty string. + + + if offset, argument number 3, + is not contained withing haystack, argument 1. + - str_pad will throw a ValueError in the following conditions: + str_pad will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be a non-empty string" - if argument number (4) does no respect the following condition: "must be STR_PAD_LEFT, STR_PAD_RIGHT, or STR_PAD_BOTH" + + if pad_string, argument number 3, + is an empty string. + + + if pad_type, argument number 1, is not + STR_PAD_LEFT, STR_PAD_RIGHT, + or STR_PAD_BOTH. + - str_word_count will throw a ValueError in the following conditions: + str_word_count will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be a valid format value" + + if format, argument number 2, is not a valid + format (0, 1, + or 2). + - str_split will throw a ValueError in the following conditions: + str_split will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than 0" + + if length, argument number 2, + is less than or equal to 0. + - strpbrk will throw a ValueError in the following conditions: + strpbrk will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be a non-empty string" + + if characters, argument number 2, + is an empty string. + - substr_compare will throw a ValueError in the following conditions: + substr_compare will throw a + ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be contained in argument #1 ($main_str)" - if argument number (4) does no respect the following condition: "must be greater than or equal to 0" + + if offset, argument number 3, + is not contained withing haystack, argument 1. + + + if length, argument number 4, + is less than 0. + From 21f6fc8d0ae8fd6fc7fe5169b3e861c8f39f150d Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 01:16:05 +0000 Subject: [PATCH 14/18] Move stream related function into a new section And out of the massive still needing to sort standard section --- .../migration80/incompatible/value-errors.xml | 202 +++++++++--------- 1 file changed, 104 insertions(+), 98 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 48f55d443dae..83e5efd53cac 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -6426,73 +6426,6 @@ <link linkend="book.standard">standard</link> - - - stream_select will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "No stream arrays were passed" - if argument number (4) does no respect the following condition: "must be greater than or equal to 0" - - - - - - stream_context_set_option will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - if argument number (3) does no respect the following condition: "cannot be null when argument #2 ($wrapper_or_options) is a string" - if argument number (4) does no respect the following condition: "cannot be provided when argument #2 ($wrapper_or_options) is an array" - - - - - - stream_context_get_default will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" - - - - - - stream_context_set_default will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" - - - - - - stream_context_create will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - - - - - - stream_context_set_params will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - - - - - - stream_context_get_options will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - - - - - - stream_context_get_params will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - - - assert_options will throw a ValueError in the following conditions: @@ -7034,122 +6967,195 @@ - stream_socket_recvfrom will throw a ValueError in the following conditions: + settype will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than 0" + if argument number (Unknown) does no respect the following condition: "Cannot convert to resource type" + if argument number (2) does no respect the following condition: "must be a valid type" - stream_get_contents will throw a ValueError in the following conditions: + parse_url will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than or equal to -1" + if argument number (2) does no respect the following condition: "must be a valid URL component identifier, " ZEND_LONG_FMT " given", key - stream_get_line will throw a ValueError in the following conditions: + serialize will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name - stream_set_chunk_size will throw a ValueError in the following conditions: + unserialize will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "is too large" + if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name - stream_socket_enable_crypto will throw a ValueError in the following conditions: + version_compare will throw a ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be specified when enabling encryption" + if argument number (3) does no respect the following condition: "must be a valid comparison operator" + + + + + <link linkend="book.standard">Streams</link> + - stream_socket_shutdown will throw a ValueError in the following conditions: + stream_select will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be one of STREAM_SHUT_RD, STREAM_SHUT_WR, or STREAM_SHUT_RDWR" + if argument number (Unknown) does no respect the following condition: "No stream arrays were passed" + if argument number (4) does no respect the following condition: "must be greater than or equal to 0" - settype will throw a ValueError in the following conditions: + stream_context_set_option will throw a ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "Cannot convert to resource type" - if argument number (2) does no respect the following condition: "must be a valid type" + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + if argument number (3) does no respect the following condition: "cannot be null when argument #2 ($wrapper_or_options) is a string" + if argument number (4) does no respect the following condition: "cannot be provided when argument #2 ($wrapper_or_options) is an array" - parse_url will throw a ValueError in the following conditions: + stream_context_get_default will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be a valid URL component identifier, " ZEND_LONG_FMT " given", key + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" - stream_bucket_make_writeable will throw a ValueError in the following conditions: + stream_context_set_default will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" - stream_bucket_prepend will throw a ValueError in the following conditions: + stream_context_create will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - stream_bucket_append will throw a ValueError in the following conditions: + stream_context_set_params will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - stream_filter_register will throw a ValueError in the following conditions: + stream_context_get_options will throw a ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be a non-empty string" + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - serialize will throw a ValueError in the following conditions: + stream_context_get_params will throw a ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - unserialize will throw a ValueError in the following conditions: + stream_socket_recvfrom will throw a ValueError in the following conditions: - if argument number (Unknown) does no respect the following condition: "%s(): Option \"max_depth\" must be greater than or equal to 0", function_name + if argument number (2) does no respect the following condition: "must be greater than 0" - version_compare will throw a ValueError in the following conditions: + stream_get_contents will throw a ValueError in the following conditions: - if argument number (3) does no respect the following condition: "must be a valid comparison operator" + if argument number (2) does no respect the following condition: "must be greater than or equal to -1" + + + + + + stream_get_line will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be greater than or equal to 0" + + + + + + stream_set_chunk_size will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "is too large" + + + + + + stream_socket_enable_crypto will throw a ValueError in the following conditions: + + if argument number (3) does no respect the following condition: "must be specified when enabling encryption" + + + + + + stream_socket_shutdown will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be one of STREAM_SHUT_RD, STREAM_SHUT_WR, or STREAM_SHUT_RDWR" + + + + + + stream_bucket_make_writeable will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + + + + + + stream_bucket_prepend will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + + + + + + stream_bucket_append will throw a ValueError in the following conditions: + + if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + + + + + + stream_filter_register will throw a ValueError in the following conditions: + + if argument number (1) does no respect the following condition: "must be a non-empty string" From 27911e0ebf8a6e9a13c3a1b6925e7d8e3e4955b3 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 01:29:40 +0000 Subject: [PATCH 15/18] Do a bit of the stream section This is going to be such a pain... fml --- .../migration80/incompatible/value-errors.xml | 87 ++++++------------- 1 file changed, 25 insertions(+), 62 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 83e5efd53cac..ebb97ae2718b 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -7033,49 +7033,14 @@ - stream_context_get_default will throw a ValueError in the following conditions: + stream_context_get_default, and + stream_context_set_default - if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" - - - - - - stream_context_set_default will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "A thread value other than 1 is not supported by this implementation" - - - - - - stream_context_create will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - - - - - - stream_context_set_params will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - - - - - - stream_context_get_options will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" - - - - - - stream_context_get_params will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Unexpected failure hashing password" + + if options, argument number 1, specify a thread + value other than 1 on incompatible platforms. + "Options should have the form [\"wrappername\"][\"optionname\"] = $value" + @@ -7129,33 +7094,31 @@ - stream_bucket_make_writeable will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" - - - - - - stream_bucket_prepend will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" - - - - - - stream_bucket_append will throw a ValueError in the following conditions: + stream_bucket_append, and + stream_bucket_prepend will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must be an object that has a \"bucket\" property" + + if bucket, argument number 1, + is an object that does not have a property named + bucket. + - stream_filter_register will throw a ValueError in the following conditions: + stream_filter_register will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must be a non-empty string" + + if filter_name, argument number 1, + is an empty string. + + + if class, argument number 2, + is an empty string. + From c61ba400975cdb09857fe72f785c5562614af742 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 01:39:15 +0000 Subject: [PATCH 16/18] Remove SQLite3 section As far as I can tell we don't throw ValueErrors here --- .../migration80/incompatible/value-errors.xml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index ebb97ae2718b..795703adbe14 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -6403,25 +6403,6 @@ - - <link linkend="book.sqlite3">sqlite3</link> - - - - - SQLite3::open, - SQLite3Result::__construct, - SQLite3Stmt::getSQL, - SQLite3Stmt::bindParam, and - SQLite3Stmt::bindValue will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be greater than or equal to 1" - - - - - - <link linkend="book.standard">standard</link> From fcc8f6f3b061f230f860a874ad7fbaeb171f1d04 Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 02:10:05 +0000 Subject: [PATCH 17/18] SPL section done --- .../migration80/incompatible/value-errors.xml | 446 ++++++------------ 1 file changed, 133 insertions(+), 313 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index 795703adbe14..da21f5a3b517 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -5983,17 +5983,22 @@ - <link linkend="book.spl">spl</link> + <link linkend="book.spl">SPL</link> - spl_autoload_register will throw a ValueError in the following conditions: + spl_autoload_register will throw a + ValueError in the following conditions: - if argument number (1) does no respect the following condition: "must not be the spl_autoload_call() function" + + if callback, argument number 1, + is the spl_autoload_call function. + + SplFileInfo::__construct, @@ -6007,253 +6012,197 @@ DirectoryIterator::__construct, FilesystemIterator::__construct, RecursiveDirectoryIterator::__construct, - GlobIterator::__construct will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "cannot be empty" - - - - - - SplFileInfo::getLinkTarget will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Filename cannot be empty" - - - - - - SplFileObject::setMaxLineLen will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be greater than or equal to 0" - - - - - - SplFileObject::fgetcsv will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must be a single character" - if argument number (3) does no respect the following condition: "must be empty or a single character" - - - - - - SplFileObject::fputcsv will throw a ValueError in the following conditions: - - if argument number (3) does no respect the following condition: "must be a single character" - if argument number (4) does no respect the following condition: "must be empty or a single character" - - - - - - SplFileObject::setCsvControl will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must be a single character" - if argument number (3) does no respect the following condition: "must be empty or a single character" - - - - - - SplFileObject::fread will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be greater than 0" - - - - - - SplFileObject::seek will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be greater than or equal to 0" - - - - - - SplFixedArray::__construct will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be greater than or equal to 0" - - - - - - SplFixedArray::setSize will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be greater than or equal to 0" - - - - - - RecursiveIteratorIterator::setMaxDepth will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be greater than or equal to -1" - - - - - - RecursiveTreeIterator::setPrefixPart will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be a RecursiveTreeIterator::PREFIX_* constant" - - - - - - RecursiveTreeIterator::key will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - IteratorIterator::getInnerIterator will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - IteratorIterator::rewind will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - IteratorIterator::next will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - FilterIterator::rewind will throw a ValueError in the following conditions: + GlobIterator::__construct will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if argument number 1, is an empty string. + - LimitIterator::rewind will throw a ValueError in the following conditions: + SplFileObject::fgetcsv, and + SplFileObject::setCsvControl will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if separator, argument number 1, + is not a single character. + + + if enclosure, argument number 2, + is not a single character. + + + if escape, argument number 3, + is not a single character or the empty string. + - LimitIterator::seek will throw a ValueError in the following conditions: + SplFileObject::fputcsv will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if separator, argument number 2, + is not a single character. + + + if enclosure, argument number 3, + is not a single character. + + + if escape, argument number 4, + is not a single character or the empty string. + - InfiniteIterator::next will throw a ValueError in the following conditions: + SplFileObject::fread will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + if length, argument number 1, + is less than 0. - LimitIterator::valid will throw a ValueError in the following conditions: + SplFileObject::seek will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if offset, argument number 1, + is less than 0. + - FilterIterator::next will throw a ValueError in the following conditions: + SplFileObject::setMaxLineLen will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if maxLength, argument number 1, + is less than 0. + + - LimitIterator::next will throw a ValueError in the following conditions: + SplFixedArray::__construct, and + SplFixedArray::setSize will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if size, argument number 1, + is less than 0. + + + + + Iterators: + + - LimitIterator::getPosition will throw a ValueError in the following conditions: + RecursiveIteratorIterator::setMaxDepth will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if maxDepth, argument number 1, + is less than -1. + - CachingIterator::valid will throw a ValueError in the following conditions: + RecursiveTreeIterator::setPrefixPart will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if part, argument number 1, is not one of the + RecursiveTreeIterator::PREFIX_* + constants. + - CachingIterator::hasNext will throw a ValueError in the following conditions: + LimitIterator::__construct will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if offset, argument number 2, + is less than 0. + + + if limit, argument number 3, + is less than -1. + - CachingIterator::next will throw a ValueError in the following conditions: + RegexIterator::__construct, and + RecursiveRegexIterator::__construct will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if mode, argument number 3, is not one of the + RegexIterator::MATCH, + RegexIterator::GET_MATCH, + RegexIterator::ALL_MATCHES, + RegexIterator::SPLIT, or + RegexIterator::REPLACE constants. + - EmptyIterator::next will throw a ValueError in the following conditions: + RegexIterator::setMode will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if mode, argument number 1, is not one of the + RegexIterator::MATCH, + RegexIterator::GET_MATCH, + RegexIterator::ALL_MATCHES, + RegexIterator::SPLIT, or + RegexIterator::REPLACE constants. + - AppendIterator::current will throw a ValueError in the following conditions: + CachingIterator::__construct, and + RecursiveCachingIterator::__construct will throw a + ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if flags, argument number 2, doesn't contain just one of the + CachingIterator::CALL_TOSTRING, + CachingIterator::TOSTRING_USE_KEY, + CachingIterator::TOSTRING_USE_CURRENT, or + CachingIterator::TOSTRING_USE_INNER constants. + @@ -6261,142 +6210,13 @@ CachingIterator::setFlags will throw a ValueError in the following conditions: - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - FilterIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - CallbackFilterIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - RecursiveCallbackFilterIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - RecursiveFilterIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - ParentIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - RegexIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - RecursiveRegexIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - LimitIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - CachingIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - RecursiveCachingIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - IteratorIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - NoRewindIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - InfiniteIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - AppendIterator::__construct will throw a ValueError in the following conditions: - - if argument number (2) does no respect the following condition: "must contain only one of CachingIterator::CALL_TOSTRING, " - if argument number (3) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " - - - - - - RegexIterator::setMode will throw a ValueError in the following conditions: - - if argument number (1) does no respect the following condition: "must be RegexIterator::MATCH, RegexIterator::GET_MATCH, " + + if flags, argument number 1, doesn't contain just one of the + CachingIterator::CALL_TOSTRING, + CachingIterator::TOSTRING_USE_KEY, + CachingIterator::TOSTRING_USE_CURRENT, or + CachingIterator::TOSTRING_USE_INNER constants. + From 5f64395e2dcedf265f648f3792b3ea75d44aae6c Mon Sep 17 00:00:00 2001 From: George Peter Banyard Date: Sat, 25 Feb 2023 02:19:38 +0000 Subject: [PATCH 18/18] Cleaning up false positives in Socket section --- .../migration80/incompatible/value-errors.xml | 357 +----------------- 1 file changed, 5 insertions(+), 352 deletions(-) diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml index da21f5a3b517..cdd5cf990b42 100644 --- a/appendices/migration80/incompatible/value-errors.xml +++ b/appendices/migration80/incompatible/value-errors.xml @@ -5459,103 +5459,14 @@ <link linkend="book.sockets">sockets</link> - - - - ext/sockets/multicast.c=120=static int php_get_address_from_array(const HashTable *ht, const char *key, will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=139=static int php_do_mcast_opt(php_socket *php_sock, int level, int optname, zval *arg4) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=378=int php_mcast_leave( will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=368=int php_mcast_join( will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=425=int php_mcast_unblock_source( will throw a ValueError in the following conditions: - + + + socket_set_option will throw a ValueError in the following conditions: @@ -5565,120 +5476,6 @@ - - - ext/sockets/multicast.c=564=static int _php_source_op_to_rfc3678_op(enum source_op sop) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key - - - - - - ext/sockets/multicast.c=56=static int _php_source_op_to_rfc3678_op(enum source_op sop); will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=581=static const char *_php_source_op_to_string(enum source_op sop) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key - - - - - - ext/sockets/multicast.c=58=static const char *_php_source_op_to_string(enum source_op sop); will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=59=static int _php_source_op_to_ipv4_op(enum source_op sop); will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=84=static int php_get_if_index_from_zval(zval *val, unsigned *out) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/multicast.c=62=int php_string_to_if_index(const char *val, unsigned *out) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/conversions.c=584=static void to_zval_read_sockaddr_in(const char *data, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key - - - - - - ext/sockets/sockaddr_conv.c=12=extern int php_string_to_if_index(const char *val, unsigned *out); will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key - - - - - - ext/sockets/sockaddr_conv.c=16=int php_set_inet6_addr(struct sockaddr_in6 *sin6, char *string, php_socket *php_sock) /* {{{ */ will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Option %s is inapplicable to this socket type", - - - - - - ext/sockets/conversions.c=690=static void to_zval_read_sockaddr_un(const char *data, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX - - - - - - ext/sockets/conversions.c=694=static void from_zval_write_sockaddr_aux(const zval *container, will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=787=static void to_zval_read_sockaddr_aux(const char *sockaddr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/sockaddr_conv.c=85=int php_set_inet_addr(struct sockaddr_in *sin, char *string, php_socket *php_sock) /* {{{ */ will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "Index must be between 0 and %u", UINT_MAX - - - socket_connect will throw a ValueError in the following conditions: @@ -5711,62 +5508,6 @@ - - - ext/sockets/conversions.c=580=static void from_zval_write_sockaddr_in(const zval *container, char *sockaddr, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key - - - - - - ext/sockets/sockaddr_conv.c=115=int php_set_inet46_addr(php_sockaddr_storage *ss, socklen_t *ss_len, char *string, php_socket *php_sock) /* {{{ */ will throw a ValueError in the following conditions: - - if argument number (Unknown) does no respect the following condition: "No key \"%s\" passed in optval", key - - - - - - ext/sockets/conversions.c=988=static void to_zval_read_control(const char *cmsghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1001=static void to_zval_read_control_array(const char *msghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1121=void from_zval_write_msghdr_send(const zval *container, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1031=static void from_zval_write_name(const zval *zname_arr, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1178=static void to_zval_read_iov(const char *msghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - socket_recvmsg will throw a ValueError in the following conditions: @@ -5775,14 +5516,6 @@ - - - ext/sockets/conversions.c=1105=static void from_zval_write_controllen(const zval *elem, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - socket_sendmsg will throw a ValueError in the following conditions: @@ -5791,46 +5524,6 @@ - - - ext/sockets/conversions.c=1051=static void from_zval_write_msghdr_buffer_size(const zval *elem, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1085=static void from_zval_write_iov_array(const zval *arr, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1132=void from_zval_write_msghdr_recv(const zval *container, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1042=static void to_zval_read_name(const char *sockaddr_p, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=1211=void to_zval_read_msghdr(const char *msghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - socket_get_option will throw a ValueError in the following conditions: @@ -5839,46 +5532,6 @@ - - - ext/sockets/conversions.c=831=static void from_zval_write_control(const zval *arr, will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=910=static void from_zval_write_control_array(const zval *arr, char *msghdr_c, ser_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/conversions.c=957=static void to_zval_read_cmsg_data(const char *cmsghdr_c, zval *zv, res_context *ctx) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/sendrecvmsg.c=141=ancillary_reg_entry *get_ancillary_reg_entry(int cmsg_level, int msg_type) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - - - - ext/sockets/sendrecvmsg.c=408=void php_socket_sendrecvmsg_init(INIT_FUNC_ARGS) will throw a ValueError in the following conditions: - - if argument number ((arg_pos)) does no respect the following condition: "must be between %d and %d", INT_MIN, INT_MAX); \ - - - socket_cmsg_space will throw a ValueError in the following conditions: