Home
last modified time | relevance | path

Searched refs:option (Results 51 – 75 of 275) sorted by relevance

1234567891011

/php-src/ext/fileinfo/tests/
H A Dfinfo_buffer_basic-mb.phpt25 foreach( $options as $option ) {
26 $finfo = finfo_open( $option, $magicFile );
28 var_dump( finfo_buffer( $finfo, $string, $option ) );
H A Dfinfo_buffer_variation1-mb.phpt25 foreach( $options as $option ) {
26 $finfo = new finfo( $option, $magicFile );
28 var_dump( $finfo->buffer( $string, $option ) );
H A Dfinfo_buffer_variation1.phpt25 foreach( $options as $option ) {
26 $finfo = new finfo( $option, $magicFile );
28 var_dump( $finfo->buffer( $string, $option ) );
H A Dfinfo_buffer_basic.phpt25 foreach( $options as $option ) {
26 $finfo = finfo_open( $option, $magicFile );
28 var_dump( finfo_buffer( $finfo, $string, $option ) );
/php-src/ext/curl/tests/
H A Dbug54798-unix.phpt51 foreach($options_to_check as $option) {
52 checkForClosedFilePointer($host, constant($option), $option);
H A Dbug46711.phpt16 foreach( $opt as $option => $value ) {
17 curl_setopt( $ch, $option, $value );
/php-src/ext/ldap/tests/
H A Dldap_get_option_package_basic.phpt2 ldap_get_option() - Basic test for getting the TLS package ldap option
14 // This is a read-only option.
/php-src/Zend/tests/
H A Dargument_restriction_001.phpt6 …public function &test($foo, array $bar, $option = NULL, $extra = "llllllllllllllllllllllllllllllll…
16 …of & Sub::test() must 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 …foo, array &$bar) must 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 …of Sub::test() must be compatible with Base::test(Foo $foo, array $bar, $option = null, $extra = '…
/php-src/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-src/ext/standard/tests/network/
H A Dsetcookie_error.phpt41 …var_dump($e->getMessage() == 'setcookie(): "expires" option cannot have a year greater than 9999');
55 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
56 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
H A Dsetrawcookie_error.phpt41 …var_dump($e->getMessage() == 'setrawcookie(): "expires" option cannot have a year greater than 999…
56 setrawcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
57 setrawcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
H A Dbug69948.phpt20 setcookie(): "path" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
21 setcookie(): "domain" option cannot contain ",", ";", " ", "\t", "\r", "\n", "\013", or "\014"
/php-src/ext/standard/tests/ini_info/
H A Dphp_ini_scanned_files.phpt9 // Empty env value disables any config option
13 // Env value without path separator overrides any config option
/php-src/ext/intl/tests/
H A Dcalendar_setSkipped_RepeatedWallTimeOption_error.phpt31 IntlCalendar::setSkippedWallTimeOption(): Argument #1 ($option) must be one of IntlCalendar::WALLTI…
32 IntlCalendar::setRepeatedWallTimeOption(): Argument #1 ($option) must be either IntlCalendar::WALLT…
/php-src/sapi/cgi/tests/
H A Dbug78323.phpt12 // no argument for option
36 Error in argument 1, char 1: no argument for option -
/php-src/ext/curl/
H A Dshare.c56 static bool _php_curl_share_setopt(php_curlsh *sh, zend_long option, zval *zvalue, zval *return_val… in _php_curl_share_setopt() argument
60 switch (option) { in _php_curl_share_setopt()
63 error = curl_share_setopt(sh->share, option, zval_get_long(zvalue)); in _php_curl_share_setopt()
/php-src/ext/filter/
H A Dfilter.c462 zval *option; in php_filter_call() local
477 if ((option = zend_hash_str_find(filter_args_ht, "filter", sizeof("filter") - 1)) != NULL) { in php_filter_call()
478 filter = zval_get_long(option); in php_filter_call()
483 if (Z_TYPE_P(option) == IS_ARRAY) { in php_filter_call()
484 options = option; in php_filter_call()
487 options = option; in php_filter_call()
492 if ((option = zend_hash_str_find(filter_args_ht, "flags", sizeof("flags") - 1)) != NULL) { in php_filter_call()
493 filter_flags = zval_get_long(option); in php_filter_call()
604 zval *option, *opt, *def; in PHP_FUNCTION() local
608 if ((option = zend_hash_str_find(filter_args_ht, "flags", sizeof("flags") - 1)) != NULL) { in PHP_FUNCTION()
[all …]
/php-src/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
31 Warning: socket_set_option(): Unable to set socket option [%d]: Permission denied in %s on line %d
H A Dsocket_set_option_bindtodevice.phpt2 Test if socket_set_option() works, option:SO_BINDTODEVICE
36 Warning: socket_set_option(): Unable to set socket option [19]: No such device in %s on line %d
/php-src/ext/pdo_mysql/tests/
H A Dpdo_mysql___construct_options.phpt14 function set_option_and_check($offset, $option, $value, $option_desc) {
20 $db = new PDO($dsn, $user, $pass, [$option => $value]);
22 if (!is_object($db) || ($value !== ($tmp = @$db->getAttribute($option))))
58 /* TODO - why is this a valid option if getAttribute() does not support it?! */
84 foreach ($valid_options as $option => $name) {
86 $tmp = @$db->getAttribute($option);
87 if ($tmp !== $defaults[$option])
89 $name, $defaults[$option], gettype($defaults[$option]),
/php-src/ext/standard/
H A Dhttp.c243 static zend_result cache_request_parse_body_option(HashTable *options, zval *option, int cache_offs… in cache_request_parse_body_option() argument
245 if (option) { in cache_request_parse_body_option()
247 if (Z_TYPE_P(option) == IS_STRING) { in cache_request_parse_body_option()
249 result = zend_ini_parse_quantity(Z_STR_P(option), &errstr); in cache_request_parse_body_option()
254 } else if (Z_TYPE_P(option) == IS_LONG) { in cache_request_parse_body_option()
255 result = Z_LVAL_P(option); in cache_request_parse_body_option()
257 zend_value_error("Invalid %s value in $options argument", zend_zval_value_name(option)); in cache_request_parse_body_option()
/php-src/ext/zip/
H A Dphp_zip.c360 zval *option; in php_zip_parse_options() local
371 if (Z_TYPE_P(option) != IS_FALSE && Z_TYPE_P(option) != IS_TRUE) { in php_zip_parse_options()
373 zend_zval_value_name(option)); in php_zip_parse_options()
381 zend_zval_value_name(option)); in php_zip_parse_options()
398 zend_zval_value_name(option)); in php_zip_parse_options()
416 zend_zval_value_name(option)); in php_zip_parse_options()
420 if (Z_STRLEN_P(option) == 0) { in php_zip_parse_options()
436 zend_zval_value_name(option)); in php_zip_parse_options()
440 if (Z_STRLEN_P(option) == 0) { in php_zip_parse_options()
456 zend_zval_value_name(option)); in php_zip_parse_options()
[all …]
/php-src/ext/pcre/tests/
H A Drequest47456.phpt2 Request #47456 (Missing PCRE option 'J')
4 The J modifier is supposed to be identical to the internal option (?J), so we're

Completed in 41 milliseconds

1234567891011