Home
last modified time | relevance | path

Searched refs:null (Results 126 – 150 of 1803) sorted by relevance

12345678910>>...73

/PHP-8.0/ext/spl/
H A Dphp_spl.stub.php14 function spl_autoload(string $class, ?string $file_extensions = null): void {}
18 function spl_autoload_extensions(?string $file_extensions = null): string {}
22 function spl_autoload_register(?callable $callback = null, bool $throw = true, bool $prepend = fals…
32 function iterator_apply(Traversable $iterator, callable $callback, ?array $args = null): int {}
/PHP-8.0/Zend/tests/
H A Dbug68446.phpt6 const BAR = null;
16 b(null);
21 a(null);
35 Fatal error: Uncaught TypeError: a(): Argument #1 ($a) must be of type array, null given, called in…
H A Dbug79155.phpt19 $t->a = null;
20 $t->b = null;
21 $t->c = null;
22 $t->d = 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-8.0/ext/ldap/tests/
H A Dldap_read_variation1.phpt11 ldap_read(null, null, null, $array);
/PHP-8.0/ext/reflection/
H A Dphp_reflection.stub.php103 public function getAttributes(?string $name = null, int $flags = 0): array {}
182 public function getClosure(?object $object = null) {}
251 public function getMethods(?int $filter = null) {}
260 public function getProperties(?int $filter = null) {}
266 public function getConstants(?int $filter = null) {}
269 public function getReflectionConstants(?int $filter = null) {}
365 public function getAttributes(?string $name = null, int $flags = 0): array {}
386 public function getValue(?object $object = null) {}
392 public function isInitialized(?object $object = null) {}
435 public function getAttributes(?string $name = null, int $flags = 0): array {}
[all …]
/PHP-8.0/ext/sockets/
H A Dsockets.stub.php27 function socket_write(Socket $socket, string $data, ?int $length = null): int|false {}
35 function socket_getsockname(Socket $socket, &$address, &$port = null): bool {}
41 function socket_getpeername(Socket $socket, &$address, &$port = null): bool {}
45 function socket_connect(Socket $socket, string $address, ?int $port = null): bool {}
61 function socket_recvfrom(Socket $socket, &$data, int $length, int $flags, &$address, &$port = null)…
63 …t $socket, string $data, int $length, int $flags, string $address, ?int $port = null): int|false {}
88 function socket_last_error(?Socket $socket = null): int {}
90 function socket_clear_error(?Socket $socket = null): void {}
104 function socket_addrinfo_lookup(string $host, ?string $service = null, array $hints = []): array|fa…
/PHP-8.0/Zend/tests/type_declarations/union_types/
H A Dtype_checking_strict.phpt57 test('int|string|null', $values);
76 null => Argument ... must be of type int|float, null given
92 null => Argument ... must be of type int|float|false, null given
108 null => Argument ... must be of type int|float|bool, null given
124 null => Argument ... must be of type int|bool, null given
129 Type int|string|null:
140 null => null
156 null => Argument ... must be of type string|bool, null given
172 null => Argument ... must be of type array|float, null given
188 null => Argument ... must be of type array|string, null given
[all …]
/PHP-8.0/build/
H A Dshtool436 mkdir "$tmpdir" >/dev/null 2>&1
505 … term_bold=`awk 'BEGIN { printf("%c%c%c%c", 27, 91, 49, 109); }' </dev/null 2>/dev/null`
506 term_norm=`awk 'BEGIN { printf("%c%c%c", 27, 91, 109); }' </dev/null 2>/dev/null`
509 … term_bold=`awk 'BEGIN { printf("%c%c%c%c%c%c", 27, 91, 49, 109, 0, 0); }' </dev/null 2>/dev/null`
510 … term_norm=`awk 'BEGIN { printf("%c%c%c%c%c", 27, 91, 109, 0, 0); }' </dev/null 2>/dev/null`
726 time_year=`date '+%Y' 2>/dev/null`
1235 ) 2>/dev/null`
1679 if [ -x /bin/sh ] 2>/dev/null; then
1723 rm -f $tmpfile >/dev/null 2>&1
1747 rm -f $tmpfile >/dev/null 2>&1
[all …]
/PHP-8.0/Zend/tests/type_declarations/
H A Dtyped_properties_049.phpt6 public int $foo = null;
10 …r: Default value for property of type int may not be null. Use the nullable type ?int to allow nul…
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-8.0/Zend/tests/nullsafe_operator/
H A D030.phpt12 $null = null;
13 var_dump(empty($null?->method()));
/PHP-8.0/ext/standard/tests/general_functions/
H A Dis_null.phpt5 echo "*** Testing is_null() with valid null values ***\n";
6 // different valid null values
13 // unset them to make it null.
16 $null_var2 = null;
20 null,
32 null values, expected output: bool(true) */
39 echo "\n*** Testing is_bool() on non null values ***\n";
81 "null",
109 array(null),
134 *** Testing is_null() with valid null values ***
[all …]
/PHP-8.0/ext/soap/tests/interop/Round2/Base/
H A Dr2_base_015s.phpt18 new SoapVar('arg', XSD_STRING, null, null, 'varString'),
19 new SoapVar('34', XSD_INT, null, null, 'varInt'),
20 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat')
23 new SoapVar('arg', XSD_STRING, null, null, 'varString'),
24 new SoapVar('34', XSD_INT, null, null, 'varInt'),
25 new SoapVar('325.325', XSD_FLOAT, null, null, 'varFloat')
/PHP-8.0/ext/openssl/tests/
H A Dopenssl_csr_sign_basic.phpt33 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $args));
34 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg));
38 var_dump(openssl_csr_sign($csr, null, $wrong, 365));
39 var_dump(openssl_csr_sign($wrong, null, $privkey, 365));
42 openssl_csr_sign(array(), null, $privkey, 365);
54 var_dump(openssl_csr_sign($csr, null, array(), 365));
58 var_dump(openssl_csr_sign($csr, null, $privkey, 365, $config_arg));
79 openssl_csr_sign(): Argument #2 ($ca_certificate) must be of type OpenSSLCertificate|string|null, a…
/PHP-8.0/ext/intl/tests/
H A Dbug62082.phpt9 var_dump(locale_get_display_name(str_repeat("a", 300), null));
10 var_dump(locale_get_display_name(str_repeat("a", 512), null));
11 var_dump(locale_get_display_name(str_repeat("a", 600), null));
/PHP-8.0/ext/json/tests/
H A Dbug43941.phpt16 string(4) "null"
17 string(17) "[null,null,"abc"]"
/PHP-8.0/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-8.0/ext/intl/formatter/
H A Dformatter.stub.php7 public function __construct(string $locale, int $style, ?string $pattern = null) {}
13 public static function create(string $locale, int $style, ?string $pattern = null) {}
26 …public function parse(string $string, int $type = NumberFormatter::TYPE_DOUBLE, &$offset = null) {}
40 public function parseCurrency(string $string, &$currency, &$offset = null) {}
/PHP-8.0/ext/intl/tests/locale/
H A Dbug74993.phpt27 Parameter #1 [ <optional> ?string $displayLocale = null ]
35 Parameter #1 [ <optional> ?string $displayLocale = null ]
43 Parameter #1 [ <optional> ?string $displayLocale = null ]
51 Parameter #1 [ <optional> ?string $displayLocale = null ]
59 Parameter #1 [ <optional> ?string $displayLocale = null ]
78 Parameter #3 [ <optional> ?string $defaultLocale = null ]
/PHP-8.0/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-8.0/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-8.0/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 ***
/PHP-8.0/ext/standard/tests/array/
H A Darray_merge_variation7.phpt14 $arr2 = array(0, 1, 2, null => 'null', 1.234E-10 => 'float');
39 string(4) "null"
49 string(4) "null"
/PHP-8.0/ext/com_dotnet/
H A Dcom_extension.stub.php57 function com_get_active_object(string $prog_id, ?int $codepage = null): variant {}
61 …event_sink(variant $variant, object $sink_object, array|string|null $sink_interface = null): bool …
63 function com_print_typeinfo(variant|string $variant, ?string $dispatch_interface = null, bool $disp…
71 … public function __construct(mixed $value = null, int $type = VT_EMPTY, int $codepage = CP_ACP) {}
76 …public function __construct(string $module_name, array|string|null $server_name = null, int $codep…

Completed in 59 milliseconds

12345678910>>...73