Home
last modified time | relevance | path

Searched refs:options (Results 126 – 150 of 508) sorted by path

12345678910>>...21

/php-src/ext/filter/tests/
H A Dbug73054.phpt9 'options' => ['default' => 2],
12 'options' => ['default' => 2],
H A Dbug76366.phpt19 $args['foo']['options'] = [];
22 $options = &$args['foo']['options'];
24 #set options
25 $options['min_range'] = 1;
26 $options['max_range'] = 5;
H A Dbug81708.phpt13 ["options" => ['min_range' => -1, 'max_range' => 1]]
H A Dcallback_closure.phpt11 var_dump(filter_var($var, FILTER_CALLBACK, array('options'=> $callback)));
H A Dcallback_non_modified_var.phpt11 var_dump(filter_var($var, FILTER_CALLBACK, array('options'=>'callback')));
H A Dfilter_callback_require_scalar.phpt11 …return filter_var($var, FILTER_CALLBACK, ['options' => $callback, 'flags' => FILTER_REQUIRE_SCALAR…
H A Dfilter_null_on_failure.phpt17 'options' => [
/php-src/ext/ftp/tests/
H A Dftp_set_option_errors.phpt17 $options = [
24 foreach ($options as $option) try {
/php-src/ext/gd/
H A Dconfig.m42 dnl Configure options
65 dnl Checks for the configure options
H A Dgd.c3744 zval *options = NULL; in PHP_FUNCTION() local
3748 if (zend_parse_parameters(ZEND_NUM_ARGS(), "lz", &type, &options) == FAILURE) { in PHP_FUNCTION()
3756 if (Z_TYPE_P(options) != IS_ARRAY) { in PHP_FUNCTION()
3761 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(options), "x", sizeof("x") - 1)) != NULL) { in PHP_FUNCTION()
3768 if ((tmp = zend_hash_str_find(Z_ARRVAL_P(options), "y", sizeof("y") - 1)) != NULL) { in PHP_FUNCTION()
3788 angle = zval_get_double(options); in PHP_FUNCTION()
H A Dgd.stub.php733 …float $size, float $angle, string $font_filename, string $string, array $options = []): array|fals… argument
739 … int $x, int $y, int $color, string $font_filename, string $text, array $options = []): array|fals… argument
745 …float $size, float $angle, string $font_filename, string $string, array $options = []): array|fals… argument
751 … int $x, int $y, int $color, string $font_filename, string $text, array $options = []): array|fals… argument
776 * @param array|float $options
780 function imageaffinematrixget(int $type, $options): array|false {} argument
H A Dgd_arginfo.h484 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
498 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
557 ZEND_ARG_INFO(0, options)
/php-src/ext/gmp/
H A Dgmp.c918 int gmp_import_export_validate(zend_long size, zend_long options, int *order, int *endian) in gmp_import_export_validate() argument
926 switch (options & (GMP_LSW_FIRST | GMP_MSW_FIRST)) { in gmp_import_export_validate()
940 switch (options & (GMP_LITTLE_ENDIAN | GMP_BIG_ENDIAN | GMP_NATIVE_ENDIAN)) { in gmp_import_export_validate()
966 zend_long options = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN; in ZEND_FUNCTION() local
970 if (zend_parse_parameters(ZEND_NUM_ARGS(), "s|ll", &data, &data_len, &size, &options) == FAILURE) { in ZEND_FUNCTION()
974 if (gmp_import_export_validate(size, options, &order, &endian) == FAILURE) { in ZEND_FUNCTION()
994 zend_long options = GMP_MSW_FIRST | GMP_NATIVE_ENDIAN; in ZEND_FUNCTION() local
999 if (zend_parse_parameters(ZEND_NUM_ARGS(), "z|ll", &gmpnumber_arg, &size, &options) == FAILURE) { in ZEND_FUNCTION()
1003 if (gmp_import_export_validate(size, options, &order, &endian) == FAILURE) { in ZEND_FUNCTION()
/php-src/ext/gmp/tests/
H A Dgmp_export.phpt10 // format is [output, size, options, expected]
68 // Invalid options
85 gmp_export(): Argument #3 ($flags) cannot use multiple word order options
86 gmp_export(): Argument #3 ($flags) cannot use multiple endian options
H A Dgmp_import.phpt10 // format is [expected, size, options, input]
79 // Invalid options
98 gmp_import(): Argument #3 ($flags) cannot use multiple word order options
99 gmp_import(): Argument #3 ($flags) cannot use multiple endian options
/php-src/ext/hash/
H A Dhash.c615 zend_long options = 0; in PHP_FUNCTION() local
631 if (options & PHP_HASH_HMAC) { in PHP_FUNCTION()
651 hash->options = options; in PHP_FUNCTION()
654 if (options & PHP_HASH_HMAC) { in PHP_FUNCTION()
797 if (hash->options & PHP_HASH_HMAC) { in PHP_FUNCTION()
1409 newobj->options = oldobj->options; in php_hashcontext_clone()
1471 ZVAL_LONG(&tmp, hash->options); in PHP_METHOD()
1502 zend_long magic, options; in PHP_METHOD() local
1531 options = Z_LVAL_P(options_zv); in PHP_METHOD()
1532 if (options & PHP_HASH_HMAC) { in PHP_METHOD()
[all …]
H A Dhash.stub.php12 function hash(string $algo, string $data, bool $binary = false, array $options = []): string {} argument
15 function hash_file(string $algo, string $filename, bool $binary = false, array $options = []): stri… argument
H A Dhash_arginfo.h8 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
15 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
36 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
77 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
H A Dphp_hash.h61 zend_long options; member
/php-src/ext/hash/tests/
H A Dmurmurhash3_seed.phpt6 $ctx = hash_init("murmur3f", options: ["seed" => 42]);
16 $h0 = hash("murmur3f", "Two hashes meet in a bar.", options: ["seed" => 42]);
19 $ctx = hash_init("murmur3c", options: ["seed" => 106]);
29 $h0 = hash("murmur3c", "Two hashes meet in a bar.", options: ["seed" => 106]);
32 $ctx = hash_init("murmur3a", options: ["seed" => 2345]);
42 $h0 = hash("murmur3a", "Two hashes meet in a bar.", options: ["seed" => 2345]);
H A Dxxhash_secret.phpt19 $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" => $…
H A Dxxhash_seed.phpt8 $ctx = hash_init($a, options: ["seed" => 42]);
16 …$h0 = hash($a, "Lorem ipsum dolor sit amet, consectetur adipiscing elit.", options: ["seed" => 42]…
/php-src/ext/iconv/
H A Diconv.stub.php36 function iconv_mime_encode(string $field_name, string $field_value, array $options = []): string|fa… argument
H A Diconv_arginfo.h32 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
/php-src/ext/iconv/tests/
H A Dbug48289.phpt8 $options = array(
15 echo iconv_mime_encode('Subject', $text, $options);

Completed in 73 milliseconds

12345678910>>...21