Home
last modified time | relevance | path

Searched refs:optional (Results 1 – 25 of 107) sorted by relevance

12345

/PHP-8.0/ext/date/tests/
H A Dgmmktime_variation7.phpt2 Test gmmktime() function : usage variation - Checking with few optional arguments.
14 echo "\n-- Testing gmmktime() function with one optional argument --\n";
17 echo "\n-- Testing gmmktime() function with two optional argument --\n";
20 echo "\n-- Testing gmmktime() function with three optional argument --\n";
23 echo "\n-- Testing gmmktime() function with four optional argument --\n";
26 echo "\n-- Testing gmmktime() function with five optional argument --\n";
33 -- Testing gmmktime() function with one optional argument --
36 -- Testing gmmktime() function with two optional argument --
39 -- Testing gmmktime() function with three optional argument --
42 -- Testing gmmktime() function with four optional argument --
[all …]
/PHP-8.0/sapi/cli/tests/
H A D006.phpt74 Parameter #3 [ <optional> int $flags = 0 ]
75 Parameter #4 [ <optional> int $offset = 0 ]
85 Parameter #3 [ <optional> int $flags = 0 ]
86 Parameter #4 [ <optional> int $offset = 0 ]
96 Parameter #3 [ <optional> int $limit = -1 ]
97 Parameter #4 [ <optional> &$count = null ]
108 Parameter #4 [ <optional> &$count = null ]
119 Parameter #4 [ <optional> &$count = null ]
120 Parameter #5 [ <optional> int $flags = 0 ]
130 Parameter #3 [ <optional> &$count = null ]
[all …]
/PHP-8.0/ext/standard/tests/strings/
H A Dbug61116.phpt13 Parameter #1 [ <optional> int $flags = ENT_COMPAT ]
14 Parameter #2 [ <optional> ?string $encoding = null ]
15 Parameter #3 [ <optional> bool $double_encode = true ]
23 Parameter #0 [ <optional> int $table = HTML_SPECIALCHARS ]
24 Parameter #1 [ <optional> int $flags = ENT_COMPAT ]
25 Parameter #2 [ <optional> string $encoding = "UTF-8" ]
H A Dsscanf_basic1.phpt14 echo "\n-- Try sccanf() WITHOUT optional args --\n";
19 echo "\n-- Try sccanf() WITH optional args --\n";
28 -- Try sccanf() WITHOUT optional args --
33 -- Try sccanf() WITH optional args --
H A Dsscanf_basic2.phpt14 echo "\n-- Try sccanf() WITHOUT optional args --\n";
19 echo "\n-- Try sccanf() WITH optional args --\n";
28 -- Try sccanf() WITHOUT optional args --
33 -- Try sccanf() WITH optional args --
H A Dsscanf_basic3.phpt11 echo "\n-- Try sccanf() WITHOUT optional args --\n";
16 echo "\n-- Try sccanf() WITH optional args --\n";
25 -- Try sccanf() WITHOUT optional args --
31 -- Try sccanf() WITH optional args --
H A Dsscanf_basic4.phpt11 echo "\n-- Try sccanf() WITHOUT optional args --\n";
16 echo "\n-- Try sccanf() WITH optional args --\n";
25 -- Try sccanf() WITHOUT optional args --
31 -- Try sccanf() WITH optional args --
H A Dsscanf_basic7.phpt11 echo "\n-- Try sccanf() WITHOUT optional args --\n";
16 echo "\n-- Try sccanf() WITH optional args --\n";
25 -- Try sccanf() WITHOUT optional args --
33 -- Try sccanf() WITH optional args --
H A Dsscanf_basic6.phpt17 echo "\n-- Try sccanf() WITHOUT optional args --\n";
22 echo "\n-- Try sccanf() WITH optional args --\n";
31 -- Try sccanf() WITHOUT optional args --
39 -- Try sccanf() WITH optional args --
H A Dsscanf_basic5.phpt12 echo "\n-- Try sccanf() WITHOUT optional args --\n";
19 echo "\n-- Try sccanf() WITH optional args --\n";
31 -- Try sccanf() WITHOUT optional args --
41 -- Try sccanf() WITH optional args --
H A Dsscanf_basic8.phpt12 echo "\n-- Try sccanf() WITHOUT optional args --\n";
19 echo "\n-- Try sccanf() WITH optional args --\n";
30 -- Try sccanf() WITHOUT optional args --
44 -- Try sccanf() WITH optional args --
/PHP-8.0/ext/intl/tests/locale/
H A Dbug74993.phpt27 Parameter #1 [ <optional> ?string $displayLocale = null ]
35 Parameter #1 [ <optional> ?string $displayLocale = null ]
43 Parameter #1 [ <optional> ?string $displayLocale = null ]
51 Parameter #1 [ <optional> ?string $displayLocale = null ]
59 Parameter #1 [ <optional> ?string $displayLocale = null ]
68 Parameter #2 [ <optional> bool $canonicalize = false ]
77 Parameter #2 [ <optional> bool $canonicalize = false ]
78 Parameter #3 [ <optional> ?string $defaultLocale = null ]
/PHP-8.0/ext/reflection/tests/
H A DReflectionClass_export_basic1.phpt53 Parameter #2 [ <optional> ?C $c = NULL ]
54 Parameter #3 [ <optional> $d = '16 chars long -...' ]
55 Parameter #4 [ <optional> $e = '15 chars long -' ]
56 Parameter #5 [ <optional> $f = NULL ]
57 Parameter #6 [ <optional> $g = false ]
58 Parameter #7 [ <optional> ?array $h = NULL ]
H A Dbug33389.phpt45 Parameter #0 [ <optional> $arg = 1 ]
53 Parameter #0 [ <optional> $arg = NULL ]
61 Parameter #0 [ <optional> $arg = false ]
69 Parameter #0 [ <optional> $arg = 'foo' ]
77 Parameter #0 [ <optional> $arg = 1 ]
H A DReflectionParameter_003.phpt29 echo "this parameter is optional\n";
31 echo "this parameter is not optional\n";
66 this parameter is not optional
73 this parameter is optional
80 this parameter is optional
87 this parameter is optional
H A Dbug45765.phpt54 Parameter #0 [ <optional> $a = 'foo's bar' ]
62 Parameter #0 [ <optional> $a = 'foobar' ]
70 Parameter #0 [ <optional> $a = 'foo's bar' ]
78 Parameter #0 [ <optional> $a = 'foobar' ]
H A DReflectionMethod_defaultArg.phpt28 Parameter #0 [ <optional> $a = 'F' ]
35 Parameter #0 [ <optional> $a = 'T' ]
42 Parameter #0 [ <optional> $a = 'B' ]
H A DReflectionParameter_toString_basic.phpt18 Parameter #1 [ <optional> $test2 = NULL ]
19 Parameter #2 [ <optional> ...$test3 ]
/PHP-8.0/scripts/dev/
H A Dcheck_parameters.php128 function check_param($db, $idx, $exp, $optional, $allow_uninit = false) argument
146 if (!$optional && $db[$idx][2]) {
149 if (!$allow_uninit && $optional && !$db[$idx][2]) {
210 $optional = $varargs = false;
221 if ($optional) {
224 $optional = true;
241 check_param($params, ++$j, 'zend_bool*', $optional);
251 check_param($params, ++$j, 'zval**', $optional);
252 check_param($params, ++$j, 'int*', $optional);
261 if ($optional && !$params[$j-1][2] && !$params[$j][2]
[all …]
/PHP-8.0/ext/reflection/tests/internal_parameter_default_value/
H A DReflectionParameter_toString_Internal.phpt24 Parameter #2 [ <optional> int $second = 0 ]
25 Parameter #3 [ <optional> int $microsecond = 0 ]
27 Parameter #0 [ <optional> int $timezoneGroup = DateTimeZone::ALL ]
28 Parameter #1 [ <optional> ?string $countryCode = null ]
/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
/PHP-8.0/ext/spl/tests/
H A Dbug71412.phpt11 Parameter #0 [ <optional> object|array $array = [] ]
12 Parameter #1 [ <optional> int $flags = 0 ]
/PHP-8.0/ext/pgsql/tests/
H A D07optional.phpt2 PostgreSQL optional functions
7 // optional functions
/PHP-8.0/ext/standard/tests/array/
H A Darray_rand_basic1.phpt16 // Calling array_rand() with optional argument
17 echo"\n-- with all default and optional arguments --\n";
29 -- with all default and optional arguments --
H A Darray_rand_basic2.phpt21 // Calling array_rand() with optional argument
22 echo"\n-- with all default and optional arguments --\n";
34 -- with all default and optional arguments --

Completed in 27 milliseconds

12345