/PHP-8.0/ext/standard/tests/file/ |
H A D | bug51094.phpt | 6 $ini = parse_ini_string('ini="ini;raw"', null, INI_SCANNER_RAW); 8 $ini = parse_ini_string('ini="ini;raw', null, INI_SCANNER_RAW); 10 $ini = parse_ini_string('ini=ini;raw', null, INI_SCANNER_RAW); 12 $ini = parse_ini_string('ini=ini"raw', null, INI_SCANNER_RAW); 14 $ini = parse_ini_string("ini=\r\niniraw", null, INI_SCANNER_RAW);
|
/PHP-8.0/ext/hash/tests/ |
H A D | hash_equals.phpt | 28 fn() => hash_equals(null, ""), 29 fn() => hash_equals(null, 123), 30 fn() => hash_equals(null, null), 45 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given 46 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given 47 [TypeError] hash_equals(): Argument #1 ($known_string) must be of type string, null given
|
/PHP-8.0/ext/standard/tests/array/ |
H A D | array_filter_variation7.phpt | 11 $input = array(0, 1, -1, 10, 100, 1000, 'Hello', null); 17 // anonymous callback function with null argument 18 echo "Anonymous callback function with null argument\n"; 21 // anonymous callback function with argument and null statement 22 echo "Anonymous callback function with regular argument and null statement\n"; 40 Anonymous callback function with null argument 59 Anonymous callback function with regular argument and null statement
|
/PHP-8.0/Zend/tests/type_declarations/union_types/ |
H A D | type_checking_weak.phpt | 55 test('int|string|null', $values); 74 null => Argument ... must be of type int|float, null given 90 null => Argument ... must be of type int|float|false, null given 106 null => Argument ... must be of type int|float|bool, null given 122 null => Argument ... must be of type int|bool, null given 127 Type int|string|null: 138 null => null 154 null => Argument ... must be of type string|bool, null given 170 null => Argument ... must be of type array|float, null given 186 null => Argument ... must be of type array|string, null given [all …]
|
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_substitute_character_variation_strict_types.phpt | 65 // null data 67 'lowercase null' => null, 122 …itute_character(): Argument #1 ($substitute_character) must be of type string|int|null, float given 124 …itute_character(): Argument #1 ($substitute_character) must be of type string|int|null, float given 126 …itute_character(): Argument #1 ($substitute_character) must be of type string|int|null, float given 128 …itute_character(): Argument #1 ($substitute_character) must be of type string|int|null, float given 141 --lowercase null-- 144 …titute_character(): Argument #1 ($substitute_character) must be of type string|int|null, bool given 146 …titute_character(): Argument #1 ($substitute_character) must be of type string|int|null, bool given 148 …titute_character(): Argument #1 ($substitute_character) must be of type string|int|null, bool given [all …]
|
H A D | mb_send_mail_null_bytes.phpt | 2 mb_send_mail() with null bytes in arguments 34 mb_send_mail(): Argument #1 ($to) must not contain any null bytes 35 mb_send_mail(): Argument #2 ($subject) must not contain any null bytes 36 mb_send_mail(): Argument #3 ($message) must not contain any null bytes 37 mb_send_mail(): Argument #4 ($additional_headers) must not contain any null bytes 38 mb_send_mail(): Argument #5 ($additional_params) must not contain any null bytes
|
/PHP-8.0/sapi/fpm/tests/ |
H A D | logtool.inc | 35 * @var string|null 37 private ?string $level = null; 55 * @var string|null 60 * @var string|null 195 if ($line !== null) { 553 string $pool = null, 584 string $pool = null, 705 string $line = null, 738 string $line = null, 782 * @return string|null [all …]
|
/PHP-8.0/Zend/tests/ |
H A D | bug78598.phpt | 6 $my_var = null; 14 $my_var = null; 18 $my_var = null; 22 $my_var = null;
|
/PHP-8.0/Zend/tests/nullsafe_operator/ |
H A D | 026.phpt | 9 $null = null; 12 Test::${$null?->foo}->bar; 18 Test::{$null?->foo}()->bar;
|
H A D | 003.phpt | 14 $null = null; 17 var_dump(null?->bar); 18 var_dump(null?->baz); 19 var_dump(null?->qux()); 20 var_dump(null?->quux());
|
H A D | 033.phpt | 14 $null = null; 17 var_dump("{$null?->foo}"); 18 var_dump("{$null?->bar()}"); 19 var_dump("$null?->foo"); 20 var_dump("$null?->bar()");
|
/PHP-8.0/ext/standard/tests/strings/ |
H A D | strncmp_variation7.phpt | 2 Test strncmp() function : usage variations - binary safe(null terminated strings) 5 /* Test strncmp() function with binary values passed to 'str1' & 'str2' and with the null terminate… 7 echo "*** Test strncmp() function: Checking with the null terminated strings ***\n"; 9 /* A binary function should not expect a null terminated string, and it should treat input as a raw… 17 *** Test strncmp() function: Checking with the null terminated strings ***
|
/PHP-8.0/ext/pdo_pgsql/tests/ |
H A D | bug69752.phpt | 21 id bigserial not null primary key, 22 field1 text not null, 23 field2 text not null, 24 field3 text not null, 25 field4 int4 not null 30 $first_time_usage = null; 43 if ($first_time_usage === null) $first_time_usage = $usage;
|
H A D | debug_emulated_prepares.phpt | 16 $stmt = $db->prepare('SELECT :bool, :int, :string, :null'); 20 $stmt->bindValue(':null', null, PDO::PARAM_NULL); 27 SQL: [34] SELECT :bool, :int, :string, :null 45 Key: Name: [5] :null 47 name=[5] ":null"
|
/PHP-8.0/Zend/tests/nullable_types/ |
H A D | union_nullable_property_fails.phpt | 7 public string|int $b = null; 15 …alue for property of type string|int may not be null. Use the nullable type string|int|null to all…
|
/PHP-8.0/ext/standard/tests/mail/ |
H A D | mail_null_bytes.phpt | 2 mail() with null bytes in arguments 34 mail(): Argument #1 ($to) must not contain any null bytes 35 mail(): Argument #2 ($subject) must not contain any null bytes 36 mail(): Argument #3 ($message) must not contain any null bytes 37 mail(): Argument #4 ($additional_headers) must not contain any null bytes 38 mail(): Argument #5 ($additional_params) must not contain any null bytes
|
/PHP-8.0/ext/pgsql/ |
H A D | pgsql.stub.php | 15 function pg_close($connection = null): bool {} 18 function pg_dbname($connection = null): string {} 21 function pg_last_error($connection = null): string {} 28 function pg_errormessage($connection = null): string {} 31 function pg_options($connection = null): string {} 34 function pg_port($connection = null): string {} 37 function pg_tty($connection = null): string {} 40 function pg_host($connection = null): string {} 43 function pg_version($connection = null): array {} 49 function pg_ping($connection = null): bool {} [all …]
|
/PHP-8.0/ext/reflection/tests/ |
H A D | bug60367.phpt | 22 $method->invoke(null); 23 $method->invokeArgs(null, array()); 25 $method->invoke(null); 26 $method->invokeArgs(null, array());
|
/PHP-8.0/ext/xmlwriter/tests/ |
H A D | bug79344.phpt | 14 $writer->writeAttributeNS(null, 'test1', null, 'test1'); 15 $writer->startAttributeNS(null, 'test2', null);
|
/PHP-8.0/ext/mysqli/tests/ |
H A D | bug55283.phpt | 52 mysqli_ssl_set($link, null, null, null, null, "AES256-SHA"); 53 if (my_mysqli_real_connect($link, 'p:' . $host, $user, $passwd, $db, $port, null, $flags)) { 60 mysqli_ssl_set($link2, null, null, null, null, "AES256-SHA"); 61 if (my_mysqli_real_connect($link2, $host, $user, $passwd, $db, $port, null, $flags)) {
|
/PHP-8.0/ext/intl/ |
H A D | php_intl.stub.php | 12 function intlcal_create_instance($timezone = null, ?string $locale = null): ?IntlCalendar {} 40 function intlcal_clear(IntlCalendar $calendar, ?int $field = null): bool {} 80 function intlcal_is_weekend(IntlCalendar $calendar, ?float $timestamp = null): bool {} 161 …int $dateType, int $timeType, $timezone = null, IntlCalendar|int|null $calendar = null, ?string $p… 197 function datefmt_format_object($datetime, $format = null, ?string $locale = null): string|false {} 250 function grapheme_strlen(string $string): int|false|null {} 260 function grapheme_substr(string $string, int $offset, ?int $length = null): string|false {} 290 function locale_get_keywords(string $locale): array|false|null {} 370 function intltz_create_enumeration($countryOrRawOffset = null): IntlIterator|false {} 374 …_create_time_zone_id_enumeration(int $type, ?string $region = null, ?int $rawOffset = null): IntlI… [all …]
|
/PHP-8.0/ext/spl/tests/ |
H A D | bug77903.phpt | 8 var_dump($a->current()); // null 14 var_dump($a->current()); // null 20 var_dump($a->current()); // null 23 var_dump($a->current()); // null 29 var_dump($a->current()); // null 32 var_dump($a->current()); // null
|
/PHP-8.0/ext/opcache/tests/ |
H A D | bug75556.phpt | 11 function createFromFormat($format, $date, ?\DateTimeZone $tz = null): ?\DateTimeInterface 13 if ($tz !== null 20 return null; 23 var_dump(createFromFormat('m/d/Y', '12/07/2017', null));
|
/PHP-8.0/ext/opcache/tests/jit/ |
H A D | bug80447.phpt | 15 return [null, null]; 27 + ($treeNode[0][0] === null ? 1 : checkTree($treeNode[0])) 28 + ($treeNode[1][0] === null ? 1 : checkTree($treeNode[1]));
|
/PHP-8.0/ext/xsl/ |
H A D | php_xsl.stub.php | 17 public function transformToDoc(object $document, ?string $returnClass = null) {} 32 public function setParameter(string $namespace, array|string $name, ?string $value = null) {} 44 public function registerPHPFunctions(array|string|null $functions = null) {}
|