/PHP-8.1/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
|
H A D | 022.phpt | 8 abstract function someMethod($param); 13 function someMethod($param = "default") 15 echo $param, "\n";
|
H A D | str_or_obj_of_class_zpp.phpt | 56 Deprecated: zend_string_or_stdclass(): Passing null to parameter #1 ($param) of type string is depr… 61 zend_string_or_stdclass(): Argument #1 ($param) must be of type stdClass|string, array given 62 zend_string_or_stdclass(): Argument #1 ($param) must be of type stdClass|string, Foo given 69 zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type stdClass|string|null, array… 70 zend_string_or_stdclass_or_null(): Argument #1 ($param) must be of type stdClass|string|null, Foo g…
|
H A D | runtime_compile_time_binary_operands.phpt | 93 function makeParam($param) { 94 if ($param === PHP_INT_MIN) { 97 if ($param === PHP_INT_MAX) { 100 if (is_string($param)) { 101 …return '"' . strtr($param, ["\t" => '\t', "\n" => '\n', "\r" => '\r', "\v" => '\v', "\f" => '\f', … 103 return "(" . str_replace("\n", "", var_export($param, true)) . ")";
|
H A D | bug54624.phpt | 7 function foo(A $param) { 17 function foo(AliasA $param) {
|
/PHP-8.1/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 170 struct pdo_bound_param_data *param; in odbc_stmt_execute() local 180 if (Z_ISREF(param->parameter)) { in odbc_stmt_execute() 183 parameter = ¶m->parameter; in odbc_stmt_execute() 287 if (param->is_param) { in odbc_stmt_param_hook() 297 P = param->driver_data; in odbc_stmt_param_hook() 346 param->driver_data = P; in odbc_stmt_param_hook() 368 P->len = param->max_value_len > 0 ? param->max_value_len : precision; in odbc_stmt_param_hook() 384 (SQLPOINTER)param : in odbc_stmt_param_hook() 398 P = param->driver_data; in odbc_stmt_param_hook() 400 parameter = ¶m->parameter; in odbc_stmt_param_hook() [all …]
|
/PHP-8.1/ext/imap/tests/setup/ |
H A D | imap_include.inc | 39 * @param $resp 40 * @param string[] $fields 64 * @param null $new_mailbox 65 * @param bool $simpleMessages 100 * @param resource $imap_stream 102 * @param int $message_count 103 * @param bool $simpleMessages 152 * @param resource $imap_stream 153 * @param string $mailbox 154 * @param int $message_count [all …]
|
/PHP-8.1/ext/spl/tests/ |
H A D | bug65328.phpt | 30 * @param mixed $uid 48 * @param mixed $uid 110 * @param mixed $data 111 * @param mixed $uid 112 * @param Node $parent 127 * @param mixed $uid 143 * @param Node $child 168 * @param mixed $data 184 * @param Node $parent 197 * @param Node $node [all …]
|
H A D | bug70303.phpt | 8 $param = $params[0]; 9 var_dump($param->isOptional());
|
/PHP-8.1/main/ |
H A D | rfc1867.c | 821 if (param) { 822 efree(param); 886 efree(param); 914 efree(param); 936 if (!param) { 944 tmp = param; 980 efree(param); 987 efree(param); 1116 is_arr_upload = (start_arr = strchr(param,'[')) && (param[strlen(param)-1] == ']'); 1135 abuf = estrndup(param, strlen(param)-array_len); [all …]
|
/PHP-8.1/ext/zend_test/ |
H A D | test.stub.php | 97 function zend_string_or_object(object|string $param): object|string {} argument 99 function zend_string_or_object_or_null(object|string|null $param): object|string|null {} argument 101 /** @param stdClass|string $param */ 102 function zend_string_or_stdclass($param): stdClass|string {} argument 104 /** @param stdClass|string|null $param */ 105 function zend_string_or_stdclass_or_null($param): stdClass|string|null {} argument
|
/PHP-8.1/ext/pdo_mysql/ |
H A D | mysql_statement.c | 396 if (S->stmt && param->is_param) { in pdo_mysql_stmt_param_hook() 400 if (param->paramno < 0 || param->paramno >= S->num_params) { in pdo_mysql_stmt_param_hook() 406 b = &S->params[param->paramno]; in pdo_mysql_stmt_param_hook() 407 param->driver_data = b; in pdo_mysql_stmt_param_hook() 415 if (!Z_ISREF(param->parameter)) { in pdo_mysql_stmt_param_hook() 416 parameter = ¶m->parameter; in pdo_mysql_stmt_param_hook() 445 parameter = ¶m->parameter; in pdo_mysql_stmt_param_hook() 470 if (!Z_ISREF(param->parameter)) { in pdo_mysql_stmt_param_hook() 471 parameter = ¶m->parameter; in pdo_mysql_stmt_param_hook() 500 if (!Z_ISREF(param->parameter)) { in pdo_mysql_stmt_param_hook() [all …]
|
/PHP-8.1/ext/dom/tests/ |
H A D | bug74416.phpt | 9 foreach ($rm->getParameters() as $param) { 10 …printf("Parameter #%d %s OPTIONAL\n", $param->getPosition(), $param->isOptional() ? "IS" : "IS NOT…
|
/PHP-8.1/ext/pdo_firebird/ |
H A D | firebird_statement.c | 518 ZVAL_COPY_VALUE(&data, param); in firebird_bind_blob() 558 if (param->is_param && param->paramno == -1) { in firebird_stmt_param_hook() 575 param->paramno = i; in firebird_stmt_param_hook() 593 if (param->is_param) { in firebird_stmt_param_hook() 604 if (!param->is_param) { in firebird_stmt_param_hook() 609 if (Z_ISREF(param->parameter)) { in firebird_stmt_param_hook() 612 parameter = ¶m->parameter; in firebird_stmt_param_hook() 765 if (param->paramno == -1) { in firebird_stmt_param_hook() 768 if (param->is_param) { in firebird_stmt_param_hook() 771 if (Z_ISREF(param->parameter)) { in firebird_stmt_param_hook() [all …]
|
/PHP-8.1/ext/soap/tests/bugs/ |
H A D | bug42086.phpt | 15 public $param; 20 $ret->param = "firstFunctionWithoutParam"; 31 …elope/"><SOAP-ENV:Body><firstFunctionWithoutParamReturn><param>firstFunctionWithoutParam</param></…
|
H A D | bug38055.phpt | 9 function Test($param) { 11 $g1 = $param->boolA; 12 $g2 = $param->boolB;
|
/PHP-8.1/sapi/phpdbg/ |
H A D | phpdbg_bp.c | 219 conditional->param.method.class, conditional->param.method.name, in phpdbg_export_breakpoints_to_string() 832 if (param) { in phpdbg_create_conditional_break() 852 if (param) { in phpdbg_create_conditional_break() 855 param, &new_break.param); in phpdbg_create_conditional_break() 921 if (param->next) { in phpdbg_set_breakpoint_at() 1043 if (len == param->len && memcmp(param->str, str, len) == SUCCESS) { in phpdbg_find_breakpoint_param() 1365 char *param; in phpdbg_print_breakpoint() local 1373 if (param) in phpdbg_print_breakpoint() 1374 free(param); in phpdbg_print_breakpoint() 1613 brake->id, brake->param.str, brake->param.num, brake->code, in phpdbg_print_breakpoints() [all …]
|
H A D | phpdbg_cmd.h | 135 PHPDBG_API void phpdbg_stack_push(phpdbg_param_t *stack, phpdbg_param_t *param); 136 PHPDBG_API void phpdbg_stack_separate(phpdbg_param_t *param); 150 PHPDBG_API char* phpdbg_param_tostring(const phpdbg_param_t *param, char **pointer); 151 PHPDBG_API void phpdbg_param_debug(const phpdbg_param_t *param, const char *msg); 167 #define PHPDBG_COMMAND(name) int phpdbg_do_##name(const phpdbg_param_t *param) 169 #define PHPDBG_COMMAND_ARGS param 178 phpdbg_error("Unsupported parameter type (%s) for command", phpdbg_get_param_type(param)); \
|
H A D | phpdbg_print.c | 128 if (phpdbg_safe_class_lookup(param->str, param->len, &ce) == SUCCESS) { in PHPDBG_PRINT() 148 phpdbg_error("The class %s could not be found", param->str); in PHPDBG_PRINT() 158 if (phpdbg_safe_class_lookup(param->method.class, strlen(param->method.class), &ce) == SUCCESS) { in PHPDBG_PRINT() 160 zend_string *lcname = zend_string_alloc(strlen(param->method.name), 0); in PHPDBG_PRINT() 161 zend_str_tolower_copy(ZSTR_VAL(lcname), param->method.name, ZSTR_LEN(lcname)); in PHPDBG_PRINT() 171 phpdbg_error("The method %s::%s could not be found", param->method.class, param->method.name); in PHPDBG_PRINT() 176 phpdbg_error("The class %s could not be found", param->method.class); in PHPDBG_PRINT() 186 const char *func_name = param->str; in PHPDBG_PRINT() 187 size_t func_name_len = param->len; in PHPDBG_PRINT()
|
/PHP-8.1/sapi/fpm/tests/ |
H A D | response.inc | 45 * @param string|array|null $data 46 * @param bool $expectInvalid 63 * @param mixed $body 64 * @param string $contentType 98 * @param string $fieldName 99 * @param string $pattern 136 * @param string $name Header name. 137 * @param string $value Header value. 286 * @param string $contentType 302 * @param string $name Header name. [all …]
|
/PHP-8.1/ext/reflection/tests/internal_parameter_default_value/ |
H A D | check_all.phpt | 7 foreach ($rf->getParameters() as $param) { 8 if ($param->isDefaultValueAvailable()) { 10 $param->getDefaultValue();
|
/PHP-8.1/Zend/tests/typehints/ |
H A D | or_null.phpt | 8 function unloadedClass(?I\Dont\Exist $param) {} 19 function loadedClass(?RealClass $param) {} 20 function loadedInterface(?RealInterface $param) {} 52 function callableF(?callable $param) {} 60 function iterableF(?iterable $param) {} 68 function intF(?int $param) {} 226 TypeError: loadedClass(): Argument #1 ($param) must be of type ?RealClass, stdClass given, called i… 238 TypeError: loadedClass(): Argument #1 ($param) must be of type ?RealClass, int given, called in %s:… 246 TypeError: callableF(): Argument #1 ($param) must be of type ?callable, int given, called in %s:%d 250 TypeError: iterableF(): Argument #1 ($param) must be of type ?iterable, int given, called in %s:%d [all …]
|
/PHP-8.1/ext/sqlite3/ |
H A D | sqlite3.c | 1512 switch (param->type) { in php_sqlite3_bind_params() 1647 if (param->name) { in register_bound_parameter_to_sqlite() 1648 if (ZSTR_VAL(param->name)[0] != ':' && ZSTR_VAL(param->name)[0] != '@') { in register_bound_parameter_to_sqlite() 1653 param->name = temp; in register_bound_parameter_to_sqlite() 1655 param->name = zend_string_copy(param->name); in register_bound_parameter_to_sqlite() 1662 if (param->name) { in register_bound_parameter_to_sqlite() 1672 if (param->name) { in register_bound_parameter_to_sqlite() 1711 param.param_number = -1; in sqlite3stmt_bind() 1715 Z_PARAM_STR_OR_LONG(param.name, param.param_number) in sqlite3stmt_bind() 2335 if (param->name) { in sqlite3_param_dtor() [all …]
|
/PHP-8.1/Zend/tests/closures/ |
H A D | closure_from_callable_reflection.phpt | 29 foreach ($refl->getParameters() as $param) { 30 if ($param->hasType()) { 31 $type = $param->getType();
|
/PHP-8.1/ext/snmp/tests/ |
H A D | snmp-object-properties.phpt | 48 $param=123; 49 $session->$param = "param_value"; 51 var_dump($session->$param); 52 var_dump(property_exists($session, $param)); 55 $param = 'there is no such parameter'; 56 var_dump($session->$param); 57 var_dump(property_exists($session, $param));
|