/PHP-8.4/main/streams/ |
H A D | transports.c | 209 memset(¶m, 0, sizeof(param)); in php_stream_xport_bind() 240 memset(¶m, 0, sizeof(param)); in php_stream_xport_connect() 270 memset(¶m, 0, sizeof(param)); in php_stream_xport_listen() 299 memset(¶m, 0, sizeof(param)); in php_stream_xport_accept() 335 memset(¶m, 0, sizeof(param)); in php_stream_xport_get_name() 362 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_setup() 383 memset(¶m, 0, sizeof(param)); in php_stream_xport_crypto_enable() 443 memset(¶m, 0, sizeof(param)); in php_stream_xport_recvfrom() 489 memset(¶m, 0, sizeof(param)); in php_stream_xport_sendto() 514 memset(¶m, 0, sizeof(param)); in php_stream_xport_shutdown() [all …]
|
/PHP-8.4/sapi/phpdbg/ |
H A D | phpdbg_set.c | 49 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 D | phpdbg_cmd.c | 51 switch (param->type) { in phpdbg_get_param_type() 77 if (param) { in phpdbg_clear_param() 87 efree(param->str); in phpdbg_clear_param() 116 if (param->num) { in phpdbg_param_tostring() 128 …ORE_VALUE(asprintf(pointer, "%s::%s#"ZEND_ULONG_FMT, param->method.class, param->method.name, para… in phpdbg_param_tostring() 206 hash += zend_hash_func(param->str, param->len); in phpdbg_hash_param() 215 hash += zend_hash_func(param->file.name, strlen(param->file.name)); in phpdbg_hash_param() 217 if (param->num) in phpdbg_hash_param() 230 hash += zend_hash_func(param->str, param->len); in phpdbg_hash_param() 237 if (param->num) in phpdbg_hash_param() [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 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 D | phpdbg_prompt.c | 767 if (param && param->type != EMPTY_PARAM && param->len != 0) { in PHPDBG_COMMAND() 769 char *end = param->str + param->len, *p = param->str; in PHPDBG_COMMAND() 1030 if (param) { in PHPDBG_COMMAND() 1073 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND() 1160 phpdbg_set_breakpoint_method_opline(param->method.class, param->method.name, param->num); in PHPDBG_COMMAND() 1175 phpdbg_set_breakpoint_symbol(param->str, param->len); in PHPDBG_COMMAND() 1356 if (!param || param->type == EMPTY_PARAM) { in PHPDBG_COMMAND() 1365 path = estrndup(param->str, param->len); in PHPDBG_COMMAND() 1392 phpdbg_try_file_init(param->str, param->len, 0); in PHPDBG_COMMAND() 1495 phpdbg_list_function_byname(param->str, param->len); in PHPDBG_COMMAND() [all …]
|
/PHP-8.4/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_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 | ReflectionParameter_DefaultValueConstant_basic2.phpt | 19 foreach($reflect->getParameters() as $param) { 20 if($param->isDefaultValueAvailable() && @$param->isDefaultValueConstant()) { 21 echo @$param->getDefaultValueConstantName() . "\n";
|
/PHP-8.4/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 88 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 = ¶m->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 = ¶m->parameter; in pdo_sqlite_stmt_param_hook() 170 if (Z_ISREF(param->parameter)) { in pdo_sqlite_stmt_param_hook() [all …]
|
/PHP-8.4/sapi/fpm/tests/ |
H A D | tester.inc | 256 * @param mixed $files 343 * @param string $command 420 * @param string $ini 748 * @param array $stdin 1286 * @param string $type 1287 * @param string $pool 1322 * @param string $type 1323 * @param string $pool 1344 * @param string $type 1508 * @param mixed $data [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 637 * @param string|null $pool 651 * @param string|null $pool 665 * @param string|null $pool [all …]
|
H A D | status.inc | 47 * @param Tester $tester 55 * @param string $body 56 * @param string $pattern 73 * @param array $fields 74 * @param string $type 95 * @param string $body 96 * @param array $fields 145 * @param string $body 156 * @param string $body 180 * @param string $body [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 209 * @param string $msg Message to print. 228 * @param int $timeoutSeconds Read timeout in seconds 269 * @param int $timeoutSeconds Read timeout in seconds [all …]
|
/PHP-8.4/ext/pdo_pgsql/ |
H A D | pgsql_statement.c | 285 if (param->driver_data) { in pgsql_stmt_param_hook() 286 efree(param->driver_data); in pgsql_stmt_param_hook() 292 if (param->name) { in pgsql_stmt_param_hook() 294 param->paramno = ZEND_ATOL(ZSTR_VAL(param->name) + 1); in pgsql_stmt_param_hook() 300 param->name)) != NULL) { in pgsql_stmt_param_hook() 302 param->paramno--; in pgsql_stmt_param_hook() 344 if (param->paramno >= 0) { in pgsql_stmt_param_hook() 354 if (Z_ISREF(param->parameter)) { in pgsql_stmt_param_hook() 357 parameter = ¶m->parameter; in pgsql_stmt_param_hook() 371 param->driver_data = P; in pgsql_stmt_param_hook() [all …]
|
/PHP-8.4/ext/pdo/ |
H A D | pdo_stmt.c | 234 param->stmt->methods->param_hook(param->stmt, param, PDO_PARAM_EVT_FREE); in param_dtor() 248 efree(param); in param_dtor() 324 param->name = zend_string_init(ZSTR_VAL(param->name), ZSTR_LEN(param->name), 0); in really_register_bound_param() 412 memset(¶m, 0, sizeof(param)); in PHP_METHOD() 604 fetch_value(stmt, Z_REFVAL(param->parameter), param->paramno, ¶m->param_type); in do_fetch_common() 1409 memset(¶m, 0, sizeof(param)); in register_bound_param() 1412 Z_PARAM_STR_OR_LONG(param.name, param.paramno) in register_bound_param() 1460 memset(¶m, 0, sizeof(param)); in PHP_METHOD() 1463 Z_PARAM_STR_OR_LONG(param.name, param.paramno) in PHP_METHOD() 1993 …param->paramno, param->name ? ZSTR_LEN(param->name) : 0, param->name ? (int) ZSTR_LEN(param->name)… in PHP_METHOD() [all …]
|
/PHP-8.4/Zend/tests/type_declarations/intersection_types/variance/ |
H A D | valid5.phpt | 14 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.4/Zend/tests/ |
H A D | interface_constructor_prototype_001.phpt | 7 public function __construct(int $param); 10 public function __construct(int|float $param); 13 public function __construct(int $param) {} 19 …error: Declaration of Test::__construct(int $param) must be compatible with B::__construct(int|flo…
|
H A D | interface_constructor_prototype_002.phpt | 11 public function __construct(int|float $param); 14 public function __construct(int $param); 17 public function __construct(int|float $param) {} 20 public function __construct(int $param) {} 26 …al error: Declaration of Y::__construct(int $param) must be compatible with A::__construct(int|flo…
|
/PHP-8.4/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.4/Zend/tests/type_declarations/dnf_types/variance/ |
H A D | valid5.phpt | 15 public function foo(TestOne|TestTwo|Foo $param): (X&Y)|Foo; 20 public function foo((X&Y)|Foo $param): TestOne|TestTwo|Foo; 25 public function foo(X|Foo $param): TestTwo; 30 public function foo(Y|Foo $param): TestOne; 35 public function foo(X|Foo $param): TestTwo; 40 public function foo(Y|Foo $param): TestOne;
|
/PHP-8.4/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.4/ext/intl/tests/ |
H A D | grapheme_str_split.phpt | 21 $res_str .= "grapheme cluster for str_split - param {$test[0]}, length {$test[1]} "; 53 grapheme cluster for str_split - param abc, length 3 [616263] 54 grapheme cluster for str_split - param abc, length 2 [6162,63] 55 grapheme cluster for str_split - param abc, length 1 [61,62,63] 56 grapheme cluster for str_split - param 土下座♀を, length 1 [e59c9f,e4b88b,e5baa7,f09f9987e2808de2998… 57 grapheme cluster for str_split - param 土下座♀を, length 6 [e59c9fe4b88be5baa7f09f9987e2808de29980e3… 58 grapheme cluster for str_split - param nullbyte, length 1 [6e,75,6c,6c,00,62,79,74,65]
|
/PHP-8.4/ext/intl/uchar/tests/ |
H A D | bug70453.phpt | 8 $param = $method->getParameters()[1]; 9 var_dump($param->name, $param->isOptional(), $param->isPassedByReference());
|