Home
last modified time | relevance | path

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

12345678

/PHP-5.3/ext/ldap/tests/
H A Dldap_get_option_variation.phpt13 $option = null;
30 ldap_get_option($link, LDAP_OPT_DEREF, $option),
31 $option,
33 $option,
35 $option,
37 $option,
39 $option,
40 ldap_get_option($link, LDAP_OPT_RESTART, $option),
41 $option,
43 $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_get_option_error.phpt13 $option = null;
22 ldap_get_option($link, LDAP_OPT_PROTOCOL_VERSION, $option, "Additional data"),
23 $option
/PHP-5.3/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-5.3/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 …]
H A Dimap_fetchbody_basic.phpt29 foreach ($options as $key => $option) {
35 var_dump( imap_fetchbody($stream_id, $msg_uid, $section, $option) );
39 var_dump( imap_fetchbody($stream_id, $msg_no, $section, $option) );
46 var_dump( imap_fetchbody($stream_id, $msg_no, $section, $option) );
/PHP-5.3/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 …]
/PHP-5.3/ext/xml/tests/
H A Dxml_parser_set_option_variation2.phpt81 // loop through each element of the array for option
96 Warning: xml_parser_set_option(): Unknown option in %s on line %d
101 Warning: xml_parser_set_option(): Unknown option in %s on line %d
106 Warning: xml_parser_set_option(): Unknown option in %s on line %d
111 Warning: xml_parser_set_option(): Unknown option in %s on line %d
116 Warning: xml_parser_set_option(): Unknown option in %s on line %d
121 Warning: xml_parser_set_option(): Unknown option in %s on line %d
126 Warning: xml_parser_set_option(): Unknown option in %s on line %d
156 Warning: xml_parser_set_option(): Unknown option in %s on line %d
161 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) );
H A Dxml_parser_get_option_error.phpt11 /* Prototype : proto int xml_parser_get_option(resource parser, int option)
23 $option = 10;
25 var_dump( xml_parser_get_option(null, $option, $extra_arg) );
/PHP-5.3/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-5.3/ext/mbstring/oniguruma/
H A Dregint.h398 #define IS_SINGLELINE(option) ((option) & ONIG_OPTION_SINGLELINE) argument
399 #define IS_MULTILINE(option) ((option) & ONIG_OPTION_MULTILINE) argument
400 #define IS_IGNORECASE(option) ((option) & ONIG_OPTION_IGNORECASE) argument
401 #define IS_EXTEND(option) ((option) & ONIG_OPTION_EXTEND) argument
402 #define IS_FIND_LONGEST(option) ((option) & ONIG_OPTION_FIND_LONGEST) argument
403 #define IS_FIND_NOT_EMPTY(option) ((option) & ONIG_OPTION_FIND_NOT_EMPTY) argument
404 #define IS_POSIXLINE(option) (IS_SINGLELINE(option) && IS_MULTILINE(option)) argument
405 #define IS_FIND_CONDITION(option) ((option) & \ argument
407 #define IS_NOTBOL(option) ((option) & ONIG_OPTION_NOTBOL) argument
408 #define IS_NOTEOL(option) ((option) & ONIG_OPTION_NOTEOL) argument
[all …]
/PHP-5.3/ext/standard/tests/general_functions/
H A Dget_cfg_var_variation8.phpt2 Test function get_cfg_var() by calling deprecated option
12 echo "*** Test by calling method or function with deprecated option ***\n";
18 *** Test by calling method or function with deprecated option ***
/PHP-5.3/ext/intl/idn/
H A Didn.c61 long option = 0; in php_intl_idn_to() local
70 …if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", (char **)&domain, &domain_len, &option in php_intl_idn_to()
97 …= uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
99 …uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
/PHP-5.3/ext/mbstring/
H A Dphp_mbregex.c481 if ((option & ONIG_OPTION_IGNORECASE) != 0) { in _php_mb_regex_get_option_string()
489 if ((option & ONIG_OPTION_EXTEND) != 0) { in _php_mb_regex_get_option_string()
645 if (option != NULL) *option|=optm; in _php_mb_regex_init_options()
1076 OnigOptionType option = 0; in PHP_FUNCTION() local
1092 option |= MBREX(regex_default_options); in PHP_FUNCTION()
1120 OnigOptionType option; in _php_mb_regex_ereg_search_exec() local
1128 option = MBREX(regex_default_options); in _php_mb_regex_ereg_search_exec()
1131 option = 0; in _php_mb_regex_ereg_search_exec()
1251 OnigOptionType option; in PHP_FUNCTION() local
1262 option = MBREX(regex_default_options); in PHP_FUNCTION()
[all …]
/PHP-5.3/ext/fileinfo/tests/
H A Dfinfo_buffer_basic.phpt31 foreach( $options as $option ) {
32 $finfo = finfo_open( $option, $magicFile );
34 var_dump( finfo_buffer( $finfo, $string, $option ) );
H A Dfinfo_buffer_variation1.phpt31 foreach( $options as $option ) {
32 $finfo = new finfo( $option, $magicFile );
34 var_dump( $finfo->buffer( $string, $option ) );
/PHP-5.3/ext/curl/tests/
H A Dbug46711.phpt23 foreach( $opt as $option => $value ) {
24 curl_setopt( $ch, $option, $value );
/PHP-5.3/ext/mbstring/tests/
H A Dmb_ereg_replace_error.phpt10 …: proto string mb_ereg_replace(string pattern, string replacement, string string [, string option])
23 $option = '';
25 var_dump( mb_ereg_replace($pattern, $replacement, $string, $option, $extra_arg) );
/PHP-5.3/ext/sockets/tests/
H A Dsocket_set_option_error_socket_option.phpt2 Test if socket_set_option() returns 'unable to set socket option' failure for invalid options
30 Warning: socket_set_option(): unable to set socket option [%d]: Permission denied in %s on line %d
/PHP-5.3/scripts/dev/generate-phpt/src/texts/
H A Dhelp.txt12 -k skipif key..................... Skipif option, only used if -s skipif is used.
13 -x extension.......................Skipif option, specify extension to check for

Completed in 49 milliseconds

12345678