/php-src/ext/dom/tests/ |
H A D | DOMDocument_getElementsByTagNameNS_match_any_namespace.phpt | 32 $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 D | bug_64705.phpt | 2 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 D | bug_64705.phpt | 2 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 D | typed_properties_015.phpt | 6 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 D | observer_010.phpt | 2 SPL: SplObjectStorage null coalescing operator memory leak 10 var_dump($map[$b] ?? null); 11 var_dump($map[$a] ?? null);
|
H A D | bug53515.phpt | 2 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 D | bug52063.phpt | 2 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 D | 042.phpt | 7 null => 'null', 19 string(4) "null"
|
/php-src/ext/pgsql/ |
H A D | pgsql.stub.php | 469 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 D | fe_reset_001.phpt | 18 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 D | bug80802.phpt | 12 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 D | pdo_sqlite_open_flags.phpt | 11 $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 D | bug79664.phpt | 7 $pdo = new PDO('sqlite::memory:', null, null, [ 18 string(4) "null"
|
/php-src/Zend/tests/return_types/ |
H A D | rfc003.phpt | 2 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 D | 010.phpt | 2 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 D | socket_select-wrongparams-2.phpt | 7 $sockets = null; 8 $write = null; 9 $except = null;
|
/php-src/Zend/tests/ |
H A D | bug71428.1.phpt | 2 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 D | bug70681.phpt | 2 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 D | openssl.stub.php | 420 …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 D | 006.phpt | 73 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 D | array_map_variation3.phpt | 33 // 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 D | array_diff_assoc_variation4.phpt | 34 // 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 D | bug72069.phpt | 25 string(12) "{"end":null}" 26 string(12) "{"end":null}" 27 string(12) "{"end":null}"
|
/php-src/ext/bz2/tests/ |
H A D | bzopen_string_filename_with_null_bytes.phpt | 2 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 D | filetype_variation2.phpt | 10 if (!file_exists("/dev/null")) { 11 die('skip /dev/null not available'); 17 print( filetype("/dev/null") )."\n";
|