Home
last modified time | relevance | path

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

12345678910>>...18

/PHP-8.0/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";
H A Dclosures_003_v1.phpt15 $parameter = new ReflectionParameter ($closure, 'b');
16 $method = $parameter->getDeclaringFunction ();
17 unset ($parameter);
/PHP-8.0/ext/pdo_sqlite/
H A Dsqlite_statement.c78 zval *parameter; in pdo_sqlite_stmt_param_hook() local
107 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
109 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
132 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
134 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
160 Z_STRVAL_P(parameter), in pdo_sqlite_stmt_param_hook()
161 Z_STRLEN_P(parameter), in pdo_sqlite_stmt_param_hook()
170 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook()
172 parameter = &param->parameter; in pdo_sqlite_stmt_param_hook()
183 Z_STRVAL_P(parameter), in pdo_sqlite_stmt_param_hook()
[all …]
/PHP-8.0/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) --
H A Dcurrent_variation5.phpt7 echo "\n-- Function: reference parameter --\n";
21 echo "\n-- Function: normal parameter --\n";
39 -- Function: reference parameter --
45 -- Function: normal parameter --
/PHP-8.0/Zend/tests/
H A Drequired_param_after_optional.phpt2 Required parameter after optional is deprecated
12 Deprecated: Required parameter $testC follows optional parameter $testA in %s on line %d
14 Deprecated: Required parameter $test2C follows optional parameter $test2B in %s on line %d
H A Dcall_user_func_005.phpt2 Passing Closure as parameter to an non-existent function
21 Deprecated: Required parameter $b follows optional parameter $a in %s on line %d
26 ["parameter"]=>
/PHP-8.0/ext/pdo_odbc/
H A Dodbc_stmt.c180 zval *parameter; in odbc_stmt_execute() local
184 parameter = Z_REFVAL(param->parameter); in odbc_stmt_execute()
186 parameter = &param->parameter; in odbc_stmt_execute()
194 Z_STRVAL_P(parameter), in odbc_stmt_execute()
287 zval *parameter; in odbc_stmt_param_hook() local
403 parameter = &param->parameter; in odbc_stmt_param_hook()
405 parameter = Z_REFVAL(param->parameter); in odbc_stmt_param_hook()
495 parameter = Z_REFVAL(param->parameter); in odbc_stmt_param_hook()
497 parameter = &param->parameter; in odbc_stmt_param_hook()
500 ZVAL_NULL(parameter); in odbc_stmt_param_hook()
[all …]
/PHP-8.0/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());
H A DReflectionParameter_isDefaultValueConstant_Internal.phpt8 foreach ($method->getParameters() as $parameter) {
10 var_dump($parameter->isDefaultValueConstant());
21 foreach ($method->getParameters() as $parameter) {
23 var_dump($parameter->isDefaultValueConstant());
/PHP-8.0/ext/oci8/tests/
H A Dbug71148.phpt39 // Test 1: Bind input parameter in a local function
44 echo "Test 1: Bind input parameter in a local function\n";
56 // Test 2: Bind output parameter in a local function
61 echo "\nTest 2: Bind output parameter in a local function\n";
108 // Test 5: Bind IN OUT parameter in a local function
115 echo "\nTest 5: Bind IN OUT parameter in a local function\n";
161 Test 1: Bind input parameter in a local function
169 Test 2: Bind output parameter in a local function
173 Test 3: Bind output parameter within the same scope of execute
177 Test 4: Bind output parameter within the same scope of execute
[all …]
/PHP-8.0/ext/pdo_mysql/
H A Dmysql_statement.c377 zval *parameter; in pdo_mysql_stmt_param_hook() local
413 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
415 parameter = Z_REFVAL(param->parameter); in pdo_mysql_stmt_param_hook()
442 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
444 parameter = Z_REFVAL(param->parameter); in pdo_mysql_stmt_param_hook()
451 zval_ptr_dtor(parameter); in pdo_mysql_stmt_param_hook()
468 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
470 parameter = Z_REFVAL(param->parameter); in pdo_mysql_stmt_param_hook()
472 switch (Z_TYPE_P(parameter)) { in pdo_mysql_stmt_param_hook()
498 parameter = &param->parameter; in pdo_mysql_stmt_param_hook()
[all …]
/PHP-8.0/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.0/ext/pdo_mysql/tests/
H A Dbug79132.phpt2 Bug #79132: PDO re-uses parameter values from earlier calls to execute()
27 ['x'], /* second parameter is missing */
28 [1 => 'y'], /* first parameter is missing */
52 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
53 SQLSTATE[HY093]: Invalid parameter number: number of bound variables does not match number of tokens
65 SQLSTATE[HY093]: Invalid parameter number
66 SQLSTATE[HY093]: Invalid parameter number
/PHP-8.0/ext/pdo_firebird/
H A Dfirebird_statement.c566 zval *parameter; in firebird_stmt_param_hook() local
586 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
588 parameter = &param->parameter; in firebird_stmt_param_hook()
597 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
629 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
681 switch (Z_TYPE_P(parameter)) { in firebird_stmt_param_hook()
745 parameter = Z_REFVAL(param->parameter); in firebird_stmt_param_hook()
747 parameter = &param->parameter; in firebird_stmt_param_hook()
749 zval_ptr_dtor(parameter); in firebird_stmt_param_hook()
750 ZVAL_NULL(parameter); in firebird_stmt_param_hook()
[all …]
/PHP-8.0/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 44 milliseconds

12345678910>>...18