/php-src/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-src/ext/opcache/jit/ir/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 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 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-src/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-src/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-src/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-src/scripts/dev/ |
H A D | check_parameters.php | 203 $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 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]);
|
/php-src/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-src/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.phpt | 9 $params = $method->getParameters (); 11 $method = $params[0]->getDeclaringFunction (); 12 unset ($params);
|
H A D | closures_003_v1.phpt | 9 $params = $method->getParameters (); 11 $method = $params[0]->getDeclaringFunction (); 12 unset ($params);
|
/php-src/Zend/tests/closures/ |
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-src/ext/openssl/tests/ |
H A D | ecc_custom_params.phpt | 2 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 D | userfilters.phpt | 17 echo "params: {$this->params}\n"; 37 params: testuserfilter
|
/php-src/ext/dom/ |
H A D | xpath_callbacks.c | 320 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(¶ms[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 …]
|