/PHP-8.0/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.0/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.0/ext/opcache/jit/dynasm/ |
H A D | dasm_mips.lua | 848 if not params then return "cvar" end 854 map_op[".globals_1"] = function(params) 862 if not params then return "cvar" end 869 if not params then return "cvar" end 877 map_op[".label_1"] = function(params) 888 map_op[".long_*"] = function(params) 890 for _,p in ipairs(params) do 900 map_op[".align_1"] = function(params) 903 local align = tonumber(params[1]) 922 if not params then [all …]
|
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] 719 werror(params[1]) 724 wfatal(params[1]) 775 local params = {} 777 params[#params+1] = gsub(p, "%s+$", "") 781 params.op = op 782 return op, params [all …]
|
H A D | dasm_arm64.lua | 465 local pn, p2 = params[n], params[n+1] 536 local pn, p2 = params[n], params[n+1] 611 return function(params, nparams) 613 f(params, nparams) 761 lsl_3 = function(params, nparams) 762 if params and params[3]:byte() == 35 then 892 local q = params[n] 1048 for _,p in ipairs(params) do 1061 local align = tonumber(params[1]) 1080 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.0/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.0/ext/odbc/tests/ |
H A D | bug80152.phpt | 2 Bug #80152 (odbc_execute() moves internal pointer of $params) 12 $params = [1, "John", "Lim"]; 13 var_dump(key($params)); 14 odbc_execute($stmt, $params); 15 var_dump(key($params));
|
/PHP-8.0/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.0/Zend/tests/ |
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 | func_sig_trailing_comma.phpt | 10 $params, 20 $params, 30 $params, 40 $params,
|
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.0/scripts/dev/ |
H A D | check_parameters.php | 209 $params = get_params($vars, $m[2][0]); 241 check_param($params, ++$j, 'zend_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.0/ext/reflection/tests/ |
H A D | ReflectionClass_getConstant_error.phpt | 2 ReflectionClass::getConstant() - bad params 10 echo "Check invalid params:\n"; 17 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.0/ext/intl/tests/ |
H A D | bug80763.phpt | 11 $params = ['today' => $today]; 12 array_walk($params, fn() => 1); 13 var_dump($formatter->format($params));
|
/PHP-8.0/ext/standard/tests/file/ |
H A D | userfilters.phpt | 17 echo "params: {$this->params}\n"; 36 params: testuserfilter
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug70303.phpt | 7 $params = $c->getParameters(); 8 $param = $params[0];
|