Home
last modified time | relevance | path

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

1234567891011

/PHP-7.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_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_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);
H A Dldap_set_option_reqcert_basic.phpt2 ldap_option_reqcert_basic() - Error test for TLS require cert ldap option
16 ] as $option) {
17 $result = ldap_set_option($link, LDAP_OPT_X_TLS_REQUIRE_CERT, $option);
H A Dldap_set_option_tls_protocol_min_basic.phpt2 ldap_set_option() - Basic test for TLS protocol min ldap option
18 ] as $option) {
19 $result = ldap_set_option($link, LDAP_OPT_X_TLS_PROTOCOL_MIN, $option);
H A Dldap_set_option_crlcheck_basic.phpt2 ldap_set_option() - Basic test for TLS CRL check ldap option
24 ] as $option) {
25 $result = ldap_set_option($link, LDAP_OPT_X_TLS_CRLCHECK, $option);
H A Dldap_set_option_cafiles_basic.phpt19 ] as $option) {
20 $result = ldap_set_option($link, $option, '/foo/bar');
23 ldap_get_option($link, $option, $optionval);
/PHP-7.2/scripts/dev/generate-phpt/src/setup/
H A DgtCommandLineOptions.php51 $option = substr($argv[$i], 1);
56 if (!in_array($option, array_merge($this->shortOptions, $this->shortOptionsWithArgs)))
61 if (in_array($option, $this->shortOptions)) {
62 $this->options[$option] = true;
72 $this->options[$option] = $argv[$i];
79 public function getOption($option) argument
81 if (!isset($this->options[$option])) {
84 return $this->options[$option];
91 public function hasOption($option) argument
93 return isset($this->options[$option]);
H A DgtOptionalSections.php19 foreach($options as $option) {
21 if(array_key_exists($option, $this->optSections )) {
22 $this->optSections[$option] = true;
/PHP-7.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-7.2/ext/imap/tests/
H A Dimap_fetch_overview_variation3.phpt2 Test imap_fetch_overview() function : usage variations - FT_UID option
40 foreach($options as $option) {
41 echo "\nTesting with option value:";
42 var_dump($option);
43 $overview = imap_fetch_overview($stream_id, $msg_uid, $option);
61 Testing with option value:%string|unicode%(1) "1"
64 Testing with option value:bool(true)
67 Testing with option value:float(1)
70 Testing with option value:float(1)
73 Testing with option value:int(%d)
[all …]
/PHP-7.2/ext/standard/tests/file/
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 …]
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";
32 option: 3, 2, 50
/PHP-7.2/ext/xml/tests/
H A Dxml_parser_set_option_variation2.phpt82 // loop through each element of the array for option
97 Warning: xml_parser_set_option(): Unknown option in %s on line %d
102 Warning: xml_parser_set_option(): Unknown option in %s on line %d
107 Warning: xml_parser_set_option(): Unknown option in %s on line %d
112 Warning: xml_parser_set_option(): Unknown option in %s on line %d
117 Warning: xml_parser_set_option(): Unknown option in %s on line %d
122 Warning: xml_parser_set_option(): Unknown option in %s on line %d
127 Warning: xml_parser_set_option(): Unknown option in %s on line %d
157 Warning: xml_parser_set_option(): Unknown option in %s on line %d
162 Warning: xml_parser_set_option(): Unknown option in %s on line %d
[all …]
H A Dxml_parser_get_option_variation2.phpt86 // loop through each element of the array for option
102 Warning: xml_parser_get_option(): Unknown option in %s on line %d
107 Warning: xml_parser_get_option(): Unknown option in %s on line %d
112 Warning: xml_parser_get_option(): Unknown option in %s on line %d
117 Warning: xml_parser_get_option(): Unknown option in %s on line %d
122 Warning: xml_parser_get_option(): Unknown option in %s on line %d
127 Warning: xml_parser_get_option(): Unknown option in %s on line %d
132 Warning: xml_parser_get_option(): Unknown option in %s on line %d
162 Warning: xml_parser_get_option(): Unknown option in %s on line %d
167 Warning: xml_parser_get_option(): Unknown option in %s on line %d
[all …]
H A Dxml_parser_set_option_error.phpt11 /* Prototype : proto int xml_parser_set_option(resource parser, int option, mixed value)
23 $option = 10;
26 var_dump( xml_parser_set_option(null, $option, $value, $extra_arg) );
31 $option = 10;
32 var_dump( xml_parser_set_option(null, $option) );
/PHP-7.2/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)))))
54 foreach ($valid_options as $option => $name) {
56 $tmp = @$db->getAttribute($option);
57 if ($tmp !== $defaults[$option])
59 $name, $defaults[$option], gettype($defaults[$option]),
/PHP-7.2/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-7.2/ext/mbstring/oniguruma/src/
H A Dregint.h266 #define IS_SINGLELINE(option) ((option) & ONIG_OPTION_SINGLELINE) argument
267 #define IS_MULTILINE(option) ((option) & ONIG_OPTION_MULTILINE) argument
268 #define IS_IGNORECASE(option) ((option) & ONIG_OPTION_IGNORECASE) argument
269 #define IS_EXTEND(option) ((option) & ONIG_OPTION_EXTEND) argument
270 #define IS_FIND_LONGEST(option) ((option) & ONIG_OPTION_FIND_LONGEST) argument
271 #define IS_FIND_NOT_EMPTY(option) ((option) & ONIG_OPTION_FIND_NOT_EMPTY) argument
272 #define IS_FIND_CONDITION(option) ((option) & \ argument
274 #define IS_NOTBOL(option) ((option) & ONIG_OPTION_NOTBOL) argument
275 #define IS_NOTEOL(option) ((option) & ONIG_OPTION_NOTEOL) argument
276 #define IS_POSIX_REGION(option) ((option) & ONIG_OPTION_POSIX_REGION) argument
[all …]
/PHP-7.2/ext/intl/idn/
H A Didn.c137 const zend_string *domain, uint32_t option, int mode, zval *idna_info) in php_intl_idn_to_46() argument
147 uts46 = uidna_openUTS46(option, &status); in php_intl_idn_to_46()
200 const zend_string *domain, uint32_t option, int mode) in php_intl_idn_to() argument
234 …= uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
236 …uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
270 zend_long option = 0, in php_intl_idn_handoff() local
277 &domain, &option, &variant, &idna_info) == FAILURE) { in php_intl_idn_handoff()
322 php_intl_idn_to(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode); in php_intl_idn_handoff()
326 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
/PHP-7.2/ext/standard/tests/serialize/
H A Dunserialize_error_001.phpt15 Warning: unserialize(): allowed_classes option should be array or boolean in %s on line %d
18 Warning: unserialize(): allowed_classes option should be array or boolean in %s on line %d
21 Warning: unserialize(): allowed_classes option should be array or boolean in %s on line %d

Completed in 36 milliseconds

1234567891011