Home
last modified time | relevance | path

Searched refs:param (Results 1 – 25 of 215) sorted by relevance

123456789

/PHP-8.1/main/streams/
H A Dtransports.c204 memset(&param, 0, sizeof(param)); in php_stream_xport_bind()
235 memset(&param, 0, sizeof(param)); in php_stream_xport_connect()
265 memset(&param, 0, sizeof(param)); in php_stream_xport_listen()
294 memset(&param, 0, sizeof(param)); in php_stream_xport_accept()
330 memset(&param, 0, sizeof(param)); in php_stream_xport_get_name()
357 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_setup()
378 memset(&param, 0, sizeof(param)); in php_stream_xport_crypto_enable()
438 memset(&param, 0, sizeof(param)); in php_stream_xport_recvfrom()
484 memset(&param, 0, sizeof(param)); in php_stream_xport_sendto()
509 memset(&param, 0, sizeof(param)); in php_stream_xport_shutdown()
[all …]
/PHP-8.1/sapi/phpdbg/
H A Dphpdbg_set.c49 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
60 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
64 if (param->num) { in PHPDBG_SET()
80 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
123 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
127 if (param->num) { in PHPDBG_SET()
151 switch (phpdbg_get_element(param->str, param->len)) { in PHPDBG_SET()
180 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
201 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
220 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET()
[all …]
H A Dphpdbg_cmd.c47 switch (param->type) { in phpdbg_get_param_type()
73 if (param) { in phpdbg_clear_param()
83 efree(param->str); in phpdbg_clear_param()
112 if (param->num) { in phpdbg_param_tostring()
124 …ORE_VALUE(asprintf(pointer, "%s::%s#"ZEND_ULONG_FMT, param->method.class, param->method.name, para… in phpdbg_param_tostring()
202 hash += zend_hash_func(param->str, param->len); in phpdbg_hash_param()
211 hash += zend_hash_func(param->file.name, strlen(param->file.name)); in phpdbg_hash_param()
213 if (param->num) in phpdbg_hash_param()
226 hash += zend_hash_func(param->str, param->len); in phpdbg_hash_param()
233 if (param->num) in phpdbg_hash_param()
[all …]
H A Dphpdbg_list.c54 switch (param->type) { in PHPDBG_LIST()
58 …phpdbg_list_file(file, param->num < 0 ? 1 - param->num : param->num, (param->num < 0 ? param->num … in PHPDBG_LIST()
65 const char *abspath = param->file.name; in PHPDBG_LIST()
70 phpdbg_list_file(file, param->file.line, 0, 0); in PHPDBG_LIST()
82 phpdbg_list_function_byname(param->str, param->len); in PHPDBG_LIST()
91 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_LIST()
93 char *lcname = zend_str_tolower_dup(param->method.name, strlen(param->method.name)); in PHPDBG_LIST()
98 phpdbg_error("Could not find %s::%s", param->method.class, param->method.name); in PHPDBG_LIST()
103 phpdbg_error("Could not find the class %s", param->method.class); in PHPDBG_LIST()
113 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_LIST()
[all …]
H A Dphpdbg_prompt.c770 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND()
772 char *end = param->str + param->len, *p = param->str; in PHPDBG_COMMAND()
1033 if (param) { in PHPDBG_COMMAND()
1076 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1163 phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num); in PHPDBG_COMMAND()
1178 phpdbg_set_breakpoint_symbol(param->str, param->len); in PHPDBG_COMMAND()
1362 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND()
1371 path = estrndup(param->str, param->len); in PHPDBG_COMMAND()
1398 phpdbg_try_file_init(param->str, param->len, 0); in PHPDBG_COMMAND()
1501 phpdbg_list_function_byname(param->str, param->len); in PHPDBG_COMMAND()
[all …]
/PHP-8.1/ext/reflection/tests/
H A DReflectionParameter_DefaultValueConstant_basic1.phpt12 foreach($reflect->getParameters() as $param) {
13 if($param->getName() == 'test1') {
14 var_dump(@$param->isDefaultValueConstant());
16 if($param->getName() == 'test2') {
17 var_dump(@$param->isDefaultValueConstant());
19 if($param->isDefaultValueAvailable() && @$param->isDefaultValueConstant()) {
20 var_dump(@$param->getDefaultValueConstantName());
38 foreach ($params as $param) {
39 if (@$param->isDefaultValueConstant()) {
40 var_dump(@$param->getDefaultValueConstantName());
H A Dbug38465.phpt24 foreach ($method->getParameters() as $param) {
25 if ($param->isDefaultValueAvailable()) {
26 …eclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), ' = ', $param->getD…
37 foreach ($method->getParameters() as $param) {
38 if ($param->isDefaultValueAvailable()) {
39 …eclaringClass()->getName(), '::', $method->getName(), '($', $param->getName(), ' = ', $param->getD…
H A Dbug51911.phpt13 foreach ($method->getParameters() as $param) {
14 if ( $param->isDefaultValueAvailable())
15 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
H A DReflectionParameter_002.phpt26 echo "This param is passed by reference\n";
28 echo "This param is not passed by reference\n";
41 echo "This param is passed by reference\n";
43 echo "This param is not passed by reference\n";
58 This param is passed by reference
64 This param is not passed by reference
72 This param is not passed by reference
78 This param is passed by reference
H A DReflectionParameter_DefaultValueConstant_basic2.phpt19 foreach($reflect->getParameters() as $param) {
20 if($param->isDefaultValueAvailable() && @$param->isDefaultValueConstant()) {
21 echo @$param->getDefaultValueConstantName() . "\n";
H A Dbug51905.phpt17 foreach ($method->getParameters() as $param) {
18 if ( $param->isDefaultValueAvailable())
19 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
H A Dbug81611.phpt28 foreach ($params as $param) {
30 var_dump($param->isDefaultValueAvailable());
33 var_dump($param->isDefaultValueConstant());
36 var_dump($param->getDefaultValueConstantName());
39 var_dump($param->getDefaultValue());
/PHP-8.1/sapi/fpm/tests/
H A Dtester.inc238 * @param mixed $files
283 * @param $message
359 * @param string $ini
641 * @param array $stdin
642 * @param array $headers
949 * @param int|null $pid
1121 * @param string $type
1122 * @param string $pool
1147 * @param string $type
1148 * @param string $pool
[all …]
H A Dlogtool.inc72 * @param LogReader $logReader
73 * @param bool $debug
84 * @param string $message
85 * @param int $limit
86 * @param int $repeat
98 * @param string $level
120 * @param bool $pipeClosed
633 * @param string|null $pool
647 * @param string|null $pool
661 * @param string|null $pool
[all …]
H A Dlogreader.inc31 * @param bool $debug
56 * @param string $name Stream name.
57 * @param resource $stream The actual stream.
70 * @param string $name Source name.
71 * @param string $filePath Source file path.s
84 * @param int $timeoutSeconds Read timeout in seconds
85 * @param int $timeoutMicroseconds Read timeout in microseconds
206 * @param string $msg Message to print.
225 * @param int $timeoutSeconds Read timeout in seconds
266 * @param int $timeoutSeconds Read timeout in seconds
[all …]
H A Dstatus.inc44 * @param array $fields
45 * @param string $type
66 * @param string $body
67 * @param array $fields
69 * @param string $header
70 * @param string $footer
120 * @param string $body
131 * @param string $body
155 * @param string $body
178 * @param string $body
[all …]
/PHP-8.1/ext/pdo_sqlite/
H A Dsqlite_statement.c88 if (param->is_param) { in pdo_sqlite_stmt_param_hook()
90 if (param->paramno == -1) { in pdo_sqlite_stmt_param_hook()
91 param->paramno = sqlite3_bind_parameter_index(S->stmt, ZSTR_VAL(param->name)) - 1; in pdo_sqlite_stmt_param_hook()
107 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
108 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
110 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
132 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
133 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
135 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
170 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook()
[all …]
/PHP-8.1/ext/pdo_pgsql/
H A Dpgsql_statement.c272 if (param->driver_data) { in pgsql_stmt_param_hook()
273 efree(param->driver_data); in pgsql_stmt_param_hook()
279 if (param->name) { in pgsql_stmt_param_hook()
281 param->paramno = ZEND_ATOL(ZSTR_VAL(param->name) + 1); in pgsql_stmt_param_hook()
287 param->name)) != NULL) { in pgsql_stmt_param_hook()
289 param->paramno--; in pgsql_stmt_param_hook()
331 if (param->paramno >= 0) { in pgsql_stmt_param_hook()
341 if (Z_ISREF(param->parameter)) { in pgsql_stmt_param_hook()
344 parameter = &param->parameter; in pgsql_stmt_param_hook()
358 param->driver_data = P; in pgsql_stmt_param_hook()
[all …]
/PHP-8.1/ext/pdo/
H A Dpdo_stmt.c235 param->stmt->methods->param_hook(param->stmt, param, PDO_PARAM_EVT_FREE); in param_dtor()
249 efree(param); in param_dtor()
325 param->name = zend_string_init(ZSTR_VAL(param->name), ZSTR_LEN(param->name), 0); in really_register_bound_param()
413 memset(&param, 0, sizeof(param)); in PHP_METHOD()
605 fetch_value(stmt, Z_REFVAL(param->parameter), param->paramno, &param->param_type); in do_fetch_common()
1415 memset(&param, 0, sizeof(param)); in register_bound_param()
1418 Z_PARAM_STR_OR_LONG(param.name, param.paramno) in register_bound_param()
1466 memset(&param, 0, sizeof(param)); in PHP_METHOD()
1469 Z_PARAM_STR_OR_LONG(param.name, param.paramno) in PHP_METHOD()
1999param->paramno, param->name ? ZSTR_LEN(param->name) : 0, param->name ? (int) ZSTR_LEN(param->name)… in PHP_METHOD()
[all …]
/PHP-8.1/Zend/tests/type_declarations/intersection_types/variance/
H A Dvalid5.phpt14 public function foo(TestOne|TestTwo $param): X&Y;
19 public function foo(X&Y $param): TestOne|TestTwo;
24 public function foo(X $param): TestTwo;
29 public function foo(Y $param): TestOne;
34 public function foo(X $param): TestTwo;
39 public function foo(Y $param): TestOne;
/PHP-8.1/ext/soap/tests/interop/Round4/GroupH/
H A Dround4_groupH_simple_rpcenc.inc16 function echoMultipleFaults1($param, $string, $floats) {
17 if ($param == 2) {
19 } else if ($param == 3) {
26 function echoMultipleFaults2($param, $string, $float, $strings) {
27 if ($param == 2) {
29 } else if ($param == 3) {
36 function echoMultipleFaults3($param, $param1, $param2) {
37 if ($param == 2) {
44 function echoMultipleFaults4($param, $int, $enum) {
45 if ($param == 2) {
/PHP-8.1/ext/gd/tests/
H A Dsimilarity.inc11 * @param int $color
12 * @param int $red
13 * @param int $green
14 * @param int $blue
29 * @param int $color1
30 * @param int $color2
46 * @param resource $image1
47 * @param resource $image2
/PHP-8.1/ext/intl/uchar/tests/
H A Dbug70453.phpt8 $param = $method->getParameters()[1];
9 var_dump($param->name, $param->isOptional(), $param->isPassedByReference());
/PHP-8.1/ext/pdo_oci/
H A Doci_statement.c200 ZEND_ASSERT(param); in oci_bind_input_cb()
204 if (Z_ISREF(param->parameter)) in oci_bind_input_cb()
207 parameter = &param->parameter; in oci_bind_input_cb()
236 ZEND_ASSERT(param); in oci_bind_output_cb()
241 parameter = &param->parameter; in oci_bind_output_cb()
278 if (param->is_param) { in oci_stmt_param_hook()
298 P = param->driver_data; in oci_stmt_param_hook()
312 param->driver_data = P; in oci_stmt_param_hook()
335 if (param->name) { in oci_stmt_param_hook()
516 OCIParam *param = NULL; in oci_stmt_describe() local
[all …]
/PHP-8.1/ext/standard/tests/strings/
H A Dbug50847.phpt5 $var = '<param value="' . str_repeat("a", 2048) . '" />';
6 var_dump(strip_tags($var, "<param>"), strip_tags($var));
9 string(2066) "<param value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…

Completed in 52 milliseconds

123456789