/PHP-8.1/ext/opcache/tests/ |
H A D | bug74442.phpt | 10 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.1/ext/oci8/ |
H A D | oci8_failover.c | 46 zval retval, params[3]; in callback_fn() local 58 ZVAL_RES(¶ms[0], connection->id); in callback_fn() 59 ZVAL_LONG(¶ms[1], fo_event); in callback_fn() 60 ZVAL_LONG(¶ms[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(¶ms[0]); in callback_fn() 77 zval_ptr_dtor(¶ms[0]); in callback_fn() 78 zval_ptr_dtor(¶ms[1]); in callback_fn() 79 zval_ptr_dtor(¶ms[2]); in callback_fn()
|
/PHP-8.1/ext/opcache/jit/dynasm/ |
H A D | dynasm.lua | 189 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 D | dasm_mips.lua | 1021 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 D | dasm_arm64.lua | 481 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 D | dasm_ppc.lua | 236 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 D | dasm_arm.lua | 726 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.1/ext/curl/tests/ |
H A D | bug27023.phpt | 18 $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 D | curl_copy_handle_variation5.phpt | 18 $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.1/ext/odbc/tests/ |
H A D | bug80152.phpt | 2 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.1/Zend/tests/variadic/ |
H A D | variadic_changed_byref_error.phpt | 7 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 D | variadic_changed_typehint_error.phpt | 7 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 D | non_variadic_implements_variadic_error.phpt | 7 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 D | adding_additional_optional_parameter_error.phpt | 7 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.1/scripts/dev/ |
H A D | check_parameters.php | 209 $params = get_params($vars, $m[2][0]); 241 check_param($params, ++$j, 'bool*', $optional); 251 check_param($params, ++$j, 'zval**', $optional); 252 check_param($params, ++$j, 'int*', $optional); 259 check_param($params, ++$j, 'char**', $optional, $allow_uninit=true); 260 check_param($params, ++$j, 'size_t*', $optional, $allow_uninit=true); 261 if ($optional && !$params[$j-1][2] && !$params[$j][2] 262 … && $params[$j-1][0] !== '**dummy**' && $params[$j][0] !== '**dummy**') { 263 … error("one of optional vars {$params[$j-1][0]} or {$params[$j][0]} must be initialized", 1); 269 check_param($params, ++$j, 'zend_class_entry**', false); [all …]
|
/PHP-8.1/Zend/tests/ |
H A D | func_sig_trailing_comma.phpt | 10 $params, 20 $params, 30 $params, 40 $params,
|
H A D | bug54013.phpt | 10 $params = func_get_args(); 18 $params = $reflectionClass->getMethod('b')->getParameters(); 20 var_dump($params[0], $params[1]);
|
H A D | closure_047.phpt | 6 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 D | closure_048.phpt | 6 function replace_variables($text, $params) { 8 $c = function($matches) use (&$params, &$text) { 9 $text = preg_replace( '/(\?)/', array_shift( $params ), $text, 1 );
|
/PHP-8.1/ext/reflection/tests/ |
H A D | ReflectionClass_getConstant_error.phpt | 2 ReflectionClass::getConstant() - bad params 10 echo "Check invalid params:\n"; 16 Check invalid params:
|
H A D | closures_003_v1.phpt | 9 $params = $method->getParameters (); 11 $method = $params[0]->getDeclaringFunction (); 12 unset ($params);
|
H A D | closures_003.phpt | 9 $params = $method->getParameters (); 11 $method = $params[0]->getDeclaringFunction (); 12 unset ($params);
|
/PHP-8.1/ext/intl/tests/ |
H A D | bug80763.phpt | 9 $params = ['today' => $today]; 10 array_walk($params, fn() => 1); 11 var_dump($formatter->format($params));
|
/PHP-8.1/ext/standard/tests/file/ |
H A D | userfilters.phpt | 17 echo "params: {$this->params}\n"; 37 params: testuserfilter
|
/PHP-8.1/ext/sockets/tests/ |
H A D | socket_set_option_rcvtimeo.phpt | 4 -wrong params 5 -set/get params comparison 16 //wrong params
|