/php-src/ext/reflection/tests/ |
H A D | ReflectionParameter_003.phpt | 26 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 D | ReflectionParameter_001.phpt | 27 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 D | bug62715.phpt | 20 …eprecated: test(): Optional parameter $a declared before required parameter $c is implicitly treat… 22 …eprecated: test(): Optional parameter $b declared before required parameter $c is implicitly treat…
|
/php-src/ext/dba/tests/ |
H A D | dba_flatfile_creation_matrix.phpt | 26 Mode parameter is "rl": 30 Mode parameter is "rd": 34 Mode parameter is "r-": 38 Mode parameter is "r": 42 Mode parameter is "wl": 46 Mode parameter is "wd": 50 Mode parameter is "w-": 54 Mode parameter is "w": 64 Mode parameter is "c": 72 Mode parameter is "n": [all …]
|
H A D | dba_inifile_creation_matrix.phpt | 26 Mode parameter is "rl": 30 Mode parameter is "rd": 34 Mode parameter is "r-": 38 Mode parameter is "r": 42 Mode parameter is "wl": 46 Mode parameter is "wd": 50 Mode parameter is "w-": 54 Mode parameter is "w": 64 Mode parameter is "c": 72 Mode parameter is "n": [all …]
|
H A D | dba_db4_creation_matrix.phpt | 26 Mode parameter is "rl": 30 Mode parameter is "rd": 34 Mode parameter is "r-": 38 Mode parameter is "r": 42 Mode parameter is "wl": 46 Mode parameter is "wd": 50 Mode parameter is "w-": 54 Mode parameter is "w": 64 Mode parameter is "c": 72 Mode parameter is "n": [all …]
|
H A D | dba_tcadb_creation_matrix.phpt | 26 Mode parameter is "rl": 30 Mode parameter is "rd": 34 Mode parameter is "r-": 38 Mode parameter is "r": 42 Mode parameter is "wl": 46 Mode parameter is "wd": 50 Mode parameter is "w-": 54 Mode parameter is "w": 64 Mode parameter is "c": 72 Mode parameter is "n": [all …]
|
H A D | dba_gdbm_creation_matrix.phpt | 26 Mode parameter is "rl": 32 Mode parameter is "rd": 36 Mode parameter is "r-": 40 Mode parameter is "r": 44 Mode parameter is "wl": 50 Mode parameter is "wd": 54 Mode parameter is "w-": 58 Mode parameter is "w": 62 Mode parameter is "cl": 72 Mode parameter is "c": [all …]
|
H A D | dba_cdb_creation_matrix.phpt | 26 Mode parameter is "rl": 30 Mode parameter is "rd": 34 Mode parameter is "r-": 38 Mode parameter is "r": 42 Mode parameter is "wl": 46 Mode parameter is "wd": 50 Mode parameter is "w-": 54 Mode parameter is "w": 58 Mode parameter is "cl": 70 Mode parameter is "c": [all …]
|
H A D | dba_qdbm_creation_matrix.phpt | 26 Mode parameter is "rl": 32 Mode parameter is "rd": 36 Mode parameter is "r-": 40 Mode parameter is "r": 44 Mode parameter is "wl": 50 Mode parameter is "wd": 54 Mode parameter is "w-": 58 Mode parameter is "w": 62 Mode parameter is "cl": 72 Mode parameter is "c": [all …]
|
H A D | dba_lmdb_creation_matrix.phpt | 26 Mode parameter is "rl": 32 Mode parameter is "rd": 36 Mode parameter is "r-": 40 Mode parameter is "r": 44 Mode parameter is "wl": 48 Mode parameter is "wd": 50 Mode parameter is "w-": 54 Mode parameter is "w": 56 Mode parameter is "cl": 66 Mode parameter is "c": [all …]
|
/php-src/Zend/tests/ |
H A D | required_param_after_optional.phpt | 2 Required parameter after optional is deprecated 12 …cated: test(): Optional parameter $testA declared before required parameter $testC is implicitly t… 14 …cated: test(): Optional parameter $testB declared before required parameter $testC is implicitly t… 16 Deprecated: test2(): Implicitly marking parameter $test2A as nullable is deprecated, the explicit n… 18 …ted: test2(): Optional parameter $test2B declared before required parameter $test2C is implicitly … 20 Deprecated: test3(): Implicitly marking parameter $test3A as nullable is deprecated, the explicit n… 22 …ted: test3(): Optional parameter $test3B declared before required parameter $test3C is implicitly …
|
H A D | gh11488.phpt | 2 GH-11488: "Optional parameter before required" warning for union nullable type 19 Deprecated: a(): Optional parameter $a declared before required parameter $b is implicitly treated … 21 Deprecated: b(): Implicitly marking parameter $c as nullable is deprecated, the explicit nullable t… 23 Deprecated: c(): Optional parameter $e declared before required parameter $f is implicitly treated …
|
H A D | call_user_func_005.phpt | 2 Passing Closure as parameter to an non-existent function 21 …{closure:%s:%d}(): Optional parameter $a declared before required parameter $b is implicitly treat… 32 ["parameter"]=>
|
/php-src/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 79 zval *parameter; in pdo_sqlite_stmt_param_hook() local 108 parameter = Z_REFVAL(param->parameter); in pdo_sqlite_stmt_param_hook() 110 parameter = ¶m->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() 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 = ¶m->parameter; in pdo_sqlite_stmt_param_hook() 184 Z_STRVAL_P(parameter), in pdo_sqlite_stmt_param_hook() [all …]
|
/php-src/ext/standard/tests/array/ |
H A D | array_filter_variation4.phpt | 8 * 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 D | array_column_variant.phpt | 11 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) --
|
/php-src/ext/intl/tests/ |
H A D | gh8115.phpt | 31 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-src/ext/zend_test/tests/ |
H A D | attribute_arguments.phpt | 2 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-src/ext/mbstring/tests/ |
H A D | mb_str_functions_opt-parameter.phpt | 2 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-src/ext/pdo_odbc/ |
H A D | odbc_stmt.c | 177 zval *parameter; in odbc_stmt_execute() local 181 parameter = Z_REFVAL(param->parameter); in odbc_stmt_execute() 183 parameter = ¶m->parameter; in odbc_stmt_execute() 191 Z_STRVAL_P(parameter), in odbc_stmt_execute() 192 Z_STRLEN_P(parameter), in odbc_stmt_execute() 293 zval *parameter; in odbc_stmt_param_hook() local 409 parameter = ¶m->parameter; in odbc_stmt_param_hook() 411 parameter = Z_REFVAL(param->parameter); in odbc_stmt_param_hook() 497 parameter = Z_REFVAL(param->parameter); in odbc_stmt_param_hook() 499 parameter = ¶m->parameter; in odbc_stmt_param_hook() [all …]
|
/php-src/ext/reflection/tests/internal_parameter_default_value/ |
H A D | ReflectionParameter_getDefaultValueConstantName_Internal.phpt | 8 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());
|
/php-src/ext/pdo_mysql/tests/ |
H A D | bug79132.phpt | 2 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-src/Zend/tests/named_params/ |
H A D | unknown_named_param.phpt | 2 Unknown named parameter 44 Unknown named parameter $b 45 Unknown named parameter $b 46 Unknown named parameter $b 47 Unknown named parameter $unknown
|
/php-src/ext/pdo_mysql/ |
H A D | mysql_statement.c | 387 zval *parameter; in pdo_mysql_stmt_param_hook() local 416 parameter = ¶m->parameter; in pdo_mysql_stmt_param_hook() 418 parameter = Z_REFVAL(param->parameter); in pdo_mysql_stmt_param_hook() 445 parameter = ¶m->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 = ¶m->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 = ¶m->parameter; in pdo_mysql_stmt_param_hook() [all …]
|