/PHP-5.3/scripts/dev/generate-phpt/src/ |
H A D | generate-phpt.php | 21 $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-5.3/ext/filter/tests/ |
H A D | 029.phpt | 13 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 D | 017.phpt | 8 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 D | 013.phpt | 29 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-5.3/ext/mysqlnd/ |
H A D | mysqlnd_net.c | 189 if (net->options.timeout_read) { in MYSQLND_METHOD() 635 if (net->options.ssl_ca) { in MYSQLND_METHOD() 753 if (net->options.ssl_key) { in MYSQLND_METHOD() 765 if (net->options.ssl_cert) { in MYSQLND_METHOD() 770 if (!net->options.ssl_key) { in MYSQLND_METHOD() 774 if (net->options.ssl_ca) { in MYSQLND_METHOD() 853 if (net->options.ssl_key) { in MYSQLND_METHOD() 855 net->options.ssl_key = NULL; in MYSQLND_METHOD() 857 if (net->options.ssl_cert) { in MYSQLND_METHOD() 861 if (net->options.ssl_ca) { in MYSQLND_METHOD() [all …]
|
/PHP-5.3/ext/fileinfo/ |
H A D | fileinfo.c | 47 long options; member 121 ZEND_ARG_INFO(0, options) 131 ZEND_ARG_INFO(0, options) 135 ZEND_ARG_INFO(0, options) 141 ZEND_ARG_INFO(0, options) 340 finfo->options = options; 388 long options; local 406 finfo->options = options; 418 long options = 0; local 472 if (options) { [all …]
|
/PHP-5.3/scripts/dev/generate-phpt/src/setup/ |
H A D | gtCommandLineOptions.php | 26 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-5.3/ext/curl/tests/ |
H A D | curl_setopt_array_basic.phpt | 2 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. 31 echo '== Starting test curl_setopt_array($ch, $options); ==' . "\n"; 36 // options for the curl handler 37 $options = array ( 44 curl_setopt_array($ch, $options); 53 == Starting test curl_setopt_array($ch, $options); ==
|
H A D | curl_basic_018.phpt | 29 $options = array( 34 curl_setopt_array($chs[0], $options); //set the options 35 curl_setopt_array($chs[1], $options); //set the options 36 curl_setopt_array($chs[2], $options); //set the options
|
/PHP-5.3/ext/pcre/pcrelib/ |
H A D | pcreposix.c | 262 int options = 0; in regcomp() local 265 if ((cflags & REG_ICASE) != 0) options |= PCRE_CASELESS; in regcomp() 267 if ((cflags & REG_DOTALL) != 0) options |= PCRE_DOTALL; in regcomp() 269 if ((cflags & REG_UTF8) != 0) options |= PCRE_UTF8; in regcomp() 270 if ((cflags & REG_UCP) != 0) options |= PCRE_UCP; in regcomp() 271 if ((cflags & REG_UNGREEDY) != 0) options |= PCRE_UNGREEDY; in regcomp() 315 int options = 0; in regexec() local 322 if ((eflags & REG_NOTBOL) != 0) options |= PCRE_NOTBOL; in regexec() 323 if ((eflags & REG_NOTEOL) != 0) options |= PCRE_NOTEOL; in regexec() 324 if ((eflags & REG_NOTEMPTY) != 0) options |= PCRE_NOTEMPTY; in regexec() [all …]
|
/PHP-5.3/ext/spl/ |
H A D | doxygen.cfg | 4 # 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-5.3/ext/xmlrpc/libxmlrpc/ |
H A D | xml_element.c | 389 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-5.3/ext/phar/ |
H A D | dirstream.c | 334 if ((resource = phar_parse_url(wrapper, path, mode, options TSRMLS_CC)) == NULL) { in phar_wrapper_open_dir() 335 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar url \"%s\" is unknown", path); in phar_wrapper_open_dir() 353 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: not a phar url \"%s\"", path… in phar_wrapper_open_dir() 363 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "%s", error); in phar_wrapper_open_dir() 395 return php_stream_opendir(entry->tmp, options, context); in phar_wrapper_open_dir() 462 if ((resource = phar_parse_url(wrapper, url_from, "w", options TSRMLS_CC)) == NULL) { in phar_wrapper_mkdir() 469 …php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", url_fro… in phar_wrapper_mkdir() 599 if ((resource = phar_parse_url(wrapper, url, "w", options TSRMLS_CC)) == NULL) { in phar_wrapper_rmdir() 606 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: invalid url \"%s\"", url); in phar_wrapper_rmdir() 649 php_stream_wrapper_log_error(wrapper, options TSRMLS_CC, "phar error: Directory not empty"); in phar_wrapper_rmdir() [all …]
|
H A D | dirstream.h | 23 int phar_wrapper_mkdir(php_stream_wrapper *wrapper, char *url_from, int mode, int options, php_stre… 24 int phar_wrapper_rmdir(php_stream_wrapper *wrapper, char *url, int options, php_stream_context *con… 27 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS… 36 php_stream* phar_wrapper_open_dir(php_stream_wrapper *wrapper, char *path, char *mode, int options,…
|
H A D | stream.h | 24 php_url* phar_parse_url(php_stream_wrapper *wrapper, char *filename, char *mode, int options TSRMLS… 27 …rapper_open_url(php_stream_wrapper *wrapper, char *path, char *mode, int options, char **opened_pa… 28 …er_rename(php_stream_wrapper *wrapper, char *url_from, char *url_to, int options, php_stream_conte… 29 static int phar_wrapper_unlink(php_stream_wrapper *wrapper, char *url, int options, php_stream_cont…
|
/PHP-5.3/main/ |
H A D | php_streams.h | 66 …hp_stream_fopen_rel(filename, mode, opened, options) _php_stream_fopen((filename), (mode), (opened… argument 68 …_rel(filename, mode, path, opened, options) _php_stream_fopen_with_path((filename), (mode), (path)… argument 79 …e php_stream_open_wrapper_rel(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mo… argument 80 …ream_open_wrapper_ex_rel(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path),… argument 135 int options, char **opened_path, php_stream_context *context STREAMS_DC TSRMLS_DC); 334 #define php_stream_mkdir(path, mode, options, context) _php_stream_mkdir(path, mode, options, conte… argument 337 #define php_stream_rmdir(path, options, context) _php_stream_rmdir(path, options, context TSRMLS_CC) argument 340 #define php_stream_opendir(path, options, context) _php_stream_opendir((path), (options), (context)… argument 546 …efine php_stream_open_wrapper(path, mode, options, opened) _php_stream_open_wrapper_ex((path), (mo… argument 547 …p_stream_open_wrapper_ex(path, mode, options, opened, context) _php_stream_open_wrapper_ex((path),… argument [all …]
|
/PHP-5.3/ext/json/ |
H A D | json.c | 45 ZEND_ARG_INFO(0, options) 225 php_json_encode(buf, *data, options TSRMLS_CC); in json_encode_array() 245 php_json_encode(buf, *data, options TSRMLS_CC); in json_encode_array() 290 if (options & PHP_JSON_NUMERIC_CHECK) { in json_escape_string() 342 if (options & PHP_JSON_HEX_QUOT) { in json_escape_string() 378 if (options & PHP_JSON_HEX_TAG) { in json_escape_string() 386 if (options & PHP_JSON_HEX_TAG) { in json_escape_string() 394 if (options & PHP_JSON_HEX_AMP) { in json_escape_string() 402 if (options & PHP_JSON_HEX_APOS) { in json_escape_string() 476 json_encode_array(buf, &val, options TSRMLS_CC); in php_json_encode() [all …]
|
/PHP-5.3/ext/xmlrpc/tests/ |
H A D | bug45555.phpt | 8 $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-5.3/ext/simplexml/tests/ |
H A D | bug42259.phpt | 17 <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-5.3/ext/imap/tests/ |
H A D | imap_fetchheader_variation3.phpt | 9 /* 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
|
H A D | imap_fetchbody_variation4.phpt | 9 …totype : string imap_fetchbody(resource $stream_id, int $msg_no, string $section [, int $options]) 15 * Test if FT_UID is set by passing the following as $options argument to imap_fetchbody(): 30 $options = array ('1', true, 34 // iterate over each element of $options array to test whether FT_UID is set 37 foreach($options as $option) { 72 Warning: imap_fetchbody(): invalid value for the options parameter in %s on line %d 77 Warning: imap_fetchbody(): invalid value for the options parameter in %s on line %d
|
H A D | imap_fetch_overview_variation3.phpt | 9 /* Prototype : array imap_fetch_overview(resource $stream_id, int $msg_no [, int $options]) 15 * Test passing a range of values into the $options argument to imap_fetch_overview(): 29 $options = array ('1', 37 // iterate over each element of $options array 40 foreach($options as $option) { 75 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d 79 Warning: imap_fetch_overview(): invalid value for the options parameter in %s on line %d
|
/PHP-5.3/ext/pcntl/tests/ |
H A D | 001.phpt | 18 $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);
|
/PHP-5.3/ext/mbstring/oniguruma/ |
H A D | regposix.c | 138 OnigOptionType options; in regcomp() local 143 options = syntax->options; in regcomp() 145 ONIG_OPTION_ON(options, ONIG_OPTION_IGNORECASE); in regcomp() 147 ONIG_OPTION_ON( options, ONIG_OPTION_NEGATE_SINGLELINE); in regcomp() 148 ONIG_OPTION_OFF(options, ONIG_OPTION_SINGLELINE); in regcomp() 155 options, OnigEncDefaultCharEncoding, syntax, in regcomp() 172 OnigOptionType options; in regexec() local 174 options = ONIG_OPTION_POSIX_REGION; in regexec() 175 if ((posix_options & REG_NOTBOL) != 0) options |= ONIG_OPTION_NOTBOL; in regexec() 176 if ((posix_options & REG_NOTEOL) != 0) options |= ONIG_OPTION_NOTEOL; in regexec() [all …]
|
/PHP-5.3/main/streams/ |
H A D | php_stream_plain_wrapper.h | 30 …am_fopen(const char *filename, const char *mode, char **opened_path, int options STREAMS_DC TSRMLS… 33 …ith_path(char *filename, char *mode, char *path, char **opened_path, int options STREAMS_DC TSRMLS… 54 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, char **opened… 55 …eam_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path)… argument
|