Home
last modified time | relevance | path

Searched refs:option (Results 1 – 25 of 295) sorted by relevance

12345678910>>...12

/php-src/ext/hash/tests/
H A Dhash_serialize_002.phpt29 HashContext with HASH_HMAC option cannot be serialized
31 HashContext with HASH_HMAC option cannot be serialized
33 HashContext with HASH_HMAC option cannot be serialized
35 HashContext with HASH_HMAC option cannot be serialized
37 HashContext with HASH_HMAC option cannot be serialized
39 HashContext with HASH_HMAC option cannot be serialized
41 HashContext with HASH_HMAC option cannot be serialized
43 HashContext with HASH_HMAC option cannot be serialized
45 HashContext with HASH_HMAC option cannot be serialized
47 HashContext with HASH_HMAC option cannot be serialized
[all …]
/php-src/ext/ldap/tests/
H A Dldap_get_option_variation.phpt13 $option = null;
31 ldap_get_option($link, LDAP_OPT_DEREF, $option),
32 $option,
34 $option,
36 $option,
38 $option,
40 $option,
42 $option,
44 $option,
46 $option,
[all …]
H A Dldap_set_option_variation.phpt13 $option = null;
21 ldap_get_option($link, LDAP_OPT_DEREF, $option);
23 $option === LDAP_DEREF_ALWAYS,
28 $option,
33 $option,
38 $option,
43 (bool) $option,
48 (bool) $option,
53 $option,
58 $option,
[all …]
H A Dldap_get_set_invalid_option_error.phpt2 ldap_(g|s)et_option() with non existing option
21 ValueError: ldap_set_option(): Argument #2 ($option) must be a valid LDAP option
22 ValueError: ldap_get_option(): Argument #2 ($option) must be a valid LDAP option
H A Dldap_set_option_basic.phpt13 $option = null;
16 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option);
17 var_dump($option);
H A Dldap_get_option_basic.phpt13 $option = null;
17 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option),
18 $option
H A Dldap_search_overrides.phpt28 ldap_get_option($link, LDAP_OPT_DEREF, $option),
29 $option,
30 ldap_get_option($link, LDAP_OPT_SIZELIMIT, $option),
31 $option,
32 ldap_get_option($link, LDAP_OPT_TIMELIMIT, $option),
33 $option,
34 ldap_get_option($link, LDAP_OPT_NETWORK_TIMEOUT, $option),
35 $option
H A Dldap_modify_batch_programming_error.phpt263 …fications_info) a modification entry must not contain the "values" option when option "modtype" is…
265 TypeError: ldap_modify_batch(): Argument #3 ($modifications_info) the value for option "attrib" mus…
266 ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) the value for option "attrib" mu…
267 TypeError: ldap_modify_batch(): Argument #3 ($modifications_info) the value for option "modtype" mu…
269 …fications_info) a modification entry must not contain the "values" option when option "modtype" is…
270 …ations_info) a modification entry must contain the "values" option when the "modtype" option is no…
272 ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) the value for option "values" mu…
273 ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) the value for option "values" mu…
274 ValueError: ldap_modify_batch(): Argument #3 ($modifications_info) the value for option "values" mu…
275 …fy_batch(): Argument #3 ($modifications_info) a modification entry must contain the "attrib" option
[all …]
/php-src/ext/ftp/tests/
H A Dftp_set_option_errors.phpt18 [ 'option' => FTP_TIMEOUT_SEC, 'value' => 0 ],
19 [ 'option' => FTP_TIMEOUT_SEC, 'value' => '0' ],
20 [ 'option' => FTP_USEPASVADDRESS, 'value' => ['1'] ],
21 [ 'option' => FTP_AUTOSEEK, 'value' => 'true' ],
22 [ 'option' => FOO_BAR, 'value' => 1 ],
24 foreach ($options as $option) try {
25 var_dump(ftp_set_option($ftp, $option['option'], $option['value']));
32 …ption: ftp_set_option(): Argument #3 ($value) must be greater than 0 for the FTP_TIMEOUT_SEC option
33 …set_option(): Argument #3 ($value) must be of type int for the FTP_TIMEOUT_SEC option, string given
34 …_option(): Argument #3 ($value) must be of type bool for the FTP_USEPASVADDRESS option, array given
[all …]
/php-src/Zend/tests/
H A Dbug72508.phpt5 function a ($option) {
6 b($option['bla']);
7 c($option);
8 var_dump($option);
13 function c ($option) {
14 switch ($option['bla']) {
16 $copy = $option;
H A Dbug71756.phpt5 function a ($option) {
6 b($option['bla']);
7 c($option);
8 var_dump($option);
13 function c ($option) {
14 switch ($option['bla']) {
16 $copy = $option;
/php-src/ext/dom/tests/modern/html/parser/
H A DHTMLDocument_fromFile_parser_warning_01.phpt15 <option value="Apple">
16 </option><option value="Banana">
17 </option><option value="Pear">
18 </option></datalist>
H A DHTMLDocument_fromString_parser_warning_01.phpt19 <option value="Apple">
20 </option><option value="Banana">
21 </option><option value="Pear">
22 </option></datalist>
/php-src/ext/curl/tests/
H A Dcurl_setopt_callables.phpt8 function testOption(CurlHandle $handle, int $option) {
10 var_dump(curl_setopt($handle, $option, 'undefined'));
16 var_dump(curl_setopt_array($handle, [$option => 'undefined']));
33 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_PROGRESS…
34 TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_…
35 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_XFERINFO…
37 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_FNMATCH_…
39 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_WRITEFUN…
40 TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_…
41 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_HEADERFU…
[all …]
H A Dcurl_ssh_hostkey_invalid_callable.phpt2 Test curl_setopt(_array)() with CURLOPT_SSH_HOSTKEYFUNCTION option
15 function testOption(CurlHandle $handle, int $option) {
17 var_dump(curl_setopt($handle, $option, 'undefined'));
23 var_dump(curl_setopt_array($handle, [$option => 'undefined']));
35 TypeError: curl_setopt(): Argument #3 ($value) must be a valid callback for option CURLOPT_SSH_HOST…
36 TypeError: curl_setopt_array(): Argument #2 ($options) must be a valid callback for option CURLOPT_…
H A Dcurl_setopt_error.phpt34 curl_setopt(): Argument #2 ($option) must be of type int, string given
35 curl_setopt(): Argument #2 ($option) is not a valid cURL option
36 curl_setopt(): Argument #2 ($option) is not a valid cURL option
/php-src/ext/session/tests/
H A Dsession_start_error.phpt13 session_start(['option' => new stdClass()]);
18 var_dump(session_start(['option' => false]));
24 session_start(): Option "option" must be of type string|int|bool, stdClass given
26 Warning: session_start(): Setting option "option" failed in %s on line %d
/php-src/ext/standard/tests/file/
H A Duserstreams_003.phpt18 function stream_set_option($option, $value, $ptrparam) {
23 echo "\$option === $option === " . $this->expected_option . ":\n";
24 var_dump($option === $this->expected_option);
68 $option === 1 === 1:
79 $option === 1 === 1:
90 $option === 1 === 1:
106 $option === 3 === 3:
117 $option === 3 === 3:
128 $option === 3 === 3:
139 $option === 4 === 4:
[all …]
H A Duserstreams_006.phpt2 User-space streams: set_options returns "not implemented" for unhandled option types
17 function stream_set_option($option, $arg1, $arg2) {
18 echo "option: ", $option, ", ", $arg1, ", ", $arg2, "\n";
34 option: 3, 2, 50
/php-src/sapi/fuzzer/
H A Dfuzzer-json.c42 for (int option = 0; option <=1; ++option) { in LLVMFuzzerTestOneInput() local
45 php_json_parser_init(&parser, &result, data, Size, option, 10); in LLVMFuzzerTestOneInput()
/php-src/sapi/cli/tests/
H A Dbug78323.phpt11 // There are 3 types of option errors:
13 // 2 option not found
14 // 3 no argument for option
29 // option not found
41 // no argument for option
69 Error in argument %d, char %d: option not found %s
73 Error in argument %d, char %d: no argument for option %s
/php-src/ext/xml/tests/
H A DXML_OPTION_PARSE_HUGE.phpt22 echo "old option value: "; var_dump(xml_parser_get_option($parser, XML_OPTION_PARSE_HUGE));
24 echo "new option value: "; var_dump(xml_parser_get_option($parser, XML_OPTION_PARSE_HUGE));
64 old option value: bool(false)
65 new option value: bool(false)
69 old option value: bool(false)
70 new option value: bool(true)
78 old option value: bool(false)
79 new option value: bool(false)
83 old option value: bool(false)
84 new option value: bool(true)
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct_options_libmysql.phpt16 function set_option_and_check($offset, $option, $value, $option_desc, $ignore_diff = false) {
22 $db = new PDO($dsn, $user, $pass, array($option => $value));
23 … if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option)))))
51 foreach ($valid_options as $option => $name) {
53 $tmp = $db->getAttribute($option);
54 if ($tmp !== $defaults[$option])
56 $name, $defaults[$option], gettype($defaults[$option]),
/php-src/ext/dom/tests/modern/css_selectors/
H A Dpseudo_classes_checked.phpt14 <option selected="" />
15 <option xmlns="" selected="" />
27 <option xmlns="http://www.w3.org/1999/xhtml" selected=""></option>
/php-src/ext/standard/tests/streams/
H A Dset_file_buffer.phpt24 function stream_set_option($option, $arg1, $arg2) {
25 echo "option: ", $option, ", ", $arg1, ", ", $arg2, "\n";
38 option: %d, %d, %d

Completed in 20 milliseconds

12345678910>>...12