/php-src/ext/date/tests/ |
H A D | gmmktime_variation7.phpt | 2 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-src/ext/reflection/tests/ |
H A D | gh9447.phpt | 32 Parameter #0 [ <optional> $a = \App\Bar::BAZ ] 33 Parameter #1 [ <optional> $b = new \App\Bar() ] 34 Parameter #2 [ <optional> $c = new parent() ] 35 Parameter #3 [ <optional> $d = new self() ] 36 Parameter #4 [ <optional> $e = new \App\Bar() ] 37 Parameter #5 [ <optional> $f = new \SomewhereElse\Qux() ] 38 Parameter #6 [ <optional> $g = new \App\Qux() ] 39 Parameter #7 [ <optional> $i = new \Qux() ]
|
H A D | bug60357.phpt | 18 Parameter #0 [ <optional> array $x = ['a', 'b'] ] 19 Parameter #1 [ <optional> array $y = ['x' => 'y'] ] 20 Parameter #2 [ <optional> array $z = [0 => 0, 2 => -2] ] 21 Parameter #3 [ <optional> array $a = [[], [1], [2, 3]] ]
|
H A D | ReflectionClass_export_basic1.phpt | 54 Parameter #2 [ <optional> ?C $c = NULL ] 55 Parameter #3 [ <optional> $d = K ] 56 Parameter #4 [ <optional> $e = '15 chars long -' ] 57 Parameter #5 [ <optional> $f = NULL ] 58 Parameter #6 [ <optional> $g = false ] 59 Parameter #7 [ <optional> ?array $h = NULL ]
|
H A D | bug33389.phpt | 45 Parameter #0 [ <optional> $arg = foobar ] 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 D | ReflectionParameter_003.phpt | 29 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 D | bug45765.phpt | 54 Parameter #0 [ <optional> $a = self::BAR ] 62 Parameter #0 [ <optional> $a = parent::BAR ] 70 Parameter #0 [ <optional> $a = foo::BAR ] 78 Parameter #0 [ <optional> $a = foo2::BAR ]
|
H A D | ReflectionMethod_defaultArg.phpt | 28 Parameter #0 [ <optional> $a = 'F' ] 35 Parameter #0 [ <optional> $a = self::class ] 42 Parameter #0 [ <optional> $a = self::class ]
|
H A D | ReflectionMethod_tentative_return_type.phpt | 37 Parameter #0 [ <optional> int $timezoneGroup = DateTimeZone::ALL ] 38 Parameter #1 [ <optional> ?string $countryCode = null ] 52 Parameter #0 [ <optional> int $timezoneGroup = DateTimeZone::ALL ] 53 Parameter #1 [ <optional> ?string $countryCode = NULL ]
|
/php-src/sapi/cli/tests/ |
H A D | 006.phpt | 74 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 ] 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 ] 131 Parameter #4 [ <optional> int $flags = 0 ] [all …]
|
/php-src/ext/standard/tests/strings/ |
H A D | bug61116.phpt | 13 Parameter #1 [ <optional> int $flags = ENT_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 ] 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_QUOTES | ENT_SUBSTITUTE | ENT_HTML401 ] 25 Parameter #2 [ <optional> string $encoding = "UTF-8" ]
|
H A D | sscanf_basic1.phpt | 14 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 D | sscanf_basic2.phpt | 14 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 D | sscanf_basic3.phpt | 11 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 D | sscanf_basic4.phpt | 11 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 D | sscanf_basic7.phpt | 11 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 D | sscanf_basic6.phpt | 17 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 D | sscanf_basic5.phpt | 12 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 D | sscanf_basic8.phpt | 12 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-src/ext/intl/tests/locale/ |
H A D | bug74993.phpt | 26 Parameter #1 [ <optional> ?string $displayLocale = null ] 34 Parameter #1 [ <optional> ?string $displayLocale = null ] 42 Parameter #1 [ <optional> ?string $displayLocale = null ] 50 Parameter #1 [ <optional> ?string $displayLocale = null ] 58 Parameter #1 [ <optional> ?string $displayLocale = null ] 67 Parameter #2 [ <optional> bool $canonicalize = false ] 76 Parameter #2 [ <optional> bool $canonicalize = false ] 77 Parameter #3 [ <optional> ?string $defaultLocale = null ]
|
/php-src/scripts/dev/ |
H A D | check_parameters.php | 123 function check_param($db, $idx, $exp, $optional, $allow_uninit = false) argument 141 if (!$optional && $db[$idx][2]) { 144 if (!$allow_uninit && $optional && !$db[$idx][2]) { 204 $optional = $varargs = false; 215 if ($optional) { 218 $optional = true; 235 check_param($params, ++$j, 'bool*', $optional); 245 check_param($params, ++$j, 'zval**', $optional); 246 check_param($params, ++$j, 'int*', $optional); 255 if ($optional && !$params[$j-1][2] && !$params[$j][2] [all …]
|
/php-src/ext/reflection/tests/internal_parameter_default_value/ |
H A D | ReflectionParameter_toString_Internal.phpt | 24 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-src/ext/spl/tests/ |
H A D | bug71412.phpt | 11 Parameter #0 [ <optional> object|array $array = [] ] 12 Parameter #1 [ <optional> int $flags = 0 ]
|
/php-src/ext/standard/tests/array/ |
H A D | array_rand_basic1.phpt | 16 // Calling array_rand() with optional argument 17 echo"\n-- with all default and optional arguments --\n"; 29 -- with all default and optional arguments --
|
/php-src/ext/dom/tests/modern/css_selectors/ |
H A D | pseudo_classes_optional_required.phpt | 2 CSS Selectors - Pseudo classes: optional/required 24 test_helper($dom, ':optional'); 32 --- Selector: :optional ---
|