Home
last modified time | relevance | path

Searched refs:options (Results 1 – 25 of 484) sorted by relevance

12345678910>>...20

/PHP-7.1/scripts/dev/generate-phpt/src/
H A Dgenerate-phpt.php21 $options->parse($argv);
27 if($options->hasOption('h')) {
33 $preConditions->check($options);
39 if($options->hasOption('s')) {
45 if($options->hasOption('c')) {
46 $name = $options->getOption('c')."_".$options->getOption('m');
47 $method = new gtMethod($options->getOption('c'), $options->getOption('m'));
58 if($options->hasOption('f')) {
67 if($options->hasOption('b')) {
80 if($options->hasOption('e')) {
[all …]
/PHP-7.1/ext/json/
H A Djson_encoder.c39 int options, php_json_encoder *encoder);
76 if (options & PHP_JSON_PRETTY_PRINT) { in php_json_pretty_print_char()
86 if (options & PHP_JSON_PRETTY_PRINT) { in php_json_pretty_print_indent()
303 if (options & PHP_JSON_NUMERIC_CHECK) { in php_json_escape_string()
313 php_json_encode_double(buf, d, options); in php_json_escape_string()
320 if (options & PHP_JSON_UNESCAPED_UNICODE) { in php_json_escape_string()
385 if (options & PHP_JSON_HEX_QUOT) { in php_json_escape_string()
425 if (options & PHP_JSON_HEX_TAG) { in php_json_escape_string()
433 if (options & PHP_JSON_HEX_TAG) { in php_json_escape_string()
441 if (options & PHP_JSON_HEX_AMP) { in php_json_escape_string()
[all …]
H A Djson.c49 ZEND_ARG_INFO(0, options)
57 ZEND_ARG_INFO(0, options)
187 PHP_JSON_API int php_json_encode(smart_str *buf, zval *val, int options) /* {{{ */ in php_json_encode() argument
196 return_code = php_json_encode_zval(buf, val, options, &encoder); in php_json_encode()
207 php_json_parser_init(&parser, return_value, str, str_len, (int)options, (int)depth); in php_json_decode_ex()
226 zend_long options = 0; in PHP_FUNCTION() local
236 php_json_encode_zval(&buf, parameter, (int)options, &encoder); in PHP_FUNCTION()
260 zend_long options = 0; in PHP_FUNCTION() local
285 options |= PHP_JSON_OBJECT_AS_ARRAY; in PHP_FUNCTION()
287 options &= ~PHP_JSON_OBJECT_AS_ARRAY; in PHP_FUNCTION()
[all …]
/PHP-7.1/ext/filter/tests/
H A D029.phpt13 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test")));
15 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>"test")));
16 var_dump(filter_var("qwe", FILTER_CALLBACK, array("options"=>"no such func")));
17 var_dump(filter_var("qwe", FILTER_CALLBACK, array("options"=>"")));
35 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test1")));
37 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>"test1")));
44 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test2")));
46 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>"test2")));
53 var_dump(filter_var("data", FILTER_CALLBACK, array("options"=>"test3")));
55 var_dump(filter_var("", FILTER_CALLBACK, array("options"=>"test3")));
[all …]
H A Dbug76366.phpt21 $args['foo']['options'] = [];
24 $options = &$args['foo']['options'];
26 #set options
27 $options['min_range'] = 1;
28 $options['max_range'] = 5;
H A D017.phpt8 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/.*/'))));
9 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^b(.*)/'))));
10 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/^d(.*)/'))));
11 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/blah/'))));
12 var_dump(filter_var("data", FILTER_VALIDATE_REGEXP, array("options"=>array("regexp"=>'/\[/'))));
H A D013.phpt29 var_dump(filter_var("6", FILTER_VALIDATE_INT, array("options" => array("min_range"=>1, "max_range"=…
30 var_dump(filter_var("6", FILTER_VALIDATE_INT, array("options" => array("min_range"=>0, "max_range"=…
31 var_dump(filter_var(-1, FILTER_VALIDATE_INT, array("options" => array("min_range"=>1, "max_range"=>…
32 var_dump(filter_var(-1, FILTER_VALIDATE_INT, array("options" => array("min_range"=>-4, "max_range"=…
34 var_dump(filter_var("", FILTER_VALIDATE_INT, array("options" => array("min_range"=>-4, "max_range"=…
35 var_dump(filter_var("", FILTER_VALIDATE_INT, array("options" => array("min_range"=>2, "max_range"=>…
36 var_dump(filter_var("", FILTER_VALIDATE_INT, array("options" => array("min_range"=>-5, "max_range"=…
37 var_dump(filter_var(345, FILTER_VALIDATE_INT, array("options" => array("min_range"=>500, "max_range…
/PHP-7.1/ext/mysqlnd/
H A Dmysqlnd_vio.c344 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
362 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
499 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
506 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
510 if (!net->data->options.ssl_key) { in MYSQLND_METHOD()
516 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
616 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
618 net->data->options.ssl_key = NULL; in MYSQLND_METHOD()
620 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
624 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
[all …]
H A Dmysqlnd_net.c747 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
765 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
913 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
920 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
924 if (!net->data->options.ssl_key) { in MYSQLND_METHOD()
930 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
1034 if (net->data->options.ssl_key) { in MYSQLND_METHOD()
1036 net->data->options.ssl_key = NULL; in MYSQLND_METHOD()
1038 if (net->data->options.ssl_cert) { in MYSQLND_METHOD()
1042 if (net->data->options.ssl_ca) { in MYSQLND_METHOD()
[all …]
/PHP-7.1/ext/fileinfo/
H A Dfileinfo.c44 zend_long options; member
115 ZEND_ARG_INFO(0, options)
125 ZEND_ARG_INFO(0, options)
129 ZEND_ARG_INFO(0, options)
135 ZEND_ARG_INFO(0, options)
338 finfo->options = options; in PHP_FUNCTION()
400 zend_long options; in PHP_FUNCTION() local
420 finfo->options = options; in PHP_FUNCTION()
432 zend_long options = 0; in _php_finfo_get_type() local
488 if (options) { in _php_finfo_get_type()
[all …]
/PHP-7.1/scripts/dev/generate-phpt/src/setup/
H A DgtCommandLineOptions.php26 protected $options; variable in gtCommandLineOptions
62 $this->options[$option] = true;
72 $this->options[$option] = $argv[$i];
81 if (!isset($this->options[$option])) {
84 return $this->options[$option];
93 return isset($this->options[$option]);
/PHP-7.1/ext/curl/tests/
H A Dcurl_setopt_array_basic.phpt2 curl_setopt_array() function - tests setting multiple cURL options with curl_setopt_array()
11 * Prototype: bool curl_setopt_array(resource $ch, array $options)
12 * Description: Sets multiple options for a cURL session.
32 echo '== Starting test curl_setopt_array($ch, $options); ==' . "\n";
37 // options for the curl handler
38 $options = array (
45 curl_setopt_array($ch, $options);
54 == Starting test curl_setopt_array($ch, $options); ==
H A Dcurl_basic_018.phpt30 $options = array(
35 curl_setopt_array($chs[0], $options); //set the options
36 curl_setopt_array($chs[1], $options); //set the options
37 curl_setopt_array($chs[2], $options); //set the options
/PHP-7.1/ext/spl/
H A Ddoxygen.cfg4 # Project related configuration options
32 # Build related configuration options
69 # configuration options related to the input files
88 # configuration options related to source browsing
103 # configuration options related to the HTML output
123 # configuration options related to the LaTeX output
138 # configuration options related to the RTF output
147 # configuration options related to the man page output
154 # configuration options related to the XML output
173 # Configuration options related to the preprocessor
[all …]
/PHP-7.1/ext/phar/
H A Ddirstream.c314 if ((resource = phar_parse_url(wrapper, path, mode, options)) == NULL) { in phar_wrapper_open_dir()
315 php_stream_wrapper_log_error(wrapper, options, "phar url \"%s\" is unknown", path); in phar_wrapper_open_dir()
333 php_stream_wrapper_log_error(wrapper, options, "phar error: not a phar url \"%s\"", path); in phar_wrapper_open_dir()
343 php_stream_wrapper_log_error(wrapper, options, "%s", error); in phar_wrapper_open_dir()
375 return php_stream_opendir(entry->tmp, options, context); in phar_wrapper_open_dir()
438 if ((resource = phar_parse_url(wrapper, url_from, "w", options)) == NULL) { in phar_wrapper_mkdir()
445 php_stream_wrapper_log_error(wrapper, options, "phar error: invalid url \"%s\"", url_from); in phar_wrapper_mkdir()
573 if ((resource = phar_parse_url(wrapper, url, "w", options)) == NULL) { in phar_wrapper_rmdir()
580 php_stream_wrapper_log_error(wrapper, options, "phar error: invalid url \"%s\"", url); in phar_wrapper_rmdir()
620 php_stream_wrapper_log_error(wrapper, options, "phar error: Directory not empty"); in phar_wrapper_rmdir()
[all …]
H A Ddirstream.h23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, const char *url_from, int mode, int options, ph…
24 int phar_wrapper_rmdir(php_stream_wrapper *wrapper, const char *url, int options, php_stream_contex…
27 …* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options);
36 …dir(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **op…
/PHP-7.1/ext/pcre/pcrelib/
H A Dpcreposix.c271 int options = 0; in regcomp() local
274 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS; in regcomp()
276 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL; in regcomp()
278 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8; in regcomp()
279 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP; in regcomp()
280 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY; in regcomp()
324 int options = 0; in regexec() local
331 if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL; in regexec()
332 if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL; in regexec()
333 if ((eflags & REG_NOTEMPTY) != 0) options |= PCRE_NOTEMPTY; in regexec()
[all …]
/PHP-7.1/ext/xmlrpc/libxmlrpc/
H A Dxml_element.c389 if(!options) { in xml_element_serialize()
390 options = &default_opts; in xml_element_serialize()
398 if(options->encoding && *options->encoding) { in xml_element_serialize()
407 if(options->verbosity != xml_elem_no_white_space) { in xml_element_serialize()
412 if(options->verbosity == xml_elem_pretty && depth > 2) { in xml_element_serialize()
451 if(options->escaping && options->escaping != xml_elem_cdata_escaping) { in xml_element_serialize()
496 if(options->verbosity != xml_elem_no_white_space) { in xml_element_serialize()
693 if(!options) { in xml_elem_parse_buf()
694 options = &default_opts; in xml_elem_parse_buf()
705 mydata.input_options = options; in xml_elem_parse_buf()
[all …]
/PHP-7.1/main/
H A Dphp_streams.h68 …hp_stream_fopen_rel(filename, mode, opened, options) _php_stream_fopen((filename), (mode), (opened… argument
70 …_rel(filename, mode, path, opened, options) _php_stream_fopen_with_path((filename), (mode), (path)… argument
81 …e php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mo… argument
82 …ream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path),… argument
137 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC);
146 int options, zend_string **opened_path, php_stream_context *context STREAMS_DC);
351 #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, conte… argument
354 #define php_stream_rmdir(path, options, context) _php_stream_rmdir(path, options, context) argument
357 #define php_stream_opendir(path, options, context) _php_stream_opendir((path), (options), (context)… argument
568 …efine php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mo… argument
[all …]
/PHP-7.1/ext/xmlrpc/tests/
H A Dbug45555.phpt8 $options = array ();
9 $request = xmlrpc_encode_request ("system.describeMethods", $options);
15 $options = array ('output_type' => 'xml', 'version' => 'xmlrpc');
16 xmlrpc_server_call_method ($server, $request, NULL, $options);
/PHP-7.1/ext/simplexml/tests/
H A Dbug42259.phpt17 <options>
21 </options>
44 4 steps: xml/fieldset2/options/option1
45 4 steps: xml/fieldset2/options/option2
46 4 steps: xml/fieldset2/options/option3
/PHP-7.1/ext/imap/tests/
H A Dimap_fetchheader_variation3.phpt9 /* Prototype : string imap_fetchheader(resource $stream_id, int $msg_no [, int $options])
15 * Test if FT_UID is set by passing the following as $options argument to imap_fetchheader():
29 $options = array ('1', true,
33 // iterate over each element of $options array to test whether FT_UID is set
36 foreach($options as $option) {
70 Warning: imap_fetchheader(): invalid value for the options parameter in %s on line %d
75 Warning: imap_fetchheader(): invalid value for the options parameter in %s on line %d
/PHP-7.1/ext/standard/
H A Dpassword.c151 zval options; in PHP_FUNCTION() local
157 array_init(&options); in PHP_FUNCTION()
167 add_assoc_long(&options, "cost", cost); in PHP_FUNCTION()
179 add_assoc_zval(return_value, "options", &options); in PHP_FUNCTION()
188 HashTable *options = 0; in PHP_FUNCTION() local
191 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|H", &hash, &hash_len, &new_algo, &options) == FAILU… in PHP_FUNCTION()
206 … if (options && (option_buffer = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in PHP_FUNCTION()
268 HashTable *options = 0; in PHP_FUNCTION() local
272 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "sl|H", &password, &password_len, &algo, &options) == F… in PHP_FUNCTION()
281 if (options && (option_buffer = zend_hash_str_find(options, "cost", sizeof("cost")-1)) != NULL) { in PHP_FUNCTION()
[all …]
/PHP-7.1/Zend/tests/
H A Dbug55578.phpt5 $options = array();
13 function test($options, $queryPart) {
17 var_dump(test($options, new Foo()));
/PHP-7.1/ext/pcntl/tests/
H A D001.phpt18 $options=0;
19 pcntl_waitpid($pid, $status, $options);
33 $options=0;
35 pcntl_waitpid($pid, $status, $options);
55 $options=WUNTRACED;
57 pcntl_waitpid($pid, $status, $options);

Completed in 55 milliseconds

12345678910>>...20