Home
last modified time | relevance | path

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

1234567891011

/PHP-8.2/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-8.2/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_option_basic.phpt13 $option = null;
17 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option),
18 $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_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_keepalive_basic.phpt16 ] as $option) {
17 $result = ldap_set_option($link, $option, 5);
20 ldap_get_option($link, $option, $optionval);
H A Dldap_set_option_reqcert_basic.phpt2 ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
18 ] as $option) {
19 $result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, $option);
/PHP-8.2/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']));
31 …ption: ftp_set_option(): Argument #3 ($value) must be greater than 0 for the FTP_TIMEOUT_SEC option
32 …set_option(): Argument #3 ($value) must be of type int for the FTP_TIMEOUT_SEC option, string given
33 …_option(): Argument #3 ($value) must be of type bool for the FTP_USEPASVADDRESS option, array given
[all …]
/PHP-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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-8.2/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) {
23 $db = new PDO($dsn, $user, $pass, array($option => $value));
24 … if (!is_object($db) || (!$ignore_diff && ($value !== ($tmp = @$db->getAttribute($option)))))
52 foreach ($valid_options as $option => $name) {
54 $tmp = $db->getAttribute($option);
55 if ($tmp !== $defaults[$option])
57 $name, $defaults[$option], gettype($defaults[$option]),
/PHP-8.2/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-8.2/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');
63 setcookie(): option "unknown_key" is invalid
64 setcookie(): option array cannot have numeric keys
65 setcookie(): option "foo" is invalid
66 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
67 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
/PHP-8.2/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
/PHP-8.2/ext/tidy/tests/
H A D021.phpt21 tidy_get_opt_doc(): Argument #2 ($option) is an invalid configuration option, "some_bogus_cfg" given
22 string(73) "This option specifies if Tidy should allow numeric character references. "
H A D007.phpt34 tidy::getOpt(): Argument #1 ($option) is an invalid configuration option, "bogus-opt" given
35 tidy_getopt(): Argument #2 ($option) is an invalid configuration option, "non-ASCII string ���" giv…

Completed in 35 milliseconds

1234567891011