Home
last modified time | relevance | path

Searched refs:params (Results 1 – 25 of 199) sorted by relevance

12345678

/php-src/ext/opcache/tests/
H A Dbug74442.phpt10 public function addField($typeclass, ?array $params = null) {
11 $field = new $typeclass($params);
17 public function __construct(?array $params = null) {
18 if (! is_array($params)) {
19 $params = (array) $params;
21 call_user_func_array(array($this, 'acceptParams'), $params);
/php-src/ext/opcache/jit/ir/dynasm/
H A Ddynasm.lua189 local name, def = params[1], params[2] or "1"
369 local name = params[1]
511 local name = params[1]
541 local name = params[1]
720 werror(params[1])
725 wfatal(params[1])
776 local params = {}
778 params[#params+1] = gsub(p, "%s+$", "")
782 params.op = op
783 return op, params
[all …]
H A Ddasm_mips.lua1021 if not params then return "cvar" end
1027 map_op[".globals_1"] = function(params)
1035 if not params then return "cvar" end
1042 if not params then return "cvar" end
1050 map_op[".label_1"] = function(params)
1061 map_op[".long_*"] = function(params)
1063 for _,p in ipairs(params) do
1073 map_op[".align_1"] = function(params)
1076 local align = tonumber(params[1])
1095 if not params then
[all …]
H A Ddasm_arm64.lua481 local pn, p2 = params[n], params[n+1]
551 local pn, p2 = params[n], params[n+1]
629 return function(params, nparams)
631 f(params, nparams)
780 if params and params[3]:byte() == 35 then
917 local q = params[n]
1079 local function op_data(params)
1082 for _,p in ipairs(params) do
1121 local align = tonumber(params[1])
1140 if not params then
[all …]
H A Ddasm_ppc.lua236 return function(params, nparams)
238 f(params, nparams)
1759 if not params then return "cvar" end
1773 if not params then return "cvar" end
1788 map_op[".label_1"] = function(params)
1799 map_op[".long_*"] = function(params)
1801 for _,p in ipairs(params) do
1811 map_op[".align_1"] = function(params)
1814 local align = tonumber(params[1])
1833 if not params then
[all …]
H A Ddasm_arm.lua726 local pn = params[n]
728 local p2 = params[n+1]
751 local p3 = params[n+2]
836 local q = params[n]
982 map_op[".label_1"] = function(params)
993 map_op[".long_*"] = function(params)
995 for _,p in ipairs(params) do
1005 map_op[".align_1"] = function(params)
1008 local align = tonumber(params[1])
1027 if not params then
[all …]
/php-src/ext/curl/tests/
H A Dbug27023.phpt18 $params = array('file' => $file);
19 curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
23 $params = array('file' => $file);
24 curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
28 $params = array('file' => $file);
29 curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
33 $params = array('file' => $file);
34 curl_setopt($ch, CURLOPT_POSTFIELDS, $params);
H A Dcurl_copy_handle_variation5.phpt18 $params = array('file' => $file);
19 var_dump(curl_setopt($ch1, CURLOPT_POSTFIELDS, $params));
26 $params = array('file' => $file);
27 var_dump(curl_setopt($ch2, CURLOPT_POSTFIELDS, $params));
/php-src/ext/odbc/tests/
H A Dbug80152.phpt2 Bug #80152 (odbc_execute() moves internal pointer of $params)
14 $params = [1, "John", "Lim"];
15 var_dump(key($params));
16 odbc_execute($stmt, $params);
17 var_dump(key($params));
/php-src/Zend/tests/variadic/
H A Dvariadic_changed_byref_error.phpt7 public function query($query, &...$params);
11 public function query($query, ...$params) { }
16 …rror: Declaration of MySQL::query($query, ...$params) must be compatible with DB::query($query, &.…
H A Dvariadic_changed_typehint_error.phpt7 public function query($query, string ...$params);
11 public function query($query, int ...$params) { }
16 …eclaration of MySQL::query($query, int ...$params) must be compatible with DB::query($query, strin…
H A Dnon_variadic_implements_variadic_error.phpt7 public function query($query, ...$params);
11 public function query($query, $params) { }
16 …l error: Declaration of MySQL::query($query, $params) must be compatible with DB::query($query, ..…
H A Dadding_additional_optional_parameter_error.phpt7 public function query($query, string ...$params);
11 public function query($query, ?int $extraParam = null, string ...$params) { }
16 …query, ?int $extraParam = null, string ...$params) must be compatible with DB::query($query, strin…
/php-src/scripts/dev/
H A Dcheck_parameters.php203 $params = get_params($vars, $m[2][0]);
235 check_param($params, ++$j, 'bool*', $optional);
245 check_param($params, ++$j, 'zval**', $optional);
246 check_param($params, ++$j, 'int*', $optional);
253 check_param($params, ++$j, 'char**', $optional, $allow_uninit=true);
254 check_param($params, ++$j, 'size_t*', $optional, $allow_uninit=true);
255 if ($optional && !$params[$j-1][2] && !$params[$j][2]
256 … && $params[$j-1][0] !== '**dummy**' && $params[$j][0] !== '**dummy**') {
257 … error("one of optional vars {$params[$j-1][0]} or {$params[$j][0]} must be initialized", 1);
263 check_param($params, ++$j, 'zend_class_entry**', false);
[all …]
/php-src/Zend/tests/
H A Dfunc_sig_trailing_comma.phpt10 $params,
20 $params,
30 $params,
40 $params,
H A Dbug54013.phpt10 $params = func_get_args();
18 $params = $reflectionClass->getMethod('b')->getParameters();
20 var_dump($params[0], $params[1]);
/php-src/ext/intl/tests/
H A Dbug80763.phpt9 $params = ['today' => $today];
10 array_walk($params, fn() => 1);
11 var_dump($formatter->format($params));
/php-src/ext/reflection/tests/
H A DReflectionClass_getConstant_error.phpt2 ReflectionClass::getConstant() - bad params
10 echo "Check invalid params:\n";
16 Check invalid params:
H A Dclosures_003.phpt9 $params = $method->getParameters ();
11 $method = $params[0]->getDeclaringFunction ();
12 unset ($params);
H A Dclosures_003_v1.phpt9 $params = $method->getParameters ();
11 $method = $params[0]->getDeclaringFunction ();
12 unset ($params);
/php-src/Zend/tests/closures/
H A Dclosure_047.phpt6 function replace_variables($text, $params) {
8 preg_replace_callback( '/(\?)/', function($matches) use (&$params, &$text) {
10 $text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
H A Dclosure_048.phpt6 function replace_variables($text, $params) {
8 $c = function($matches) use (&$params, &$text) {
9 $text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
/php-src/ext/openssl/tests/
H A Decc_custom_params.phpt2 openssl_*() with OPENSSL_KEYTYPE_EC for ec custom params
56 echo "Testing openssl_pkey_new with ec missing params \n";
65 // EC - missing all params
101 Testing openssl_pkey_new with ec missing params
106 Warning: openssl_pkey_new(): Missing params: curve_name in %s on line %d
109 Warning: openssl_pkey_new(): Missing params: curve_name or p, a, b, order in %s on line %d
112 Warning: openssl_pkey_new(): Missing params: generator or g_x and g_y in %s on line %d
/php-src/ext/standard/tests/file/
H A Duserfilters.phpt17 echo "params: {$this->params}\n";
37 params: testuserfilter
/php-src/ext/dom/
H A Dxpath_callbacks.c320 zval *params = safe_emalloc(param_count, sizeof(zval), 0); in php_dom_xpath_callback_fetch_args() local
323 for (zval *param = params + param_count - 1; param >= params; param--) { in php_dom_xpath_callback_fetch_args()
378 return params; in php_dom_xpath_callback_fetch_args()
381 static void php_dom_xpath_callback_cleanup_args(zval *params, uint32_t param_count) in php_dom_xpath_callback_cleanup_args() argument
383 if (params) { in php_dom_xpath_callback_cleanup_args()
385 zval_ptr_dtor(&params[i]); in php_dom_xpath_callback_cleanup_args()
387 efree(params); in php_dom_xpath_callback_cleanup_args()
406 fci.params = params; in php_dom_xpath_callback_dispatch()
420 zend_call_known_fcc(Z_PTR_P(fcc_wrapper), &callback_retval, param_count, params, NULL); in php_dom_xpath_callback_dispatch()
482 php_dom_xpath_callback_cleanup_args(params, param_count); in php_dom_xpath_callbacks_call_php_ns()
[all …]

Completed in 45 milliseconds

12345678