/PHP-8.2/Zend/tests/named_params/ |
H A D | references.phpt | 15 &$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-8.2/Zend/tests/ |
H A D | arginfo_zpp_mismatch.phpt | 29 @$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 D | arginfo_zpp_mismatch_strict.phpt | 31 @$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 D | bug75921.phpt | 7 $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 D | closure_061.phpt | 22 [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 D | offset_null.phpt | 2 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-8.2/ext/phar/tests/zip/files/ |
H A D | corrupt2.php.inc | 5 $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-8.2/Zend/tests/nullsafe_operator/ |
H A D | 014.phpt | 21 $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 D | 001.phpt | 7 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-8.2/ext/phar/tests/zip/ |
H A D | bzip2.phpt | 26 $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-8.2/ext/soap/ |
H A D | soap.stub.php | 444 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-8.2/ext/mbstring/ |
H A D | mbstring.stub.php | 73 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… 139 function mb_detect_encoding(string $string, array|string|null $encodings = null, bool $strict = fal… 179 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} 198 …tring $pattern, string $replacement, string $string, ?string $options = null): string|false|null {} 214 function mb_ereg_search(?string $pattern = null, ?string $options = null): bool {} 220 function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false {} 226 function mb_ereg_search_regs(?string $pattern = null, ?string $options = null): array|false {} [all …]
|
/PHP-8.2/ext/intl/tests/ |
H A D | gh8115.phpt | 13 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-8.2/ext/phar/ |
H A D | phar_object.stub.php | 124 …lic function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension… 127 …public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = … 142 …public function extractTo(string $directory, array|string|null $files = null, bool $overwrite = fa… 209 public function setDefaultStub(?string $index = null, ?string $webIndex = null): bool {} 235 …final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): s… 258 ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null, 333 …lic function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension… 339 …public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = … 482 public function setDefaultStub(?string $index = null, ?string $webIndex = null): bool {} 525 …final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): s… [all …]
|
/PHP-8.2/ext/pdo_mysql/tests/ |
H A D | bug68371.phpt | 23 PDO::ATTR_AUTOCOMMIT => array(null), 24 PDO::ATTR_PREFETCH => array(null), 25 PDO::ATTR_TIMEOUT => array(null), 26 PDO::ATTR_ERRMODE => array(null), 29 PDO::ATTR_SERVER_INFO => array(null), 31 PDO::ATTR_CASE => array(null), 32 PDO::ATTR_CURSOR_NAME => array(null), 33 PDO::ATTR_CURSOR => array(null), 34 PDO::ATTR_ORACLE_NULLS => array(null), 35 PDO::ATTR_PERSISTENT => array(null), [all …]
|
/PHP-8.2/ext/mbstring/tests/ |
H A D | mb_str_functions_opt-parameter.phpt | 2 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-8.2/ext/pdo_pgsql/tests/ |
H A D | bug68371.phpt | 25 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-8.2/ext/gmp/tests/ |
H A D | overloading_with_null.phpt | 11 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-8.2/ext/pgsql/tests/ |
H A D | gh13354.phpt | 12 $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-8.2/ext/standard/tests/array/ |
H A D | array_intersect_key_variation7.phpt | 2 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-8.2/ext/standard/tests/streams/ |
H A D | stream_select_null_usec.phpt | 2 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-8.2/ext/bcmath/ |
H A D | bcmath.stub.php | 6 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-8.2/ext/standard/tests/general_functions/ |
H A D | var_export_basic7.phpt | 2 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-8.2/ext/openssl/tests/ |
H A D | bug81713.phpt | 2 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-8.2/ext/intl/dateformat/ |
H A D | dateformat.stub.php | 73 $timezone = null, 74 $calendar = null, 75 ?string $pattern = null 87 $timezone = null, 88 IntlCalendar|int|null $calendar = null, 89 ?string $pattern = null 114 public function setCalendar(IntlCalendar|int|null $calendar): bool {} 126 public function getCalendarObject(): IntlCalendar|false|null {} 184 …public static function formatObject($datetime, $format = null, ?string $locale = null): string|fal… 191 public function parse(string $string, &$offset = null): int|float|false {} [all …]
|