/PHP-8.0/main/streams/ |
H A D | transports.c | 204 memset(¶m, 0, sizeof(param)); in php_stream_xport_bind() 235 memset(¶m, 0, sizeof(param)); in php_stream_xport_connect() 265 memset(¶m, 0, sizeof(param)); in php_stream_xport_listen() 294 memset(¶m, 0, sizeof(param)); in php_stream_xport_accept() 330 memset(¶m, 0, sizeof(param)); in php_stream_xport_get_name() 357 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_setup() 378 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_enable() 438 memset(¶m, 0, sizeof(param)); in php_stream_xport_recvfrom() 484 memset(¶m, 0, sizeof(param)); in php_stream_xport_sendto() 509 memset(¶m, 0, sizeof(param)); in php_stream_xport_shutdown() [all …]
|
/PHP-8.0/sapi/phpdbg/ |
H A D | phpdbg_set.c | 50 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 61 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 65 if (param->num) { in PHPDBG_SET() 81 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 124 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 152 switch (phpdbg_get_element(param->str, param->len)) { in PHPDBG_SET() 181 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 202 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 231 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() 250 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_SET() [all …]
|
H A D | phpdbg_cmd.c | 73 if (param) { in phpdbg_clear_param() 83 efree(param->str); in phpdbg_clear_param() 112 if (param->num) { in phpdbg_param_tostring() 113 …ZEND_IGNORE_VALUE(asprintf(pointer, "%s:%lu#%lu", param->file.name, param->file.line, param->num)); in phpdbg_param_tostring() 124 …ZEND_IGNORE_VALUE(asprintf(pointer, "%s::%s#%lu", param->method.class, param->method.name, param->… 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 D | phpdbg_prompt.c | 772 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND() 774 char *end = param->str + param->len, *p = param->str; in PHPDBG_COMMAND() 1046 if (param) { in PHPDBG_COMMAND() 1089 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND() 1179 phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num); in PHPDBG_COMMAND() 1378 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND() 1387 path = estrndup(param->str, param->len); in PHPDBG_COMMAND() 1415 phpdbg_try_file_init(param->str, param->len, 0); in PHPDBG_COMMAND() 1524 phpdbg_list_function_byname(param->str, param->len); in PHPDBG_COMMAND() 1538 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND() [all …]
|
H A D | phpdbg_list.c | 54 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 …type=\"notfound\" method=\"%s::%s\"", "Could not find %s::%s", param->method.class, param->method.… in PHPDBG_LIST() 103 …phpdbg_error("list", "type=\"notfound\" class=\"%s\"", "Could not find the class %s", param->metho… in PHPDBG_LIST() 113 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_LIST() [all …]
|
/PHP-8.0/ext/reflection/tests/ |
H A D | ReflectionParameter_DefaultValueConstant_basic1.phpt | 12 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 D | bug38465.phpt | 24 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 D | bug51911.phpt | 13 foreach ($method->getParameters() as $param) { 14 if ( $param->isDefaultValueAvailable()) 15 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
|
H A D | ReflectionParameter_DefaultValueConstant_basic2.phpt | 19 foreach($reflect->getParameters() as $param) { 20 if($param->isDefaultValueAvailable() && @$param->isDefaultValueConstant()) { 21 echo @$param->getDefaultValueConstantName() . "\n";
|
H A D | ReflectionParameter_002.phpt | 26 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 D | bug51905.phpt | 17 foreach ($method->getParameters() as $param) { 18 if ( $param->isDefaultValueAvailable()) 19 echo '$', $param->getName(), ' : ', var_export($param->getDefaultValue(), 1), "\n";
|
/PHP-8.0/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 87 if (param->is_param) { in pdo_sqlite_stmt_param_hook() 89 if (param->paramno == -1) { in pdo_sqlite_stmt_param_hook() 90 param->paramno = sqlite3_bind_parameter_index(S->stmt, ZSTR_VAL(param->name)) - 1; in pdo_sqlite_stmt_param_hook() 106 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook() 107 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook() 109 parameter = ¶m->parameter; in pdo_sqlite_stmt_param_hook() 131 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook() 132 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook() 134 parameter = ¶m->parameter; in pdo_sqlite_stmt_param_hook() 169 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook() [all …]
|
/PHP-8.0/sapi/fpm/tests/ |
H A D | status.inc | 43 * @param array $fields 44 * @param string $type 65 * @param string $body 66 * @param array $fields 68 * @param string $header 69 * @param string $footer 119 * @param string $body 120 * @param array $fields 130 * @param string $body 154 * @param string $body [all …]
|
H A D | tester.inc | 238 * @param mixed $files 283 * @param $message 348 * @param string $ini 617 * @param array $stdin 618 * @param array $headers 919 * @param int|null $pid 1091 * @param string $type 1092 * @param string $pool 1117 * @param string $type 1118 * @param string $pool [all …]
|
H A D | logtool.inc | 72 * @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 601 * @param string|null $pool 615 * @param string|null $pool 670 * @param string $pattern [all …]
|
H A D | logreader.inc | 31 * @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 197 * @param string $msg Message to print. 216 * @param int $timeoutSeconds Read timeout in seconds 257 * @param int $timeoutSeconds Read timeout in seconds [all …]
|
/PHP-8.0/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 272 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 ZEND_ATOL(param->paramno, 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() 330 if (param->paramno >= 0) { in pgsql_stmt_param_hook() 343 parameter = ¶m->parameter; in pgsql_stmt_param_hook() 357 param->driver_data = P; in pgsql_stmt_param_hook() 412 zval_ptr_dtor(¶m->parameter); in pgsql_stmt_param_hook() [all …]
|
/PHP-8.0/ext/zend_test/ |
H A D | test.stub.php | 53 function zend_string_or_object(object|string $param): object|string {} argument 55 function zend_string_or_object_or_null(object|string|null $param): object|string|null {} argument 57 /** @param stdClass|string $param */ 58 function zend_string_or_stdclass($param): stdClass|string {} argument 60 /** @param stdClass|string|null $param */ 61 function zend_string_or_stdclass_or_null($param): stdClass|string|null {} argument
|
/PHP-8.0/ext/soap/tests/interop/Round4/GroupH/ |
H A D | round4_groupH_simple_rpcenc.inc | 16 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.0/ext/gd/tests/ |
H A D | similarity.inc | 11 * @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.0/ext/pdo/ |
H A D | pdo_stmt.c | 235 param->stmt->methods->param_hook(param->stmt, param, PDO_PARAM_EVT_FREE); in param_dtor() 249 efree(param); in param_dtor() 326 param->name = zend_string_init(ZSTR_VAL(param->name), ZSTR_LEN(param->name), 0); in really_register_bound_param() 414 memset(¶m, 0, sizeof(param)); in PHP_METHOD() 674 fetch_value(stmt, Z_REFVAL(param->parameter), param->paramno, (int *)¶m->param_type); in do_fetch_common() 1481 memset(¶m, 0, sizeof(param)); in register_bound_param() 1484 Z_PARAM_STR_OR_LONG(param.name, param.paramno) in register_bound_param() 1532 memset(¶m, 0, sizeof(param)); in PHP_METHOD() 1535 Z_PARAM_STR_OR_LONG(param.name, param.paramno) in PHP_METHOD() 2069 …param->paramno, param->name ? ZSTR_LEN(param->name) : 0, param->name ? (int) ZSTR_LEN(param->name)… in PHP_METHOD() [all …]
|
/PHP-8.0/ext/intl/uchar/tests/ |
H A D | bug70453.phpt | 8 $param = $method->getParameters()[1]; 9 var_dump($param->name, $param->isOptional(), $param->isPassedByReference());
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | bug50847.phpt | 5 $var = '<param value="' . str_repeat("a", 2048) . '" />'; 6 var_dump(strip_tags($var, "<param>"), strip_tags($var)); 9 string(2066) "<param value="aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa…
|
/PHP-8.0/Zend/tests/ |
H A D | bug72038.phpt | 22 function test(&$param) { 23 $param = 1; 28 test(): Argument #1 ($param) cannot be passed by reference 29 test(): Argument #1 ($param) cannot be passed by reference
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug65328.phpt | 17 * @param Node $head 33 * @param mixed $uid 51 * @param mixed $uid 113 * @param mixed $data 114 * @param mixed $uid 115 * @param Node $parent 130 * @param mixed $uid 146 * @param Node $child 171 * @param mixed $data 200 * @param Node $node [all …]
|