Home
last modified time | relevance | path

Searched refs:null (Results 176 – 200 of 2061) sorted by relevance

12345678910>>...83

/php-src/ext/standard/tests/array/
H A Darray_merge_variation7.phpt14 $arr2 = array(0, 1, 2, null => 'null', 0 => 'float');
39 string(4) "null"
49 string(4) "null"
/php-src/ext/standard/tests/strings/
H A Dstrncasecmp_variation7.phpt5 /* Test strncasecmp() function with null terminated strings and binary values passed to 'str1' & 's…
7 echo "*** Test strncasecmp() function: with null terminated strings and binary inputs ***\n";
9 /* A binary function should not expect a null terminated string, and it should treat input as a raw…
19 *** Test strncasecmp() function: with null terminated strings and binary inputs ***
H A Djoin_variation3.phpt27 // associative array, containing null/empty/boolean values as key/value
28 array(NULL => "NULL", null => "null", "NULL" => NULL, "null" => null),
31 array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
32 array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
82 string(12) "null], [], ["
/php-src/ext/mysqli/tests/
H A Dgh8978.phpt16 mysqli_ssl_set($mysql, 'x509.key', 'x509.pem', 'x509.ca', null, null);
19 mysqli_real_connect($mysql, $host, $user, $passwd, null, $port, null, MYSQLI_CLIENT_SSL);
/php-src/ext/pdo_pgsql/
H A Dpdo_pgsql.stub.php31 …, array $rows, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
33 …ing $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
35 …leName, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): array|false {}
37 …ing $filename, string $separator = "\t", string $nullAs = "\\\\N", ?string $fields = null): bool {}
/php-src/Zend/tests/
H A Dgc_048.phpt41 var_dump($cycleWithoutDestructorWeak->get() !== null);
43 var_dump($cycleWithoutDestructorWeak->get() !== null);
48 var_dump($cycleWithDestructorWeak->get() !== null);
50 var_dump($cycleWithDestructorWeak->get() !== null);
H A Dctor_promotion_null_default.phpt2 Constructor promotion with null default, requires an explicitly nullable type
7 public function __construct(public int $x = null) {}
12 Fatal error: Cannot use null as default value for parameter $x of type int in %s on line %d
/php-src/ext/json/tests/
H A Dbug43941.phpt16 string(4) "null"
17 string(17) "[null,null,"abc"]"
/php-src/Zend/tests/return_types/
H A D002.phpt2 Returned null, expected array
6 return null;
12 Fatal error: Uncaught TypeError: test1(): Return value must be of type array, null returned in %s:%d
/php-src/Zend/tests/type_declarations/
H A Dtyped_return_null_without_value.phpt2 Typed null return without value generates compile-time error
6 function test() : null {
14 Fatal error: A function with return type must return a value (did you mean "return null;" instead o…
H A Dtyped_return_null_false_without_value.phpt2 Typed null|false return without value generates compile-time error
6 function test() : null|false {
14 Fatal error: A function with return type must return a value (did you mean "return null;" instead o…
/php-src/ext/spl/tests/
H A DSplFixedArray_setSize_param_null.phpt2 SplFixedArray::setSize() with a null parameter
8 $fixed_array->setSize(null);
12 Deprecated: SplFixedArray::setSize(): Passing null to parameter #1 ($size) of type int is deprecate…
H A Dspl_autoload_007.phpt55 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, class MyAutoLoad…
58 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, cannot access pr…
64 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, non-static metho…
72 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, class MyAutoLoad…
80 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, cannot access pr…
96 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, non-static metho…
105 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, class MyAutoLoad…
114 spl_autoload_register(): Argument #1 ($callback) must be a valid callback or null, cannot access pr…
/php-src/ext/dom/
H A Dphp_dom.stub.php363 …clusive = false, bool $withComments = false, ?array $xpath = null, ?array $nsPrefixes = null): str…
474 …nction createDocument(?string $namespace = null, string $qualifiedName = "", ?DOMDocumentType $doc…
590 public mixed $schemaTypeInfo = null;
608 public mixed $schemaTypeInfo = null;
957 public ?string $actualEncoding = null;
963 public ?string $encoding = null;
969 public ?string $version = null;
1017 public function registerPhpFunctions(string|array|null $restrict = null): void {}
1211 …clusive = false, bool $withComments = false, ?array $xpath = null, ?array $nsPrefixes = null): str…
1648 …ction evaluate(string $expression, ?Node $contextNode = null, bool $registerNodeNS = true): null|b…
[all …]
/php-src/ext/pdo/tests/
H A Ddebug_emulated_prepares.phpt29 $stmt = $db->prepare('SELECT :bool, :int, :string, :null');
33 $stmt->bindValue(':null', null, PDO::PARAM_NULL);
44 SQL: [34] SELECT :bool, :int, :string, :null
62 Key: Name: [5] :null
64 name=[5] ":null"
/php-src/ext/openssl/tests/
H A Dopenssl_csr_sign_with_serial_hex.phpt29 var_dump($cert1 = openssl_csr_sign($csr, null, $privkey, 365, $args, 1234567));
30 var_dump($cert2 = openssl_csr_sign($csr, null, $privkey, 365, $args, serial_hex: 'DEADBEEF'));
31 var_dump($cert3 = openssl_csr_sign($csr, null, $privkey, 365, $args, 10, 'DEADBEEFDEADBEEFDEADBEEFD…
33 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args, 0, 'DEADBEEG'));
34 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args, 0, '0xDEADBEEF'));
35 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args, 0, str_repeat('FF', 500)));
/php-src/ext/reflection/tests/
H A Dbug77772.phpt2 Bug #77772: ReflectionClass::getMethods(null) doesn't work
12 foreach ($rc->getMethods(null) as $method) {
15 foreach ($rc->getProperties(null) as $prop) {
/php-src/Zend/tests/type_declarations/intersection_types/
H A Dbug81268.phpt2 Bug #81268 Wrong message when using null as a default value for intersection types
7 public X&Y $y = null;
12 Fatal error: Cannot use null as default value for property Test::$y of type X&Y in %s on line %d
/php-src/Zend/tests/type_declarations/mixed/syntax/
H A Dmixed_parameter_error2.phpt2 Test that the nullable mixed parameter type is not valid even though a null default value
6 function foo(?mixed $a = null)
12 Fatal error: Type mixed cannot be marked as nullable since mixed already includes null in %s on lin…
/php-src/Zend/tests/type_declarations/iterable/
H A Diterable_alias_redundancy_object_4.phpt6 function bar(): iterable|object|T|null {
7 return null;
12 Fatal error: Type Traversable|T|object|array|null contains both object and a class type, which is r…
H A Diterable_alias_redundancy_object_5.phpt6 function bar(): T|object|iterable|null {
7 return null;
12 Fatal error: Type T|Traversable|object|array|null contains both object and a class type, which is r…
H A Diterable_alias_redundancy_object_6.phpt6 function bar(): T|iterable|object|null {
7 return null;
12 Fatal error: Type T|Traversable|object|array|null contains both object and a class type, which is r…
H A Diterable_alias_redundancy_object_3.phpt6 function bar(): object|iterable|T|null {
7 return null;
12 Fatal error: Type Traversable|T|object|array|null contains both object and a class type, which is r…
/php-src/ext/opcache/tests/opt/
H A Dassign_op_002.phpt2 …zation of ASSIGN_OP may lead to incorrect result (sub assign -> pre dec conversion for null values)
9 function foo(?int $a = null) {
14 var_dump(foo(null));
/php-src/ext/standard/tests/file/
H A Ddisk_free_space_variation.phpt106 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
107 diskfreespace(): Argument #1 ($directory) must not contain any null bytes
110 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
111 diskfreespace(): Argument #1 ($directory) must not contain any null bytes
114 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
115 diskfreespace(): Argument #1 ($directory) must not contain any null bytes
118 disk_free_space(): Argument #1 ($directory) must not contain any null bytes
119 diskfreespace(): Argument #1 ($directory) must not contain any null bytes

Completed in 29 milliseconds

12345678910>>...83