Home
last modified time | relevance | path

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

12

/PHP-7.4/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; }
35 Testing int nullable:
37 Testing float nullable:
39 Testing string nullable:
41 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 Dnullable_void.phpt2 Void cannot be nullable
11 Fatal error: Void type cannot be nullable in %s on line %d
H A Dnullable_null.phpt2 nullable class
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)
H A Dtyped_properties_049.phpt10 Fatal error: Default value for property of type int may not be null. Use the nullable type ?int to …
H A Dtyped_properties_015.phpt10 Fatal error: Default value for property of type stdClass may not be null. Use the nullable type ?st…
H A Dtyped_properties_003.phpt12 Fatal error: Uncaught Error: Cannot access uninitialized non-nullable property class@anonymous::$in…
/PHP-7.4/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-7.4/Zend/tests/typehints/
H A Dfq_nullable.phpt2 Fully-qualified nullable parameter type
/PHP-7.4/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
H A Dinvariant_param_and_return_succeeds.phpt2 Invariant parameter and return types work with nullable types
H A Dcovariant_nullable_param_fails.phpt2 Subtype cannot remove nullable parameter (covariance)
H A Dnullable_type_parameters_do_not_have_default_value.phpt2 Explicit nullable types do not imply a default value
/PHP-7.4/ext/odbc/tests/
H A Dbug78470.phpt2 Bug #78470 (odbc_specialcolumns() no longer accepts $nullable)
/PHP-7.4/ext/pdo_oci/tests/
H A Dpdo_oci_stmt_getcolumnmeta.phpt239 // verify the flags array countains a not_null flag and not nullable flags
248 if ($flag == 'nullable')
255 // verify the flags array countains a nullable flag and not not_null flags
264 if ($flag == 'nullable')
/PHP-7.4/ext/odbc/
H A Dphp_odbc_includes.h204 SQLSMALLINT nullable; member
H A Dphp_odbc.c292 ZEND_ARG_INFO(0, nullable)
1277 &result->param_info[i].scale, &result->param_info[i].nullable); in PHP_FUNCTION()
3722 SQLUSMALLINT type, scope, nullable; in PHP_FUNCTION() local
3732 nullable = (SQLUSMALLINT) vnullable; in PHP_FUNCTION()
3759 nullable); in PHP_FUNCTION()
/PHP-7.4/ext/pdo_odbc/
H A Dodbc_stmt.c286 SWORD sqltype = 0, ctype = 0, scale = 0, nullable = 0; in odbc_stmt_param_hook() local
322 …QLDescribeParam(S->stmt, (SQLUSMALLINT) param->paramno+1, &sqltype, &precision, &scale, &nullable); in odbc_stmt_param_hook()
338 nullable = 1; in odbc_stmt_param_hook()
/PHP-7.4/ext/pdo/
H A Dpdo_sql_parser.re270 /* assume all types are nullable */

Completed in 95 milliseconds

12