diff --git a/appendices/migration80/incompatible/value-errors.xml b/appendices/migration80/incompatible/value-errors.xml new file mode 100644 index 000000000000..cdd5cf990b42 --- /dev/null +++ b/appendices/migration80/incompatible/value-errors.xml @@ -0,0 +1,7305 @@ + + + + Functions which now throw ValueErrors + + + <link linkend="book.Core">Core</link> + + + + + 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. + + + + + 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 element, argument number 1, is not + 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 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: + + + if in_codepage, argument number 1, or + if out_codepage, argument number 2, + are invalid codepages or character sets. + + + + + + + + + <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> + + + + + bcscale will throw a + ValueError in the following conditions: + + + if scale, argument number 1, is not + between 0 and the maximal value of a C integer. + + + + + + + bcadd, + bcsub, + bcmul, + bcdiv, + bcmod, and + bccomp will throw a + ValueError in the following conditions: + + + 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. + + + + + + + bcpowmod will throw a + ValueError in the following conditions: + + + 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. + + + + + + + bcpow will throw a + ValueError in the following conditions: + + + 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. + + + + + + + bcsqrt will throw a + ValueError in the following conditions: + + + 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. + + + + + + + + + <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 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_reopen will throw a + ValueError in the following conditions: + + + 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_gc will throw a + ValueError in the following conditions: + + + if flags, argument number 2, is not a bitmask of + the IMAP_GC_TEXTS, IMAP_GC_ELT + and IMAP_GC_ENV constants. + + + + + + + imap_close will throw a + ValueError in the following conditions: + + + if flags, argument number 2, is not + CL_EXPUNGE or 0. + + + + + + + imap_body will throw a + ValueError in the following conditions: + + + if flags, argument number 3, is not a bitmask of + the FT_UID, FT_PEEK + and FT_INTERNAL constants. + + + + + + + imap_mail_copy will throw a + ValueError in the following conditions: + + + if flags, argument number 4, is not a bitmask of + the CP_UID, and CP_MOVE + constants. + + + + + + + imap_mail_move will throw a + ValueError in the following conditions: + + + if flags, argument number 4, is not + CP_UID or 0. + + + + + + + imap_delete will throw a + ValueError in the following conditions: + + + if flags, argument number 3, is not + FT_UID or 0. + + + + + + + imap_headerinfo will throw a + ValueError in the following conditions: + + + 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. + + + + + + + imap_fetchstructure and + imap_fetch_overview will throw a + ValueError in the following conditions: + + + if flags, argument number 3, is not + FT_UID or 0. + + + + + + + imap_fetchbody and + imap_fetchmime will throw a + ValueError in the following conditions: + + + if flags, argument number 4, is not a bitmask of + the FT_UID, FT_PEEK + and FT_INTERNAL constants. + + + + + + + imap_savebody will throw a + ValueError in the following conditions: + + + if flags, argument number 5, is not a bitmask of + the FT_UID, FT_PEEK + and FT_INTERNAL constants. + + + + + + + imap_setflag_full and + imap_clearflag_full will throw a + ValueError in the following conditions: + + + if options, argument number 4, is not + ST_UID or 0. + + + + + + + imap_sort will throw a + ValueError in the following conditions: + + + 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_fetchheader will throw a + ValueError in the following conditions: + + + if flags, argument number 3, is not a bitmask of + the FT_UID, FT_PREFETCHTEXT + and FT_INTERNAL constants. + + + + + + + imap_msgno will throw a + ValueError in the following conditions: + + + if message_uid, argument number 2, + is less or equal than 0. + + + + + + + imap_status will throw a + ValueError in the following conditions: + + + if flags, argument number 3, is not a bitmask of + the SA_* constants. + + + + + + + imap_mail_compose will throw a + ValueError in the following conditions: + + + if bodies, argument number 2, is empty. + + + + + + + imap_mail will throw a + ValueError in the following conditions: + + + if to, argument number 1, is empty. + + + if subject, argument number 2, is empty. + + + + + + + imap_search will throw a + ValueError in the following conditions: + + + if flags, argument number 3, is not a bitmask of + the SE_FREE, and SE_UID + constants. + + + + + + + + + <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> + + + + + + + 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 + + + + + + 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" + + + + + + 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); \ + + + + + + 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); \ + + + + + + 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); \ + + + + + + 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 callback, argument number 1, + is 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, is an empty string. + + + + + + + SplFileObject::fgetcsv, and + SplFileObject::setCsvControl will throw a + ValueError in the following conditions: + + + 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. + + + + + + + SplFileObject::fputcsv will throw a + ValueError in the following conditions: + + + 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. + + + + + + + SplFileObject::fread will throw a + ValueError in the following conditions: + + if length, argument number 1, + is less than 0. + + + + + + SplFileObject::seek will throw a + ValueError in the following conditions: + + + if offset, argument number 1, + is less than 0. + + + + + + + SplFileObject::setMaxLineLen will throw a + ValueError in the following conditions: + + + if maxLength, argument number 1, + is less than 0. + + + + + + + + SplFixedArray::__construct, and + SplFixedArray::setSize will throw a + ValueError in the following conditions: + + + if size, argument number 1, + is less than 0. + + + + + + + + Iterators: + + + + + RecursiveIteratorIterator::setMaxDepth will throw a + ValueError in the following conditions: + + + if maxDepth, argument number 1, + is less than -1. + + + + + + + RecursiveTreeIterator::setPrefixPart will throw a + ValueError in the following conditions: + + + if part, argument number 1, is not one of the + RecursiveTreeIterator::PREFIX_* + constants. + + + + + + + LimitIterator::__construct will throw a + ValueError in the following conditions: + + + if offset, argument number 2, + is less than 0. + + + if limit, argument number 3, + is less than -1. + + + + + + + RegexIterator::__construct, and + RecursiveRegexIterator::__construct will throw a + ValueError in the following conditions: + + + if mode, argument number 3, is not one of the + RegexIterator::MATCH, + RegexIterator::GET_MATCH, + RegexIterator::ALL_MATCHES, + RegexIterator::SPLIT, or + RegexIterator::REPLACE constants. + + + + + + + RegexIterator::setMode will throw a + ValueError in the following conditions: + + + if mode, argument number 1, is not one of the + RegexIterator::MATCH, + RegexIterator::GET_MATCH, + RegexIterator::ALL_MATCHES, + RegexIterator::SPLIT, or + RegexIterator::REPLACE constants. + + + + + + + CachingIterator::__construct, and + RecursiveCachingIterator::__construct will throw a + ValueError in the following conditions: + + + 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. + + + + + + + CachingIterator::setFlags will throw a ValueError in the following conditions: + + + 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. + + + + + + + + + <link linkend="book.standard">standard</link> + + + + + 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)" + + + + + + 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 + + + + + + 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.standard">Streams</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, and + stream_context_set_default + + + if options, argument number 1, specify a thread + value other than 1 on incompatible platforms. + "Options should have the form [\"wrappername\"][\"optionname\"] = $value" + + + + + + + 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" + + + + + + stream_bucket_append, and + stream_bucket_prepend will throw a + ValueError in the following conditions: + + + 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: + + + if filter_name, argument number 1, + is an empty string. + + + if class, argument number 2, + is an empty string. + + + + + + + + + <link linkend="book.string">string</link> + + + + + printf, + sprintf, + fprintf, + vprintf, + vsprintf, and + vfprintf will throw a + ValueError in the following conditions: + + + if the argument number specifier used in a format placeholder is + less than 1. + + + + + + + vprintf, and + vsprintf will throw a + ValueError in the following conditions: + + + if $values, argument number 2, + does not contain the same amount of items than the amount of + placeholders in the format string. + + + + + + + vfprintf will throw a + ValueError in the following conditions: + + + if $values, argument number 3, + does not contain the same amount of items than the amount of + placeholders in the format string. + + + + + + + metaphone will throw a + ValueError in the following conditions: + + + if max_phonemes, argument number 2, + is less than 0. + + + + + + + wordwrap will throw a + ValueError in the following conditions: + + + if break, argument number 3, + is an empty string. + + + if cut_long_words, argument number 4, + is &true; when width, argument 2, + is 0. + + + + + + + explode will throw a + ValueError in the following conditions: + + + if separator, argument number 1, + is an empty string. + + + + + + + dirname will throw a + ValueError in the following conditions: + + + if levels, argument number 2, + is less than 1. + + + + + + + strpos, + stripos, + strrpos, and + strripos will throw a + ValueError in the following conditions: + + + if offset, argument number 3, + is not contained withing haystack, argument 1. + + + + + + + chunk_split will throw a + ValueError in the following conditions: + + + if length, argument number 2, + is less than or equal to 0. + + + + + + + str_repeat will throw a + ValueError in the following conditions: + + + if times, argument number 2, + is less than 0. + + + + + + + count_chars will throw a + ValueError in the following conditions: + + + 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: + + + 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: + + + 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: + + + if format, argument number 2, is not a valid + format (0, 1, + or 2). + + + + + + + str_split will throw a + ValueError in the following conditions: + + + if length, argument number 2, + is less than or equal to 0. + + + + + + + strpbrk will throw a + ValueError in the following conditions: + + + if characters, argument number 2, + is an empty string. + + + + + + + substr_compare will throw a + ValueError in the following conditions: + + + if offset, argument number 3, + is not contained withing haystack, argument 1. + + + if length, argument number 4, + is less than 0. + + + + + + + + + <link linkend="book.sysvmsg">sysvmsg</link> + + + + + msg_receive will throw a + ValueError in the following conditions: + + + if max_message_size, argument number 4, + is less than or equal to 0. + + + + + + + + + <link linkend="book.sysvshm">sysvshm</link> + + + + + shm_attach will throw a + ValueError in the following conditions: + + + if size, argument number 2, + is less than or equal to 0. + + + + + + + + + <link linkend="book.tidy">tidy</link> + + + + + tidy_parse_string, + tidy::parseString, + tidy_repair_string, and + tidy::repairString will throw a + ValueError in the following conditions: + + + if string, argument number 1, is longer than 4GB. + + + + + + + tidy::__construct, + tidy_parse_file, + tidy::parseFile, + tidy_repair_file, and + tidy::repairFile will throw a + ValueError in the following conditions: + + + if the file pointed to by filename, + argument number 1, is larger than 4GB. + + + + + + + tidy_getopt, and + tidy_get_opt_doc will throw a + ValueError in the following conditions: + + + if option, argument number 2, + is not a valid configuration option. + + + + + + + tidy::getOpt, and + tidy::getOptDoc will throw a + ValueError in the following conditions: + + + if option, argument number 1, + is not a valid configuration option. + + + + + + + + + <link linkend="book.xml">xml</link> + + + + + xml_parser_create, and + xml_parser_create_ns will throw a + ValueError in the following conditions: + + + if encoding, argument number 1, + is not a supported source encoding. + + + + + + + xml_parser_set_option will throw a + ValueError in the following conditions: + + + 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: + + + if option, argument number 2, is not one of the + XML_OPTION_* constants. + + + + + + + + + <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, is empty. + + + + + + + XMLReader::getParserProperty, and + XMLReader::setParserProperty will throw a + ValueError in the following conditions: + + + if property, argument number 1, is not 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, and + XSLTProcessor::transformToXml will throw a + ValueError in the following conditions: + + + if document, argument number 1, + is not a valid XML node. + + + + + + + XSLTProcessor::setParameter will throw a + ValueError in the following conditions: + + + if value, argument number 3, is &null; when + name, argument number 2, is a string. + + + + + + + + + <link linkend="book.zip">zip</link> + + + + + ZipArchive::addEmptyDir will throw a + ValueError in the following conditions: + + + if dirname, argument number 1, is empty. + + + + + + + ZipArchive::addGlob, and + ZipArchive::addPattern will throw a + ValueError in the following conditions: + + + if pattern, argument number 1, is empty. + + + + + + + zip_open, and + ZipArchive::open will throw a + ValueError in the following conditions: + + + if filename, argument number 1, is empty. + + + + + + + ZipArchive::addFile will throw a + ValueError in the following conditions: + + + if filepath, argument number 1, is empty. + + + + + + + ZipArchive::replaceFile will throw a + ValueError in the following conditions: + + + 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: + + + if comment, argument number 1, is longer than + 65535 bytes. + + + + + + + ZipArchive::setCommentName will throw a + ValueError in the following conditions: + + + 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: + + + if comment, argument number 2, is longer than + 65535 bytes. + + + + + + + ZipArchive::setExternalAttributesName, + ZipArchive::getExternalAttributesName, + ZipArchive::setEncryptionName, + ZipArchive::getCommentName, + ZipArchive::setCompressionName, and + ZipArchive::setMtimeName will throw a + ValueError in the following conditions: + + + if name, argument number 1, is empty. + + + + + + + ZipArchive::renameIndex, and + ZipArchive::renameName will throw a + ValueError in the following conditions: + + + if new_name, argument number 1, is 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" + + + + + + + + +