Home
last modified time | relevance | path

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

123456789

/PHP-7.4/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_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_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);
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);
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.4/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.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(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.4/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";
32 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-7.4/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-7.4/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.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-7.4/ext/intl/idn/
H A Didn.c124 const zend_string *domain, uint32_t option, int mode, zval *idna_info) in php_intl_idn_to_46() argument
132 uts46 = uidna_openUTS46(option, &status); in php_intl_idn_to_46()
180 const zend_string *domain, uint32_t option, int mode) in php_intl_idn_to() argument
214 …= uidna_IDNToASCII(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
216 …uidna_IDNToUnicode(ustring, ustring_len, converted, MAXPATHLEN, (int32_t)option, &parse_error, &st… in php_intl_idn_to()
250 zend_long option = 0, in php_intl_idn_handoff() local
257 &domain, &option, &variant, &idna_info) == FAILURE) { in php_intl_idn_handoff()
296 php_intl_idn_to(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode); in php_intl_idn_handoff()
299 php_intl_idn_to_46(INTERNAL_FUNCTION_PARAM_PASSTHRU, domain, (uint32_t)option, mode, idna_info); in php_intl_idn_handoff()
/PHP-7.4/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
/PHP-7.4/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.4/ext/standard/
H A Dsyslog.c126 void php_openlog(const char *ident, int option, int facility) in php_openlog() argument
128 openlog(ident, option, facility); in php_openlog()
142 zend_long option, facility; in PHP_FUNCTION() local
147 Z_PARAM_LONG(option) in PHP_FUNCTION()
158 php_openlog(BG(syslog_device), option, facility); in PHP_FUNCTION()
/PHP-7.4/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 38 milliseconds

123456789