Searched refs:nullable (Results 1 – 25 of 49) sorted by relevance
12
/PHP-8.2/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 = 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; } 37 Testing int nullable: 39 Testing float nullable: 41 Testing string nullable: 43 Testing bool 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
|
H A D | nullable_null.phpt | 2 nullable class
|
H A D | nullable_void.phpt | 2 Void cannot be nullable
|
H A D | typed_properties_087.phpt | 2 Ensure null-initialization of nullable typed static property taken by reference
|
H A D | typed_properties_054.phpt | 2 Typed properties disallow callable (nullable variant)
|
/PHP-8.2/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-8.2/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-8.2/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)]
|
H A D | ReflectionProperty_hasDefaultValue.phpt | 18 public ?int $nullable; 40 $property = new ReflectionProperty(TestClass::class, 'nullable');
|
H A D | ReflectionProperty_getDefaultValue.phpt | 20 public ?int $nullable; 45 $property = new ReflectionProperty(TestClass::class, 'nullable');
|
/PHP-8.2/Zend/tests/typehints/ |
H A D | fq_nullable.phpt | 2 Fully-qualified nullable parameter type
|
/PHP-8.2/Zend/tests/type_declarations/intersection_types/ |
H A D | implicit_nullable_intersection_type.phpt | 2 Intersection types can be implicitly nullable
|
/PHP-8.2/Zend/tests/nullable_types/ |
H A D | array.phpt | 2 Explicitly nullable array type
|
H A D | float.phpt | 2 Explicitly nullable float type
|
H A D | int.phpt | 2 Explicitly nullable int type
|
H A D | string.phpt | 2 Explicitly nullable string type
|
/PHP-8.2/Zend/tests/type_declarations/union_types/redundant_types/ |
H A D | nullable_null.phpt | 11 Fatal error: null cannot be marked as nullable in %s on line %d
|
/PHP-8.2/Zend/tests/type_declarations/intersection_types/invalid_types/ |
H A D | invalid_nullable_type.phpt | 2 Intersection type cannot be nullable
|
/PHP-8.2/ext/odbc/tests/ |
H A D | bug78470.phpt | 2 Bug #78470 (odbc_specialcolumns() no longer accepts $nullable)
|
Completed in 20 milliseconds
12