Home
last modified time | relevance | path

Searched refs:parameter (Results 1 – 25 of 499) sorted by relevance

12345678910>>...20

/PHP-8.1/ext/reflection/tests/
H A DReflectionParameter_003.phpt26 foreach($refParameters as $parameter) {
27 var_dump($parameter);
28 if($parameter->isOptional()) {
66 this parameter is not optional
67 this parameter has no default value
73 this parameter is optional
74 this parameter has a default value
80 this parameter is optional
81 this parameter has a default value
87 this parameter is optional
[all …]
H A DReflectionParameter_001.phpt27 foreach($parameters as $parameter) {
28 var_dump($parameter);
29 $name = $parameter->getName();
36 foreach($parameters as $parameter) {
37 var_dump($parameter);
38 $name = $parameter->getName();
47 foreach($parameters as $parameter) {
48 var_dump($parameter);
49 $name = $parameter->getName();
H A Dbug48757.phpt2 Bug #48757 (ReflectionFunction::invoke() parameter issues)
9 function another_test($parameter) {
10 var_dump($parameter);
H A Dbug33312.phpt13 foreach ($method->getParameters() as $parameter) {
14 if ($parameter->isDefaultValueAvailable()) {
15 print $parameter->getDefaultValue()."\n";
/PHP-8.1/Zend/tests/
H A Drequired_param_after_optional.phpt2 Required parameter after optional is deprecated
12 Deprecated: Optional parameter $testA declared before required parameter $testC is implicitly treat…
14 Deprecated: Optional parameter $testB declared before required parameter $testC is implicitly treat…
16 Deprecated: Optional parameter $test2B declared before required parameter $test2C is implicitly tre…
18 Deprecated: Optional parameter $test3B declared before required parameter $test3C is implicitly tre…
H A Dcall_user_func_005.phpt2 Passing Closure as parameter to an non-existent function
21 Deprecated: Optional parameter $a declared before required parameter $b is implicitly treated as a …
26 ["parameter"]=>
/PHP-8.1/ext/pdo_sqlite/
H A Dsqlite_statement.c79 zval *parameter; in pdo_sqlite_stmt_param_hook() local
108 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
110 parameter = &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()
161 Z_STRVAL_P(parameter), in pdo_sqlite_stmt_param_hook()
162 Z_STRLEN_P(parameter), in pdo_sqlite_stmt_param_hook()
171 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
173 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
184 Z_STRVAL_P(parameter), in pdo_sqlite_stmt_param_hook()
[all …]
/PHP-8.1/ext/standard/tests/array/
H A Darray_filter_variation4.phpt8 * without parameter and with return
9 * with parameter and without return
10 * without parameter and without return
25 // callback function with parameter and without return value
35 echo "-- Callback function without parameter and return --\n";
38 // callback function with parameter and with return value
48 echo "-- Callback function with parameter and return --\n";
55 -- Callback function without parameter and with return --
74 -- Callback function with parameter and without return --
77 -- Callback function without parameter and return --
[all …]
H A Darray_column_variant.phpt11 echo "-- pass null as second parameter to get back all columns indexed by third parameter --\n";
14 echo "-- pass null as second parameter and bogus third param to get back zero-indexed array of all …
17 echo "-- pass null as second parameter and no third param to get back array_values(input) --\n";
23 -- pass null as second parameter to get back all columns indexed by third parameter --
44 -- pass null as second parameter and bogus third param to get back zero-indexed array of all column…
65 -- pass null as second parameter and no third param to get back array_values(input) --
H A Darray_count_values_variation.phpt2 Test array_count_values() function : Test all normal parameter variations
6 * Test behaviour with parameter variations
9 echo "*** Testing array_count_values() : parameter variations ***\n";
34 *** Testing array_count_values() : parameter variations ***
H A Darray_column_scalar_index_weak_types.phpt5 echo "\n-- Testing array_column() column key parameter should be a string or an integer (testing bo…
17 echo "\n-- Testing array_column() column key parameter should be a string or integer (testing array…
24 echo "\n-- Testing array_column() index key parameter should be a string or an integer (testing boo…
36 echo "\n-- Testing array_column() index key parameter should be a string or integer (testing array)…
47 -- Testing array_column() column key parameter should be a string or an integer (testing bool) --
61 -- Testing array_column() column key parameter should be a string or integer (testing array) --
64 -- Testing array_column() index key parameter should be a string or an integer (testing bool) --
78 -- Testing array_column() index key parameter should be a string or integer (testing array) --
/PHP-8.1/ext/intl/tests/
H A Dgh8115.phpt31 Caught (8192): IntlDateFormatter::__construct(): Passing null to parameter #2 ($dateType) of type i…
32 Caught (8192): IntlDateFormatter::__construct(): Passing null to parameter #3 ($timeType) of type i…
33 Caught (8192): IntlRuleBasedBreakIterator::__construct(): Passing null to parameter #1 ($rules) of …
34 Caught (8192): IntlRuleBasedBreakIterator::__construct(): Passing null to parameter #2 ($compiled) …
35 Caught (8192): Collator::__construct(): Passing null to parameter #1 ($locale) of type string is de…
36 Caught (8192): NumberFormatter::__construct(): Passing null to parameter #1 ($locale) of type strin…
37 Caught (8192): NumberFormatter::__construct(): Passing null to parameter #2 ($style) of type int is…
38 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #1 ($locale) of type stri…
39 Caught (8192): MessageFormatter::__construct(): Passing null to parameter #2 ($pattern) of type str…
40 Caught (8192): ResourceBundle::__construct(): Passing null to parameter #3 ($fallback) of type bool…
/PHP-8.1/ext/zend_test/tests/
H A Dattribute_arguments.phpt2 Verify that parameter attributes for native functions correctly support arguments.
34 public function override(string $parameter): int
94 ["parameter"]=>
102 ["parameter"]=>
110 ["parameter"]=>
118 ["parameter"]=>
126 ["parameter"]=>
134 ["parameter"]=>
143 ["parameter"]=>
151 ["parameter"]=>
[all …]
/PHP-8.1/ext/mbstring/tests/
H A Dmb_str_functions_opt-parameter.phpt2 Optional long parameter might be null (deprecated)
20 Deprecated: mb_strpos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on …
23 Deprecated: mb_strrpos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on…
26 Deprecated: mb_stripos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s on…
29 Deprecated: mb_strripos(): Passing null to parameter #3 ($offset) of type int is deprecated in %s o…
32 Deprecated: mb_strstr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated i…
35 Deprecated: mb_strrchr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated …
38 Deprecated: mb_stristr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated …
41 Deprecated: mb_strrichr(): Passing null to parameter #3 ($before_needle) of type bool is deprecated…
46 Deprecated: mb_strimwidth(): Passing null to parameter #4 ($trim_marker) of type string is deprecat…
/PHP-8.1/ext/oci8/tests/
H A Dbug71148.phpt41 // Test 1: Bind input parameter in a local function
46 echo "Test 1: Bind input parameter in a local function\n";
58 // Test 2: Bind output parameter in a local function
63 echo "\nTest 2: Bind output parameter in a local function\n";
110 // Test 5: Bind IN OUT parameter in a local function
117 echo "\nTest 5: Bind IN OUT parameter in a local function\n";
163 Test 1: Bind input parameter in a local function
171 Test 2: Bind output parameter in a local function
175 Test 3: Bind output parameter within the same scope of execute
179 Test 4: Bind output parameter within the same scope of execute
[all …]
/PHP-8.1/ext/pdo_odbc/
H A Dodbc_stmt.c177 zval *parameter; in odbc_stmt_execute() local
181 parameter = Z_REFVAL(param->parameter); in odbc_stmt_execute()
183 parameter = &param->parameter; in odbc_stmt_execute()
191 Z_STRVAL_P(parameter), in odbc_stmt_execute()
192 Z_STRLEN_P(parameter), in odbc_stmt_execute()
284 zval *parameter; in odbc_stmt_param_hook() local
400 parameter = &param->parameter; in odbc_stmt_param_hook()
402 parameter = Z_REFVAL(param->parameter); in odbc_stmt_param_hook()
488 parameter = Z_REFVAL(param->parameter); in odbc_stmt_param_hook()
490 parameter = &param->parameter; in odbc_stmt_param_hook()
[all …]
/PHP-8.1/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_getDefaultValueConstantName_Internal.phpt8 foreach ($method->getParameters() as $parameter) {
10 var_dump($parameter->getDefaultValueConstantName());
21 foreach ($method->getParameters() as $parameter) {
23 var_dump($parameter->getDefaultValueConstantName());
34 foreach ($method->getParameters() as $parameter) {
36 var_dump($parameter->getDefaultValueConstantName());
H A DReflectionParameter_isDefaultValueAvailable_Internal.phpt8 foreach ($method->getParameters() as $parameter) {
9 var_dump($parameter->isDefaultValueAvailable());
17 foreach ($method->getParameters() as $parameter) {
18 var_dump($parameter->isDefaultValueAvailable());
H A DReflectionParameter_toString_Internal.phpt8 foreach ($method->getParameters() as $k => $parameter) {
9 echo $parameter . "\n";
17 foreach ($method->getParameters() as $parameter) {
18 echo $parameter . "\n";
H A DReflectionParameter_getDefaultValue_Internal.phpt8 foreach ($method->getParameters() as $k => $parameter) {
10 var_dump($parameter->getDefaultValue());
21 foreach ($method->getParameters() as $parameter) {
23 var_dump($parameter->getDefaultValue());
/PHP-8.1/ext/pdo_mysql/tests/
H A Dbug79132.phpt2 Bug #79132: PDO re-uses parameter values from earlier calls to execute()
28 ['x'], /* second parameter is missing */
29 [1 => 'y'], /* first parameter is missing */
53 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
54 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
66 SQLSTATE[HY093]: Invalid parameter number
67 SQLSTATE[HY093]: Invalid parameter number
/PHP-8.1/Zend/tests/named_params/
H A Dunknown_named_param.phpt2 Unknown named parameter
44 Unknown named parameter $b
45 Unknown named parameter $b
46 Unknown named parameter $b
47 Unknown named parameter $unknown
/PHP-8.1/ext/pdo_mysql/
H A Dmysql_statement.c387 zval *parameter; in pdo_mysql_stmt_param_hook() local
416 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
418 parameter = Z_REFVAL(param->parameter); in pdo_mysql_stmt_param_hook()
445 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
447 parameter = Z_REFVAL(param->parameter); in pdo_mysql_stmt_param_hook()
454 zval_ptr_dtor(parameter); in pdo_mysql_stmt_param_hook()
471 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
473 parameter = Z_REFVAL(param->parameter); in pdo_mysql_stmt_param_hook()
475 switch (Z_TYPE_P(parameter)) { in pdo_mysql_stmt_param_hook()
501 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
[all …]
/PHP-8.1/ext/pdo_firebird/
H A Dfirebird_statement.c590 zval *parameter; in firebird_stmt_param_hook() local
610 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
612 parameter = &param->parameter; in firebird_stmt_param_hook()
621 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
658 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
675 switch (is_numeric_string(Z_STRVAL_P(parameter), Z_STRLEN_P(parameter), &lval, &dval, 0)) { in firebird_stmt_param_hook()
710 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
772 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
774 parameter = &param->parameter; in firebird_stmt_param_hook()
776 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
[all …]
/PHP-8.1/ext/iconv/tests/
H A Diconv_set_encoding-charset-length-cve-2007-4840.phpt2 iconv_set_encoding() charset parameter length checks (CVE-2007-4840)
13 Warning: iconv_set_encoding(): Encoding parameter exceeds the maximum allowed length of 64 characte…
16 Warning: iconv_set_encoding(): Encoding parameter exceeds the maximum allowed length of 64 characte…
19 Warning: iconv_set_encoding(): Encoding parameter exceeds the maximum allowed length of 64 characte…

Completed in 39 milliseconds

12345678910>>...20