Home
last modified time | relevance | path

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

12345678910

/PHP-7.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_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_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_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_get_option_error.phpt13 $option = null;
22 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option, "Additional data"),
23 $option
/PHP-7.0/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.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;
H A Dargument_restriction_004.phpt9 abstract public function test(Foo $foo, array $bar, $option = NULL, $extra = 16777215) ;
13 public function test(Foo $foo, array $bar, $option = NULL, $extra = 0xffffff ) {
/PHP-7.0/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.0/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";
33 option: 3, 2, 50
/PHP-7.0/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.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)))))
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.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-7.0/ext/intl/idn/
H A Didn.c137 const char *domain, int32_t domain_len, 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()
202 const char *domain, int32_t domain_len, uint32_t option, int mode) in php_intl_idn_to() argument
229 …= uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
231 …uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
261 zend_long option = 0, in php_intl_idn_handoff() local
268 &domain, &domain_len, &option, &variant, &idna_info) == FAILURE) { in php_intl_idn_handoff()
311 domain, (int32_t)domain_len, (uint32_t)option, mode); in php_intl_idn_handoff()
316 (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
/PHP-7.0/ext/mbstring/oniguruma/
H A Dregint.h292 #define IS_SINGLELINE(option) ((option) & ONIG_OPTION_SINGLELINE) argument
293 #define IS_MULTILINE(option) ((option) & ONIG_OPTION_MULTILINE) argument
294 #define IS_IGNORECASE(option) ((option) & ONIG_OPTION_IGNORECASE) argument
295 #define IS_EXTEND(option) ((option) & ONIG_OPTION_EXTEND) argument
296 #define IS_FIND_LONGEST(option) ((option) & ONIG_OPTION_FIND_LONGEST) argument
297 #define IS_FIND_NOT_EMPTY(option) ((option) & ONIG_OPTION_FIND_NOT_EMPTY) argument
298 #define IS_FIND_CONDITION(option) ((option) & \ argument
300 #define IS_NOTBOL(option) ((option) & ONIG_OPTION_NOTBOL) argument
301 #define IS_NOTEOL(option) ((option) & ONIG_OPTION_NOTEOL) argument
302 #define IS_POSIX_REGION(option) ((option) & ONIG_OPTION_POSIX_REGION) argument
[all …]
/PHP-7.0/ext/intl/tests/
H A Dbug70452.phpt9 // Provide a valid option for the second parameter
11 // Another valid option, but with no corresponding name for that given option
/PHP-7.0/ext/curl/
H A Dshare.c72 static int _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_valu… in _php_curl_share_setopt() argument
76 switch (option) { in _php_curl_share_setopt()
79 error = curl_share_setopt(sh->share, option, zval_get_long(zvalue)); in _php_curl_share_setopt()
/PHP-7.0/ext/gd/tests/
H A Dbug67248.phpt19 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d
21 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d
23 Warning: imageaffinematrixget(): Number is expected as option in %s on line %d

Completed in 29 milliseconds

12345678910