/php-src/Zend/tests/type_declarations/ |
H A D | scalar_none.phpt | 11 '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 D | scalar_null.phpt | 11 '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 D | nullable_null.phpt | 2 nullable class 11 …eprecated: test(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullabl…
|
H A D | callable_003.phpt | 17 Deprecated: bar(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullable…
|
H A D | scalar_constant_defaults.phpt | 78 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 D | implicit_nullable_intersection_type.phpt | 2 Intersection types can be implicitly nullable 14 …precated: foo(): Implicitly marking parameter $foo as nullable is deprecated, the explicit nullabl…
|
H A D | implicit_nullable_intersection_type_error.phpt | 2 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 D | bug60717.phpt | 73 …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 D | 032.phpt | 2 Nullable return type inheritance rules (nullable and non-nullable)
|
H A D | 031.phpt | 2 Nullable return type inheritance rules (non-nullable and nullable)
|
/php-src/Zend/tests/ |
H A D | gh11488.phpt | 2 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 D | required_param_after_optional.phpt | 16 …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 D | bug71428.3.phpt | 10 …eprecated: B::m(): Implicitly marking parameter $a as nullable is deprecated, the explicit nullabl…
|
/php-src/Zend/tests/type_declarations/mixed/syntax/ |
H A D | nullable_mixed_return_error.phpt | 2 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 D | nullable_mixed_parameter_error.phpt | 2 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 D | nullable_mixed_property_error.phpt | 2 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 D | mixed_parameter_error2.phpt | 2 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 D | pure_intersection_type_implicitly_nullable.phpt | 2 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 D | false_standalone_implicit_nullability.phpt | 12 …eprecated: test(): Implicitly marking parameter $v as nullable is deprecated, the explicit nullabl…
|
H A D | true_standalone_implicit_nullability.phpt | 12 …eprecated: test(): Implicitly marking parameter $v as nullable is deprecated, the explicit nullabl…
|
/php-src/Zend/tests/namespaces/ |
H A D | ns_073.phpt | 17 …{closure:%s:%d}(): Implicitly marking parameter $x as nullable is deprecated, the explicit nullabl…
|
/php-src/ext/reflection/tests/ |
H A D | bug81208.phpt | 9 public function __construct(public bool $nullable = false) {} 13 #[MyAnnotation(name: "my_name", type: "integer", nullable: asdasdasd)]
|
/php-src/tests/lang/ |
H A D | type_hints_002.phpt | 19 …eprecated: T::f(): Implicitly marking parameter $p as nullable is deprecated, the explicit nullabl…
|
/php-src/Zend/tests/type_declarations/iterable/ |
H A D | iterable_002.phpt | 20 …ted: foo(): Implicitly marking parameter $iterable as nullable is deprecated, the explicit nullabl…
|
/php-src/ext/curl/tests/ |
H A D | callable_nullable_option.phpt | 2 Callable options are nullable
|