Home
last modified time | relevance | path

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

12345678910

/PHP-8.0/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.0/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_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.phpt27 ldap_get_option($link, LDAP_OPT_DEREF, $option),
28 $option,
29 ldap_get_option($link, LDAP_OPT_SIZELIMIT, $option),
30 $option,
31 ldap_get_option($link, LDAP_OPT_TIMELIMIT, $option),
32 $option,
33 ldap_get_option($link, LDAP_OPT_NETWORK_TIMEOUT, $option),
34 $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.0/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.0/ext/imap/tests/
H A Dimap_fetch_overview_variation3.phpt2 Test imap_fetch_overview() function : usage variations - FT_UID option
33 foreach($flags as $option) {
34 echo "\nTesting with option value:";
35 var_dump($option);
37 $overview = imap_fetch_overview($stream_id, $msg_uid, $option);
57 Testing with option value:string(1) "1"
60 Testing with option value:bool(true)
63 Testing with option value:float(1.000000000000001)
66 Testing with option value:float(1)
69 Testing with option value:int(245)
/PHP-8.0/ext/session/tests/
H A Dsession_start_error.phpt11 session_start(['option' => new stdClass()]);
16 var_dump(session_start(['option' => false]));
22 session_start(): Option "option" must be of type string|int|bool, stdClass given
24 Warning: session_start(): Setting option "option" failed in %s on line %d
/PHP-8.0/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.0/ext/standard/tests/file/
H A Duserstreams_006.phpt2 User-space streams: set_options returns "not implemented" for unhandled option types
16 function stream_set_option($option, $arg1, $arg2) {
17 echo "option: ", $option, ", ", $arg1, ", ", $arg2, "\n";
33 option: 3, 2, 50
H A Duserstreams_003.phpt17 function stream_set_option($option, $value, $ptrparam) {
22 echo "\$option === $option === " . $this->expected_option . ":\n";
23 var_dump($option === $this->expected_option);
67 $option === 1 === 1:
78 $option === 1 === 1:
89 $option === 1 === 1:
105 $option === 3 === 3:
116 $option === 3 === 3:
127 $option === 3 === 3:
138 $option === 4 === 4:
[all …]
/PHP-8.0/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_share_errno_strerror_001.phpt30 curl_share_setopt(): Argument #2 ($option) is not a valid cURL share option
32 Unknown share option
H A Dcurl_multi_errno_strerror_001.phpt30 curl_multi_setopt(): Argument #2 ($option) is not a valid cURL multi option
32 Unknown option
/PHP-8.0/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.0/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct_options_libmysql.phpt15 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-8.0/ext/standard/tests/streams/
H A Dset_file_buffer.phpt23 function stream_set_option($option, $arg1, $arg2) {
24 echo "option: ", $option, ", ", $arg1, ", ", $arg2, "\n";
42 option: %d, %d, %d
/PHP-8.0/ext/ftp/tests/
H A Dftp_set_option_errors.phpt48 ftp_set_option(): Argument #3 ($value) must be greater than 0 for the FTP_TIMEOUT_SEC option
49 ftp_set_option(): Argument #3 ($value) must be of type int for the FTP_TIMEOUT_SEC option, string g…
50 ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_USEPASVADDRESS option, arra…
51 ftp_set_option(): Argument #3 ($value) must be of type bool for the FTP_AUTOSEEK option, string giv…
52 ftp_set_option(): Argument #2 ($option) must be one of FTP_TIMEOUT_SEC, FTP_AUTOSEEK, or FTP_USEPAS…
/PHP-8.0/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.0/ext/tidy/tests/
H A D021.phpt19 tidy_get_opt_doc(): Argument #2 ($option) is an invalid configuration option, "some_bogus_cfg" given
20 string(73) "This option specifies if Tidy should allow numeric character references. "
/PHP-8.0/ext/zlib/tests/
H A Ddeflate_init_error.phpt45 deflate_init(): "level" option must be between -1 and 9
46 deflate_init(): "level" option must be between -1 and 9
47 deflate_init(): "memory" option must be between 1 and 9
48 deflate_init(): "memory" option must be between 1 and 9

Completed in 51 milliseconds

12345678910