Home
last modified time | relevance | path

Searched refs:null (Results 201 – 225 of 2061) sorted by relevance

12345678910>>...83

/php-src/ext/dom/tests/
H A DDOMDocument_getElementsByTagNameNS_match_any_namespace.phpt32 $namespace_str = $namespace !== NULL ? "'$namespace'" : "null";
40 test(null, '*');
49 // Should not give any output, because the null namespace is the same as the empty namespace
50 test(null, 'fallback');
52 test(null, 'include');
56 -- getElementsByTagNameNS(null, '*') --
80 -- getElementsByTagNameNS(null, 'fallback') --
81 -- getElementsByTagNameNS(null, 'include') --
/php-src/ext/pdo_mysql/tests/
H A Dbug_64705.phpt2 Bug #64705 errorInfo property of PDOException is null when PDO::__construct() fails
9 $pdo = new \PDO($dsn, null, null);
/php-src/ext/pdo_pgsql/tests/
H A Dbug_64705.phpt2 Bug #64705 errorInfo property of PDOException is null when PDO::__construct() fails
9 $pdo = new \PDO($dsn, null, null);
/php-src/Zend/tests/type_declarations/
H A Dtyped_properties_015.phpt6 public stdClass $bar = null;
10 …ult value for property of type stdClass may not be null. Use the nullable type ?stdClass to allow
/php-src/ext/spl/tests/
H A Dobserver_010.phpt2 SPL: SplObjectStorage null coalescing operator memory leak
10 var_dump($map[$b] ?? null);
11 var_dump($map[$a] ?? null);
H A Dbug53515.phpt2 Bug #53515 (property_exists incorrect on ArrayObject null and 0 values)
6 $a = array('a' => 1, 'b'=> true, 'c' => 0, 'd' => null, 'e' => false, 'f' => array());
13 echo $key . ': ' . (is_null($value) ? 'null' : @"$value") .
23 d: null array_key_exists: true property_exists: true
/php-src/ext/date/tests/
H A Dbug52063.phpt2 Bug #52063 (DateTime constructor's second argument doesn't have a null default value)
6 $a = new DateTime("2009-01-01", null);
9 $a = date_create("2009-01-01", null);
/php-src/Zend/tests/match/
H A D042.phpt7 null => 'null',
19 string(4) "null"
/php-src/ext/pgsql/
H A Dpgsql.stub.php469 function pg_close(?PgSql\Connection $connection = null): true {}
472 function pg_dbname(?PgSql\Connection $connection = null): string {}
474 function pg_last_error(?PgSql\Connection $connection = null): string {}
483 function pg_options(?PgSql\Connection $connection = null): string {}
486 function pg_port(?PgSql\Connection $connection = null): string {}
489 function pg_tty(?PgSql\Connection $connection = null): string {}
492 function pg_host(?PgSql\Connection $connection = null): string {}
498 function pg_version(?PgSql\Connection $connection = null): array {}
506 function pg_ping(?PgSql\Connection $connection = null): bool {}
689 function pg_untrace(?PgSql\Connection $connection = null): true {}
[all …]
/php-src/ext/opcache/tests/jit/
H A Dfe_reset_001.phpt18 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
22 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
26 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
30 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
34 Warning: foreach() argument must be of type array|object, null given in %sfe_reset_001.php on line 4
H A Dbug80802.phpt12 private static $threadLocalStorage = null;
15 if(self::$threadLocalStorage === null){
23 …if(self::$threadLocalStorage !== null and isset(self::$threadLocalStorage[$h = spl_object_id($this…
26 self::$threadLocalStorage = null;
/php-src/ext/pdo_sqlite/tests/
H A Dpdo_sqlite_open_flags.phpt11 $db = new PDO('sqlite:' . $filename, null, null, [PDO::ATTR_ERRMODE => PDO::ERRMODE_EXCEPTION]);
15 $db = new PDO('sqlite:' . $filename, null, null, [PDO::SQLITE_ATTR_OPEN_FLAGS => PDO::SQLITE_OPEN_R…
H A Dbug79664.phpt7 $pdo = new PDO('sqlite::memory:', null, null, [
18 string(4) "null"
/php-src/Zend/tests/return_types/
H A Drfc003.phpt2 RFC example: cannot return null with a return type declaration
6 return null;
12 Fatal error: Uncaught TypeError: foo(): Return value must be of type DateTime, null returned in %s:…
H A D010.phpt2 Returned null, expected array reference
6 return null;
13 Fatal error: Uncaught TypeError: foo(): Return value must be of type array, null returned in %s:%d
/php-src/ext/sockets/tests/
H A Dsocket_select-wrongparams-2.phpt7 $sockets = null;
8 $write = null;
9 $except = null;
/php-src/Zend/tests/
H A Dbug71428.1.phpt2 bug #71428.1: inheritance with null default values
6 public function m(?array $a = null) {}
13 Fatal error: Declaration of B::m(array $a = []) must be compatible with A::m(?array $a = null) in %…
H A Dbug70681.phpt2 Bug #70681: Segfault when binding $this of internal instance method to null
7 $c = $c->bindTo(null);
10 $c = $c->bindTo(null);
/php-src/ext/openssl/
H A Dopenssl.stub.php420 …icate, int $purpose, array $ca_info = [], ?string $untrusted_certificates_file = null): bool|int {}
451 …n(OpenSSLCertificateSigningRequest|string $csr, OpenSSLCertificate|string|null $ca_certificate, #[…
466 function openssl_pkey_new(?array $options = null): OpenSSLAsymmetricKey|false {}
518 …ilename = null, array $ca_info = [], ?string $untrusted_certificates_filename = null, ?string $con…
537 …s = null, array $ca_info = [], ?string $untrusted_certificates_filename = null, ?string $content =…
646 function openssl_random_pseudo_bytes(int $length, &$strong_result = null): string {}
/php-src/sapi/cli/tests/
H A D006.phpt73 Parameter #2 [ <optional> &$matches = null ]
84 Parameter #2 [ <optional> &$matches = null ]
97 Parameter #4 [ <optional> &$count = null ]
99 - Return [ array|string|null ]
108 Parameter #4 [ <optional> &$count = null ]
110 - Return [ array|string|null ]
119 Parameter #4 [ <optional> &$count = null ]
122 - Return [ array|string|null ]
130 Parameter #3 [ <optional> &$count = null ]
133 - Return [ array|string|null ]
[all …]
/php-src/ext/standard/tests/array/
H A Darray_map_variation3.phpt33 // associative array, containing null/empty/boolean values as key/value
34 /*13*/ array(NULL => "NULL", null => "null", "NULL" => NULL, "null" => null),
37 array(1 => '', 2 => "", 3 => NULL, 4 => null, 5 => false, 6 => true),
38 array('' => 1, "" => 2, NULL => 3, null => 4, false => 5, true => 6),
163 string(4) "null"
166 ["null"]=>
H A Darray_diff_assoc_variation4.phpt34 // null data
36 'null' => array(
37 NULL => 'null 1',
38 null => 'null 2'),
107 string(6) "null 2"
/php-src/ext/json/tests/
H A Dbug72069.phpt25 string(12) "{"end":null}"
26 string(12) "{"end":null}"
27 string(12) "{"end":null}"
/php-src/ext/bz2/tests/
H A Dbzopen_string_filename_with_null_bytes.phpt2 bzopen(): throw TypeError if filename contains null bytes
22 bzopen(): Argument #1 ($file) must not contain null bytes
23 bzopen(): Argument #1 ($file) must not contain null bytes
/php-src/ext/standard/tests/file/
H A Dfiletype_variation2.phpt10 if (!file_exists("/dev/null")) {
11 die('skip /dev/null not available');
17 print( filetype("/dev/null") )."\n";

Completed in 46 milliseconds

12345678910>>...83