Home
last modified time | relevance | path

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

12345678

/PHP-8.2/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-8.2/ext/oci8/
H A Doci8_failover.c46 zval retval, params[3]; in callback_fn() local
58 ZVAL_RES(&params[0], connection->id); in callback_fn()
59 ZVAL_LONG(&params[1], fo_event); in callback_fn()
60 ZVAL_LONG(&params[2], fo_type); in callback_fn()
63 if (call_user_function(NULL, NULL, &connection->taf_callback, &retval, 3, params) == FAILURE) { in callback_fn()
73 ZVAL_NULL(&params[0]); in callback_fn()
77 zval_ptr_dtor(&params[0]); in callback_fn()
78 zval_ptr_dtor(&params[1]); in callback_fn()
79 zval_ptr_dtor(&params[2]); in callback_fn()
/PHP-8.2/ext/opcache/jit/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
910 local q = params[n]
1072 local function op_data(params)
1075 for _,p in ipairs(params) do
1114 local align = tonumber(params[1])
1133 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-8.2/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-8.2/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-8.2/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-8.2/scripts/dev/
H A Dcheck_parameters.php210 $params = get_params($vars, $m[2][0]);
242 check_param($params, ++$j, 'bool*', $optional);
252 check_param($params, ++$j, 'zval**', $optional);
253 check_param($params, ++$j, 'int*', $optional);
260 check_param($params, ++$j, 'char**', $optional, $allow_uninit=true);
261 check_param($params, ++$j, 'size_t*', $optional, $allow_uninit=true);
262 if ($optional && !$params[$j-1][2] && !$params[$j][2]
263 … && $params[$j-1][0] !== '**dummy**' && $params[$j][0] !== '**dummy**') {
264 … error("one of optional vars {$params[$j-1][0]} or {$params[$j][0]} must be initialized", 1);
270 check_param($params, ++$j, 'zend_class_entry**', false);
[all …]
/PHP-8.2/Zend/tests/
H A Dbug54013.phpt10 $params = func_get_args();
18 $params = $reflectionClass->getMethod('b')->getParameters();
20 var_dump($params[0], $params[1]);
H A Dfunc_sig_trailing_comma.phpt10 $params,
20 $params,
30 $params,
40 $params,
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-8.2/ext/intl/tests/
H A Dbug80763.phpt9 $params = ['today' => $today];
10 array_walk($params, fn() => 1);
11 var_dump($formatter->format($params));
/PHP-8.2/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_v1.phpt9 $params = $method->getParameters ();
11 $method = $params[0]->getDeclaringFunction ();
12 unset ($params);
H A Dclosures_003.phpt9 $params = $method->getParameters ();
11 $method = $params[0]->getDeclaringFunction ();
12 unset ($params);
/PHP-8.2/ext/standard/tests/file/
H A Duserfilters.phpt17 echo "params: {$this->params}\n";
37 params: testuserfilter
/PHP-8.2/ext/sockets/tests/
H A Dsocket_set_option_rcvtimeo.phpt4 -wrong params
5 -set/get params comparison
16 //wrong params

Completed in 50 milliseconds

12345678