Searched refs:nullable (Results 1 – 25 of 43) sorted by relevance
12
/PHP-8.0/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)
|
H A D | typed_properties_049.phpt | 10 Fatal error: Default value for property of type int may not be null. Use the nullable type ?int to …
|
/PHP-8.0/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.0/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.0/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 | 17 public ?int $nullable; 39 $property = new ReflectionProperty(TestClass::class, 'nullable');
|
H A D | ReflectionProperty_getDefaultValue.phpt | 19 public ?int $nullable; 44 $property = new ReflectionProperty(TestClass::class, 'nullable');
|
/PHP-8.0/Zend/tests/typehints/ |
H A D | fq_nullable.phpt | 2 Fully-qualified nullable parameter type
|
/PHP-8.0/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.0/ext/odbc/tests/ |
H A D | bug78470.phpt | 2 Bug #78470 (odbc_specialcolumns() no longer accepts $nullable)
|
/PHP-8.0/Zend/tests/type_declarations/mixed/inheritance/ |
H A D | mixed_parameter_inheritance_success5.phpt | 2 Test that a parameter of a nullable built-in type can be overridden by the mixed type
|
/PHP-8.0/Zend/tests/ |
H A D | ctor_promotion_null_default.phpt | 2 Constructor promotion with null default, requires an explicitly nullable type
|
Completed in 22 milliseconds
12