Home
last modified time | relevance | path

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

12345678

/PHP-5.4/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.4/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.4/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.4/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
H A Duserstreams_007.phpt2 User-space streams: test metadata option
9 public function stream_metadata($path, $option, $var) {
10 echo "metadata: $path, $option\n";
/PHP-5.4/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) );
/PHP-5.4/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.4/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.4/ext/intl/idn/
H A Didn.c137 const char *domain, int 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()
205 const char *domain, int domain_len, uint32_t option, int mode) in php_intl_idn_to() argument
233 …= uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
235 …uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
266 long option = 0, in php_intl_idn_handoff() local
273 &domain, &domain_len, &option, &variant, &idna_info) == FAILURE) { in php_intl_idn_handoff()
316 domain, domain_len, (uint32_t)option, mode); in php_intl_idn_handoff()
321 (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
/PHP-5.4/Zend/tests/
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 ) {
H A Dargument_restriction_001.phpt6 …public function &test($foo, array $bar, $option = NULL, $extra = "llllllllllllllllllllllllllllllll…
16 …of Sub::test() should be compatible with & Base::test($foo, array $bar, $option = NULL, $extra = '…
H A Dargument_restriction_002.phpt6 …public function test($foo, array &$bar, $option = NULL, $extra = 3.1415926535897932384626433832795…
16 … of Sub::test() should be compatible with Base::test($foo, array &$bar, $option = NULL, $extra = 3…
H A Dargument_restriction_003.phpt9 …public function test(Foo $foo, array $bar, $option = NULL, $extra = "lllllllllllllllllllllllllllll…
19 … Sub::test() should be compatible with Base::test(Foo $foo, array $bar, $option = NULL, $extra = '…
/PHP-5.4/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()
1140 OnigOptionType option = 0; in PHP_FUNCTION() local
1156 option |= MBREX(regex_default_options); in PHP_FUNCTION()
1184 OnigOptionType option; in _php_mb_regex_ereg_search_exec() local
1192 option = MBREX(regex_default_options); in _php_mb_regex_ereg_search_exec()
1195 option = 0; in _php_mb_regex_ereg_search_exec()
1315 OnigOptionType option; in PHP_FUNCTION() local
1326 option = MBREX(regex_default_options); in PHP_FUNCTION()
[all …]
/PHP-5.4/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";
/PHP-5.4/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 ) );

Completed in 36 milliseconds

12345678