/php-src/ext/filter/tests/ |
H A D | bug73054.phpt | 9 'options' => ['default' => 2], 12 'options' => ['default' => 2],
|
H A D | bug76366.phpt | 19 $args['foo']['options'] = []; 22 $options = &$args['foo']['options']; 24 #set options 25 $options['min_range'] = 1; 26 $options['max_range'] = 5;
|
H A D | bug81708.phpt | 13 ["options" => ['min_range' => -1, 'max_range' => 1]]
|
H A D | callback_closure.phpt | 11 var_dump(filter_var($var, FILTER_CALLBACK, array('options'=> $callback)));
|
H A D | callback_non_modified_var.phpt | 11 var_dump(filter_var($var, FILTER_CALLBACK, array('options'=>'callback')));
|
H A D | filter_callback_require_scalar.phpt | 11 …return filter_var($var, FILTER_CALLBACK, ['options' => $callback, 'flags' => FILTER_REQUIRE_SCALAR…
|
H A D | filter_null_on_failure.phpt | 17 'options' => [
|
/php-src/ext/ftp/tests/ |
H A D | ftp_set_option_errors.phpt | 17 $options = [ 24 foreach ($options as $option) try {
|
/php-src/ext/gd/ |
H A D | config.m4 | 2 dnl Configure options 65 dnl Checks for the configure options
|
H A D | gd.c | 3744 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 D | gd.stub.php | 733 …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 D | gd_arginfo.h | 484 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 D | gmp.c | 918 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 D | gmp_export.phpt | 10 // 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 D | gmp_import.phpt | 10 // 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 D | hash.c | 615 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 D | hash.stub.php | 12 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 D | hash_arginfo.h | 8 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 D | php_hash.h | 61 zend_long options; member
|
/php-src/ext/hash/tests/ |
H A D | murmurhash3_seed.phpt | 6 $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 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" => $…
|
H A D | xxhash_seed.phpt | 8 $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 D | iconv.stub.php | 36 function iconv_mime_encode(string $field_name, string $field_value, array $options = []): string|fa… argument
|
H A D | iconv_arginfo.h | 32 ZEND_ARG_TYPE_INFO_WITH_DEFAULT_VALUE(0, options, IS_ARRAY, 0, "[]")
|
/php-src/ext/iconv/tests/ |
H A D | bug48289.phpt | 8 $options = array( 15 echo iconv_mime_encode('Subject', $text, $options);
|