/PHP-8.2/ext/dom/tests/ |
H A D | DOMDocument_saveXML_XML_SAVE_NO_DECL.phpt | 14 echo $doc->saveXML(options: 0); 15 echo $doc->saveXML(options: LIBXML_NOXMLDECL); 18 echo $doc->saveXML(options: LIBXML_NOXMLDECL); 22 var_dump($doc->saveXML(options: LIBXML_NOXMLDECL));
|
/PHP-8.2/ext/filter/tests/ |
H A D | 055.phpt | 9 array("01-23-45-67-89-ab", array("options" => array("separator" => "-"))), 10 array("01-23-45-67-89-ab", array("options" => array("separator" => "."))), 11 array("01-23-45-67-89-ab", array("options" => array("separator" => ":"))), 20 array("01-23-45-67-89-ab", array("options" => array("separator" => "--"))), 21 array("01-23-45-67-89-ab", array("options" => array("separator" => ""))),
|
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…
|
H A D | 057.phpt | 22 Deprecated: filter_input_array(): Passing null to parameter #2 ($options) of type array|int is depr… 27 Deprecated: filter_var_array(): Passing null to parameter #2 ($options) of type array|int is deprec… 49 filter_input_array(): Argument #2 ($options) must be of type array|int, string given 50 filter_var_array(): Argument #2 ($options) must be of type array|int, string given 51 filter_input_array(): Argument #2 ($options) must be of type array|int, stdClass given 52 filter_var_array(): Argument #2 ($options) must be of type array|int, stdClass given
|
H A D | 037.phpt | 12 echo filter_input(INPUT_GET, 'a', FILTER_CALLBACK, array("options"=>'myfunc')); 18 echo filter_var($data, FILTER_CALLBACK, array("options"=>'myfunc')); 24 'options' => 'myfunc'
|
/PHP-8.2/ext/pcntl/tests/ |
H A D | 001.phpt | 22 $options=0; 23 pcntl_waitpid($pid, $status, $options); 37 $options=0; 39 pcntl_waitpid($pid, $status, $options); 59 $options=WUNTRACED; 61 pcntl_waitpid($pid, $status, $options);
|
/PHP-8.2/ext/phar/ |
H A D | stream.h | 22 …* phar_parse_url(php_stream_wrapper *wrapper, const char *filename, const char *mode, int options); 25 …url(php_stream_wrapper *wrapper, const char *path, const char *mode, int options, zend_string **op… 26 …p_stream_wrapper *wrapper, const char *url_from, const char *url_to, int options, php_stream_conte… 27 static int phar_wrapper_unlink(php_stream_wrapper *wrapper, const char *url, int options, php_strea…
|
H A D | stream.c | 70 if (!(options & PHP_STREAM_URL_STAT_QUIET)) { in phar_parse_url() 76 if (!(options & PHP_STREAM_URL_STAT_QUIET)) { in phar_parse_url() 113 if (!(options & PHP_STREAM_URL_STAT_QUIET)) { in phar_parse_url() 122 if (!(options & PHP_STREAM_URL_STAT_QUIET)) { in phar_parse_url() 123 php_stream_wrapper_log_error(wrapper, options, "%s", error); in phar_parse_url() 133 if (!(options & PHP_STREAM_URL_STAT_QUIET)) { in phar_parse_url() 145 if (!(options & PHP_STREAM_URL_STAT_QUIET)) { in phar_parse_url() 198 php_stream_wrapper_log_error(wrapper, options, "%s", error); in phar_wrapper_open_url() 214 …if (context && Z_TYPE(context->options) != IS_UNDEF && (pzoption = zend_hash_str_find(HASH_OF(&con… in phar_wrapper_open_url() 238 if (!*internal_file && (options & STREAM_OPEN_FOR_INCLUDE)) { in phar_wrapper_open_url() [all …]
|
/PHP-8.2/ext/json/ |
H A D | php_json.h | 102 PHP_JSON_API zend_string *php_json_encode_string(const char *s, size_t len, int options); 104 PHP_JSON_API zend_result php_json_encode_ex(smart_str *buf, zval *val, int options, zend_long depth… 105 PHP_JSON_API zend_result php_json_encode(smart_str *buf, zval *val, int options); 106 …decode_ex(zval *return_value, const char *str, size_t str_len, zend_long options, zend_long depth); 107 PHP_JSON_API bool php_json_validate_ex(const char *str, size_t str_len, zend_long options, zend_lon…
|
/PHP-8.2/ext/standard/tests/password/ |
H A D | password_get_info.phpt | 23 ["options"]=> 34 ["options"]=> 45 ["options"]=> 54 ["options"]=>
|
/PHP-8.2/ext/standard/ |
H A D | ftp_fopen_wrapper.c | 904 if (options & REPORT_ERRORS) { in php_stream_ftp_unlink() 911 if (options & REPORT_ERRORS) { in php_stream_ftp_unlink() 922 if (options & REPORT_ERRORS) { in php_stream_ftp_unlink() 974 if (options & REPORT_ERRORS) { in php_stream_ftp_rename() 985 if (options & REPORT_ERRORS) { in php_stream_ftp_rename() 996 if (options & REPORT_ERRORS) { in php_stream_ftp_rename() 1031 if (options & REPORT_ERRORS) { in php_stream_ftp_mkdir() 1038 if (options & REPORT_ERRORS) { in php_stream_ftp_mkdir() 1123 if (options & REPORT_ERRORS) { in php_stream_ftp_rmdir() 1130 if (options & REPORT_ERRORS) { in php_stream_ftp_rmdir() [all …]
|
/PHP-8.2/ext/soap/tests/ |
H A D | bug77088.phpt | 2 Bug #77088 (Segfault when using SoapClient with null options) 10 $options = NULL; 11 $sClient = new SoapClient("test.wsdl", $options); 22 string(%d) "SoapClient::__construct(): Argument #2 ($options) must be of type array, null given"
|
H A D | bug75306.phpt | 7 $options = array("cache_wsdl" => WSDL_CACHE_NONE); 10 $client = new SoapClient(__DIR__ . "/test.wsdl", $options); 14 $client = new SoapClient(__DIR__ . "/test.wsdl", $options);
|
/PHP-8.2/main/streams/ |
H A D | php_stream_plain_wrapper.h | 26 …m_fopen(const char *filename, const char *mode, zend_string **opened_path, int options STREAMS_DC); 29 … *filename, const char *mode, const char *path, zend_string **opened_path, int options STREAMS_DC); 50 PHPAPI FILE * _php_stream_open_wrapper_as_file(char * path, char * mode, int options, zend_string *… 51 …eam_open_wrapper_as_file(path, mode, options, opened_path) _php_stream_open_wrapper_as_file((path)… argument
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 224 if (conn->options->charset_name) { in MYSQLND_METHOD() 232 if (conn->options->num_commands) { in MYSQLND_METHOD() 241 if (conn->options->cfg_file) { in MYSQLND_METHOD() 243 conn->options->cfg_file = NULL; in MYSQLND_METHOD() 245 if (conn->options->cfg_section) { in MYSQLND_METHOD() 249 if (conn->options->connect_attr) { in MYSQLND_METHOD() 476 vio->data->options.ssl_cert || in MYSQLND_METHOD() 477 vio->data->options.ssl_ca || in MYSQLND_METHOD() 485 if (conn->options->connect_attr && zend_hash_num_elements(conn->options->connect_attr)) { in MYSQLND_METHOD() 1441 conn->options->init_commands[conn->options->num_commands] = new_command; [all …]
|
/PHP-8.2/ext/hash/tests/ |
H A D | xxhash_secret.phpt | 19 $ctx = hash_init($a, options: ["seed" => 24, "secret" => $secret]); 25 $ctx = hash_init($a, options: ["secret" => new StringableThrowingClass()]); 31 $ctx = hash_init($a, options: ["secret" => str_repeat('a', 17)]); 36 $ctx = hash_init($a, options: ["secret" => $secret]); 43 …$h1 = hash($a, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", options: ["secret" => $…
|
/PHP-8.2/Zend/tests/ |
H A D | bug74657.phpt | 12 public $options = [self::FOO => "bar"]; 16 var_dump((new C)->options); 19 var_dump((new C)->options);
|
/PHP-8.2/ext/dom/ |
H A D | xml_document.c | 26 static bool check_options_validity(uint32_t arg_num, zend_long options) in check_options_validity() argument 43 if ((options & ~VALID_OPTIONS) != 0) { in check_options_validity() 177 zend_long options = 0; in load_from_helper() local 183 &options, in load_from_helper() 206 if (!check_options_validity(2, options)) { in load_from_helper() 217 options |= XML_PARSE_IGNORE_ENC; in load_from_helper() 220 xmlDocPtr lxml_doc = dom_document_parser(NULL, mode, source, source_len, options, encoding); in load_from_helper()
|
/PHP-8.2/ext/openssl/tests/ |
H A D | bug52093.phpt | 18 $options = ['config' => __DIR__ . DIRECTORY_SEPARATOR . 'openssl.cnf']; 20 $csr = openssl_csr_new($dn, $privkey, $options); 21 $cert = openssl_csr_sign($csr, null, $privkey, 365, $options, PHP_INT_MAX);
|
/PHP-8.2/ext/sockets/tests/ |
H A D | socket_setopt_basic.phpt | 17 $options = array("sec" => 1, "usec" => 0); 18 $retval_1 = socket_setopt( $socket, SOL_SOCKET, SO_SNDTIMEO, $options); 22 var_dump($retval_2 === $options);
|
H A D | socket_set_option_seolinger.phpt | 24 $options = array("l_onoff" => 1, "l_linger" => 1); 25 $retval_2 = socket_set_option( $socket, SOL_SOCKET, SO_LINGER, $options); 37 var_dump($retval_3["l_linger"] === $options["l_linger"]); 39 var_dump((bool)$retval_3["l_onoff"] === (bool)$options["l_onoff"]);
|
/PHP-8.2/ext/zip/examples/ |
H A D | addglob.php | 7 $options = array( variable 11 $found = $z->addGlob("/home/pierre/cvs/gd/libgd/tests/*.png", 0, $options);
|
H A D | addpattern.php | 6 $options = array('remove_path' => '/home/pierre/cvs/gd/libgd/tests', variable 10 $found = $z->addPattern("/(\.png)$/i", "/home/pierre/cvs/gd/libgd/tests", $options);
|
/PHP-8.2/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_match.c | 86 PCRE2_SIZE start_offset, uint32_t options, pcre2_match_data *match_data, in pcre2_jit_match() argument 95 (void)options; in pcre2_jit_match() 115 if ((options & PCRE2_PARTIAL_HARD) != 0) in pcre2_jit_match() 117 else if ((options & PCRE2_PARTIAL_SOFT) != 0) in pcre2_jit_match() 130 arguments.options = options; in pcre2_jit_match()
|
/PHP-8.2/ext/fileinfo/ |
H A D | php_libmagic.c | 20 zend_string* convert_libmagic_pattern(const char *val, size_t len, uint32_t options) in convert_libmagic_pattern() argument 62 if (options & PCRE2_CASELESS) in convert_libmagic_pattern() 65 if (options & PCRE2_MULTILINE) in convert_libmagic_pattern()
|