Home
last modified time | relevance | path

Searched refs:nullable (Results 1 – 25 of 67) sorted by relevance

123

/php-src/Zend/tests/type_declarations/
H A Dscalar_none.phpt11 'int nullable' => function (?int $i = NULL) { return $i; },
12 'float nullable' => function (?float $f = NULL) { return $f; },
13 'string nullable' => function (?string $s = NULL) { return $s; },
14 'bool nullable' => function (?bool $b = NULL) { return $b; }
36 Testing int nullable:
38 Testing float nullable:
40 Testing string nullable:
42 Testing bool nullable:
H A Dscalar_null.phpt11 'int nullable' => function (?int $i) { return $i; },
12 'float nullable' => function (?float $f) { return $f; },
13 'string nullable' => function (?string $s) { return $s; },
14 'bool nullable' => function (?bool $b) { return $b; }
37 Testing int nullable:
39 Testing float nullable:
41 Testing string nullable:
43 Testing bool nullable:
H A Dnullable_null.phpt2 nullable class
11 …eprecated: test(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullabl…
H A Dcallable_003.phpt17 Deprecated: bar(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullable
H A Dscalar_constant_defaults.phpt78 echo "Testing nullable int with default null constant" . PHP_EOL;
81 echo "Testing nullable int with null null constant" . PHP_EOL;
102 Testing nullable int with default null constant
104 Testing nullable int with null null constant
/php-src/Zend/tests/type_declarations/intersection_types/
H A Dimplicit_nullable_intersection_type.phpt2 Intersection types can be implicitly nullable
14 …precated: foo(): Implicitly marking parameter $foo as nullable is deprecated, the explicit nullabl…
H A Dimplicit_nullable_intersection_type_error.phpt2 Verify type rendering in type error for implicitly nullable intersection types
18 …precated: foo(): Implicitly marking parameter $foo as nullable is deprecated, the explicit nullabl…
/php-src/Zend/tests/traits/
H A Dbug60717.phpt73 …ibutes(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullabl…
75 …ibutes(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullabl…
77 …ibutes(): Implicitly marking parameter $attributes as nullable is deprecated, the explicit nullabl…
/php-src/Zend/tests/return_types/
H A D032.phpt2 Nullable return type inheritance rules (nullable and non-nullable)
H A D031.phpt2 Nullable return type inheritance rules (non-nullable and nullable)
/php-src/Zend/tests/
H A Dgh11488.phpt2 GH-11488: "Optional parameter before required" warning for union nullable type
21 Deprecated: b(): Implicitly marking parameter $c as nullable is deprecated, the explicit nullable t…
H A Drequired_param_after_optional.phpt16 …ted: test2(): Implicitly marking parameter $test2A as nullable is deprecated, the explicit nullabl…
20 …ted: test3(): Implicitly marking parameter $test3A as nullable is deprecated, the explicit nullabl…
H A Dbug71428.3.phpt10 …eprecated: B::m(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullabl…
/php-src/Zend/tests/type_declarations/mixed/syntax/
H A Dnullable_mixed_return_error.phpt2 Test that the nullable mixed return type is not valid
12 Fatal error: Type mixed cannot be marked as nullable since mixed already includes null in %s on lin…
H A Dnullable_mixed_parameter_error.phpt2 Test that the nullable mixed parameter type is not valid
12 Fatal error: Type mixed cannot be marked as nullable since mixed already includes null in %s on lin…
H A Dnullable_mixed_property_error.phpt2 Test that the nullable mixed property type is not valid
13 Fatal error: Type mixed cannot be marked as nullable since mixed already includes null in %s on lin…
H A Dmixed_parameter_error2.phpt2 Test that the nullable mixed parameter type is not valid even though a null default value
12 Fatal error: Type mixed cannot be marked as nullable since mixed already includes null in %s on lin…
/php-src/ext/reflection/tests/types/
H A Dpure_intersection_type_implicitly_nullable.phpt2 Intersection type which is implicitly nullable should be a DNF type in reflection
28 …precated: foo(): Implicitly marking parameter $foo as nullable is deprecated, the explicit nullabl…
/php-src/Zend/tests/type_declarations/literal_types/
H A Dfalse_standalone_implicit_nullability.phpt12 …eprecated: test(): Implicitly marking parameter $v as nullable is deprecated, the explicit nullabl…
H A Dtrue_standalone_implicit_nullability.phpt12 …eprecated: test(): Implicitly marking parameter $v as nullable is deprecated, the explicit nullabl…
/php-src/Zend/tests/namespaces/
H A Dns_073.phpt17 …{closure:%s:%d}(): Implicitly marking parameter $x as nullable is deprecated, the explicit nullabl…
/php-src/ext/reflection/tests/
H A Dbug81208.phpt9 public function __construct(public bool $nullable = false) {}
13 #[MyAnnotation(name: "my_name", type: "integer", nullable: asdasdasd)]
/php-src/tests/lang/
H A Dtype_hints_002.phpt19 …eprecated: T::f(): Implicitly marking parameter $p as nullable is deprecated, the explicit nullabl…
/php-src/Zend/tests/type_declarations/iterable/
H A Diterable_002.phpt20 …ted: foo(): Implicitly marking parameter $iterable as nullable is deprecated, the explicit nullabl…
/php-src/ext/curl/tests/
H A Dcallable_nullable_option.phpt2 Callable options are nullable

Completed in 19 milliseconds

123