Home
last modified time | relevance | path

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

12345678910>>...83

/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 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.php464 public mixed $data = null;
466 public string|int|null $actor;
477 public mixed $detail = null;
478 public ?string $_name = null;
481 …ct(array|string|null $code, string $string, ?string $actor = null, mixed $details = null, ?string …
495 …encoding, ?string $typeName = null, ?string $typeNamespace = null, ?string $nodeName = null, ?stri…
536 private ?string $uri = null;
537 private ?int $style = null;
538 private ?int $use = null;
545 private $httpsocket = null;
[all …]
/php-src/Zend/tests/closures/
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 …]
/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): true {}
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/bcmath/
H A Dbcmath.stub.php8 function bcadd(string $num1, string $num2, ?int $scale = null): string {}
11 function bcsub(string $num1, string $num2, ?int $scale = null): string {}
14 function bcmul(string $num1, string $num2, ?int $scale = null): string {}
17 function bcdiv(string $num1, string $num2, ?int $scale = null): string {}
20 function bcmod(string $num1, string $num2, ?int $scale = null): string {}
26 function bcdivmod(string $num1, string $num2, ?int $scale = null): array {}
32 function bcpow(string $num, string $exponent, ?int $scale = null): string {}
35 function bcsqrt(string $num, ?int $scale = null): string {}
37 function bccomp(string $num1, string $num2, ?int $scale = null): int {}
39 function bcscale(?int $scale = null): int {}
[all …]
/php-src/ext/pdo_pgsql/tests/
H A Dbug68371.phpt24 PDO::ATTR_AUTOCOMMIT => array(null),
25 PDO::ATTR_PREFETCH => array(null),
26 PDO::ATTR_TIMEOUT => array(null),
27 PDO::ATTR_ERRMODE => array(null),
30 PDO::ATTR_SERVER_INFO => array(null),
32 PDO::ATTR_CASE => array(null),
33 PDO::ATTR_CURSOR_NAME => array(null),
34 PDO::ATTR_CURSOR => array(null),
35 PDO::ATTR_ORACLE_NULLS => array(null),
36 PDO::ATTR_PERSISTENT => array(null),
[all …]
/php-src/ext/gmp/tests/
H A Doverloading_with_null.phpt11 var_dump($num + null);
17 var_dump($num - null);
23 var_dump($num * null);
29 var_dump($num / null);
35 var_dump($num % null);
41 var_dump($num ** null);
47 var_dump($num | null);
52 var_dump($num & null);
57 var_dump($num ^ null);
62 var_dump($num << 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/tests/number/operators/
H A Dcalc_null.phpt10 $num + null;
16 $num - null;
22 $num * null;
28 $num / null;
34 $num % null;
40 $num ** null;
46 Unsupported operand types: BcMath\Number + null
47 Unsupported operand types: BcMath\Number - null
48 Unsupported operand types: BcMath\Number * null
49 Unsupported operand types: BcMath\Number / null
[all …]
/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 --

Completed in 32 milliseconds

12345678910>>...83