Home
last modified time | relevance | path

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

1234567891011

/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_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_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_set_option_keepalive_basic.phpt16 ] as $option) {
17 $result = ldap_set_option($link, $option, 5);
20 ldap_get_option($link, $option, $optionval);
/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/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/ext/curl/tests/
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
H A Dcurl_multi_errno_strerror_001.phpt26 curl_multi_setopt(): Argument #2 ($option) is not a valid cURL multi option
28 Unknown option
H A Dcurl_share_errno_strerror_001.phpt26 curl_share_setopt(): Argument #2 ($option) is not a valid cURL share option
28 Unknown share option
/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/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
/php-src/ext/standard/tests/network/
H A Dsetcookie_array_option_error.phpt53 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
64 setcookie(): option "unknown_key" is invalid
65 setcookie(): option array cannot have numeric keys
66 setcookie(): option "foo" is invalid
67 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
68 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
/php-src/ext/zlib/tests/
H A Ddeflate_init_error.phpt41 deflate_init(): "level" option must be between -1 and 9
42 deflate_init(): "level" option must be between -1 and 9
43 deflate_init(): "memory" option must be between 1 and 9
44 deflate_init(): "memory" option must be between 1 and 9

Completed in 54 milliseconds

1234567891011