Home
last modified time | relevance | path

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

12

/PHP-8.2/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 = 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 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
H A Dnullable_null.phpt2 nullable class
H A Dnullable_void.phpt2 Void cannot be nullable
H A Dtyped_properties_087.phpt2 Ensure null-initialization of nullable typed static property taken by reference
H A Dtyped_properties_054.phpt2 Typed properties disallow callable (nullable variant)
/PHP-8.2/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-8.2/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-8.2/ext/reflection/tests/
H A Dbug81208.phpt9 public function __construct(public bool $nullable = false) {}
13 #[MyAnnotation(name: "my_name", type: "integer", nullable: asdasdasd)]
H A DReflectionProperty_hasDefaultValue.phpt18 public ?int $nullable;
40 $property = new ReflectionProperty(TestClass::class, 'nullable');
H A DReflectionProperty_getDefaultValue.phpt20 public ?int $nullable;
45 $property = new ReflectionProperty(TestClass::class, 'nullable');
/PHP-8.2/Zend/tests/typehints/
H A Dfq_nullable.phpt2 Fully-qualified nullable parameter type
/PHP-8.2/Zend/tests/type_declarations/intersection_types/
H A Dimplicit_nullable_intersection_type.phpt2 Intersection types can be implicitly nullable
/PHP-8.2/Zend/tests/nullable_types/
H A Darray.phpt2 Explicitly nullable array type
H A Dfloat.phpt2 Explicitly nullable float type
H A Dint.phpt2 Explicitly nullable int type
H A Dstring.phpt2 Explicitly nullable string type
/PHP-8.2/Zend/tests/type_declarations/union_types/redundant_types/
H A Dnullable_null.phpt11 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 Dinvalid_nullable_type.phpt2 Intersection type cannot be nullable
/PHP-8.2/ext/odbc/tests/
H A Dbug78470.phpt2 Bug #78470 (odbc_specialcolumns() no longer accepts $nullable)

Completed in 33 milliseconds

12