Home
last modified time | relevance | path

Searched refs:null (Results 1 – 25 of 1925) sorted by relevance

12345678910>>...77

/php-src/Zend/tests/named_params/
H A Dreferences.phpt15 &$p00 = null, $p01 = null, &$p02 = null, $p03 = null, &$p04 = null, $p05 = null,
16 &$p06 = null, $p07 = null, &$p08 = null, $p09 = null, &$p10 = null, $p11 = null,
17 &$p12 = null, $p13 = null, &$p14 = null, $p15 = null, &$p16 = null, $p17 = null,
18 &$p18 = null, $p19 = null, &$p20 = null, $p21 = null, &$p22 = null, $p23 = null,
19 &$p24 = null, $p25 = null, &$p26 = null, $p27 = null, &$p28 = null, $p29 = null,
20 &$p30 = null, $p31 = null, &$p32 = null, $p33 = null, &$p34 = null, $p35 = null
/php-src/Zend/tests/
H A Darginfo_zpp_mismatch.phpt29 @$function(null);
33 @$function(null, null);
37 @$function(null, null, null);
41 @$function(null, null, null, null);
45 @$function(null, null, null, null, null);
49 @$function(null, null, null, null, null, null);
53 @$function(null, null, null, null, null, null, null);
57 @$function(null, null, null, null, null, null, null, null);
H A Darginfo_zpp_mismatch_strict.phpt31 @$function(null);
35 @$function(null, null);
39 @$function(null, null, null);
43 @$function(null, null, null, null);
47 @$function(null, null, null, null, null);
51 @$function(null, null, null, null, null, null);
55 @$function(null, null, null, null, null, null, null);
59 @$function(null, null, null, null, null, null, null, null);
H A Dbug75921.phpt7 $null->a = 42;
11 var_dump($null);
12 unset($null);
19 var_dump($null);
20 unset($null);
27 var_dump($null);
28 unset($null);
35 var_dump($null);
36 unset($null);
43 var_dump($null);
[all …]
H A Dclosure_061.phpt22 [null, null],
31 [null, null],
40 [null, 'Cls'],
43 [null, null],
62 [null, null],
69 [null, null],
114 bindTo(null, null):
135 bindTo(null, null):
165 bindTo(null, null):
210 bindTo(null, null):
[all …]
H A Doffset_null.phpt2 using different variables to access null offsets
6 $null = NULL;
8 var_dump($null[1]);
9 var_dump($null[0.0836]);
10 var_dump($null[NULL]);
11 var_dump($null["run away"]);
13 var_dump($null[TRUE]);
14 var_dump($null[FALSE]);
17 var_dump($null[$fp]);
20 var_dump($null[$obj]);
[all …]
/php-src/ext/phar/tests/zip/files/
H A Dcorrupt2.php.inc5 $a->addFile('hi2', null, 'hii2', null, null, 'encrypt', 'encrypt');
12 $a->addFile('hii', null, 'hii', null, null, 'filename_len', 'filename_len');
16 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress');
19 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 2);
22 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 3);
25 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 4);
28 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 5);
31 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 6);
34 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 7);
37 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 9);
[all …]
/php-src/Zend/tests/nullsafe_operator/
H A D014.phpt21 $null = null;
23 try_and_dump(fn() => $null?->null() + $null?->null());
24 try_and_dump(fn() => $foo?->bar() + $null?->null());
25 try_and_dump(fn() => $null?->null() + $foo?->bar());
26 try_and_dump(fn() => $foo->bar() + $null?->null());
27 try_and_dump(fn() => $null?->null() + $foo->bar());
28 try_and_dump(fn() => $null?->null() + $null->null());
29 try_and_dump(fn() => $null->null() + $null?->null());
43 Call to a member function null() on null
44 Call to a member function null() on null
H A D001.phpt7 function null() {
9 return null;
18 var_dump(null?->bar());
44 var_dump($foo->self(null?->bar())->null());
60 string(11) "Foo::null()"
62 string(11) "Foo::null()"
64 string(11) "Foo::null()"
66 string(11) "Foo::null()"
68 string(11) "Foo::null()"
70 string(11) "Foo::null()"
[all …]
/php-src/ext/phar/tests/zip/
H A Dbzip2.phpt26 $a->addFile('hi2', null, 'hii2', null, null, 'encrypt', 'encrypt');
33 $a->addFile('hii', null, 'hii', null, null, 'filename_len', 'filename_len');
37 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress');
40 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 2);
43 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 3);
46 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 4);
49 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 5);
52 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 6);
55 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 7);
58 $a->addFile('hi', null, 'hii', null, null, 'compress', 'compress', 9);
[all …]
/php-src/ext/mbstring/
H A Dmbstring.stub.php73 function mb_detect_order(array|string|null $encoding = null): array|bool {}
76 function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool {}
114 function mb_substr(string $string, int $start, ?int $length = null, ?string $encoding = null): stri…
117 function mb_strcut(string $string, int $start, ?int $length = null, ?string $encoding = null): stri…
142 function mb_trim(string $string, ?string $characters = null, ?string $encoding = null): string {}
144 function mb_ltrim(string $string, ?string $characters = null, ?string $encoding = null): string {}
146 function mb_rtrim(string $string, ?string $characters = null, ?string $encoding = null): string {}
188 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {}
225 function mb_ereg_search(?string $pattern = null, ?string $options = null): bool {}
231 function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false {}
[all …]
/php-src/ext/soap/
H A Dsoap.stub.php444 public mixed $data = null;
457 public mixed $detail = null;
461 …ct(array|string|null $code, string $string, ?string $actor = null, mixed $details = null, ?string …
475 …encoding, ?string $typeName = null, ?string $typeNamespace = null, ?string $nodeName = null, ?stri…
515 private ?int $style = null;
516 private ?int $use = null;
521 private $sdl = null;
523 private $typemap = null;
525 private $httpsocket = null;
527 private $httpurl = null;
[all …]
/php-src/ext/intl/tests/
H A Dgh8115.phpt13 new \IntlDateFormatter(null, null, null);
16 new \IntlRuleBasedBreakIterator(null, null);
19 new \IntlGregorianCalendar(null, null);
20 new \Collator(null);
22 new \IntlDatePatternGenerator(null);
23 new \NumberFormatter(null, null);
25 new \MessageFormatter(null, null);
27 new \ResourceBundle(null, null, null);
31 Caught (8192): IntlDateFormatter::__construct(): Passing null to parameter #2 ($dateType) of type i…
35 Caught (8192): Collator::__construct(): Passing null to parameter #1 ($locale) of type string is de…
[all …]
/php-src/ext/pdo_mysql/tests/
H A Dbug68371.phpt23 PDO::ATTR_AUTOCOMMIT => [null],
24 PDO::ATTR_PREFETCH => [null],
25 PDO::ATTR_TIMEOUT => [null],
26 PDO::ATTR_ERRMODE => [null],
29 PDO::ATTR_SERVER_INFO => [null],
31 PDO::ATTR_CASE => [null],
32 PDO::ATTR_CURSOR_NAME => [null],
33 PDO::ATTR_CURSOR => [null],
34 PDO::ATTR_ORACLE_NULLS => [null],
35 PDO::ATTR_PERSISTENT => [null],
[all …]
/php-src/ext/phar/
H A Dphar_object.stub.php108 …lic function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension…
111 …public function convertToData(?int $format = null, ?int $compression = null, ?string $extension =
126 …public function extractTo(string $directory, array|string|null $files = null, bool $overwrite = fa…
193 public function setDefaultStub(?string $index = null, ?string $webIndex = null): bool {}
219 …final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): s…
242 ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null,
312 …lic function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension…
318 …public function convertToData(?int $format = null, ?int $compression = null, ?string $extension =
461 public function setDefaultStub(?string $index = null, ?string $webIndex = null): bool {}
503 …final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): s…
[all …]
/php-src/ext/standard/tests/array/range/
H A Drange_inputs_null_variations.phpt7 echo "range(null, null)\n";
8 var_dump( range(null, null) );
11 var_dump( range(null, 5) );
12 var_dump( range(5, null) );
15 var_dump( range(null, 4.5) );
16 var_dump( range(4.5, null) );
19 var_dump( range(null, 'e') );
25 range(null, null)
34 null with int boundary
67 null with float boundary
[all …]
/php-src/ext/mbstring/tests/
H A Dmb_str_functions_opt-parameter.phpt2 Optional long parameter might be null (deprecated)
7 echo mb_strpos('abb', 'b', null, 'UTF-8') . "\n";
8 echo mb_strrpos('abb', 'b', null, 'UTF-8') . "\n";
9 echo mb_stripos('abb', 'B', null, 'UTF-8') . "\n";
10 echo mb_strripos('abb', 'B', null, 'UTF-8') . "\n";
11 echo mb_strstr('foobarbaz', 'ba', null, 'UTF-8') . "\n";
12 echo mb_strrchr('foobarbaz', 'ba', null, 'UTF-8') . "\n";
13 echo mb_stristr('foobarbaz', 'BA', null, 'UTF-8') . "\n";
15 echo mb_substr('foobarbaz', 6, null, 'UTF-8') . "\n";
16 echo mb_strcut('foobarbaz', 6, null, 'UTF-8') . "\n";
[all …]
/php-src/ext/pdo_pgsql/tests/
H A Dbug68371.phpt25 PDO::ATTR_AUTOCOMMIT => array(null),
26 PDO::ATTR_PREFETCH => array(null),
27 PDO::ATTR_TIMEOUT => array(null),
28 PDO::ATTR_ERRMODE => array(null),
31 PDO::ATTR_SERVER_INFO => array(null),
33 PDO::ATTR_CASE => array(null),
34 PDO::ATTR_CURSOR_NAME => array(null),
35 PDO::ATTR_CURSOR => array(null),
36 PDO::ATTR_ORACLE_NULLS => array(null),
37 PDO::ATTR_PERSISTENT => array(null),
[all …]
/php-src/ext/pgsql/tests/
H A Dgh13354.phpt12 $val = null;
15 $params_null = [null];
22 $val = null;
73 pg_execute, null value: t
74 pg_execute, null value by reference: t
75 pg_query_params, null value: t
76 pg_query_params, null value by reference: t
77 pg_send_query_params, null value: t
78 pg_send_query_params, null value by reference: t
79 pg_send_execute, null value: t
[all …]
/php-src/ext/standard/tests/array/
H A Darray_intersect_key_variation7.phpt2 Test array_intersect_key() function : usage variation - Passing null,unset and undefeined variable …
8 $input_array = array(0 => '0', 1 => '1' , -10 => '-10' , null => 'null');
14 'null indexed' => array(NULL => 'null 1', null => 'null 2'),
28 --null indexed--
31 string(4) "null"
35 string(6) "null 2"
41 string(4) "null"
51 string(4) "null"
/php-src/ext/bcmath/
H A Dbcmath.stub.php6 function bcadd(string $num1, string $num2, ?int $scale = null): string {}
9 function bcsub(string $num1, string $num2, ?int $scale = null): string {}
12 function bcmul(string $num1, string $num2, ?int $scale = null): string {}
15 function bcdiv(string $num1, string $num2, ?int $scale = null): string {}
18 function bcmod(string $num1, string $num2, ?int $scale = null): string {}
21 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {}
24 function bcpow(string $num, string $exponent, ?int $scale = null): string {}
27 function bcsqrt(string $num, ?int $scale = null): string {}
29 function bccomp(string $num1, string $num2, ?int $scale = null): int {}
31 function bcscale(?int $scale = null): int {}
/php-src/ext/standard/tests/streams/
H A Dstream_select_null_usec.phpt2 stream_select allows null for microsecond timeout if timeout is null
7 $write = null;
8 $except = null;
15 stream_select($read, $write, $except, null, null);
20 stream_select($read, $write, $except, null, 0);
22 stream_select($read, $write, $except, null, 1);
31 …r: stream_select(): Argument #5 ($microseconds) must be null when argument #4 ($seconds) is null i…
/php-src/ext/standard/tests/general_functions/
H A Dvar_export_basic7.phpt2 Test var_export() function with valid null values
5 echo "*** Testing var_export() with valid null values ***\n";
7 // different valid null values
9 unset ($unset_var); // now a null
14 "null" => null,
18 /* Loop to check for above null values with var_export() */
19 echo "\n*** Output for null values ***\n";
31 *** Testing var_export() with valid null values ***
33 *** Output for null values ***
41 -- Iteration: null --
/php-src/ext/openssl/tests/
H A Dbug81713.phpt2 Bug #81713 (OpenSSL functions null byte injection)
149 openssl_pkey_export(): Argument #1 ($key) must not contain any null bytes
156 openssl_sign(): Argument #3 ($private_key) must not contain any null bytes
157 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes
158 openssl_seal(): Argument #4 ($public_key) must not contain any null bytes
159 openssl_open(): Argument #4 ($private_key) must not contain any null bytes
160 openssl_csr_new(): Argument #2 ($private_key) must not contain any null bytes
161 openssl_csr_get_subject(): Argument #1 ($csr) must not contain any null bytes
197 openssl_cms_sign(): Argument #3 ($certificate) must not contain any null bytes
204 openssl_cms_verify(): Argument #6 ($content) must not contain any null bytes
[all …]
/php-src/ext/intl/dateformat/
H A Ddateformat.stub.php42 $timezone = null,
43 $calendar = null,
44 ?string $pattern = null
56 $timezone = null,
57 IntlCalendar|int|null $calendar = null,
58 ?string $pattern = null
83 public function setCalendar(IntlCalendar|int|null $calendar): bool {}
95 public function getCalendarObject(): IntlCalendar|false|null {}
153 …public static function formatObject($datetime, $format = null, ?string $locale = null): string|fal…
160 public function parse(string $string, &$offset = null): int|float|false {}
[all …]

Completed in 90 milliseconds

12345678910>>...77