/PHP-8.0/Zend/tests/ |
H A D | arginfo_zpp_mismatch.phpt | 28 @$function(null); 32 @$function(null, null); 36 @$function(null, null, null); 40 @$function(null, null, null, null); 44 @$function(null, null, null, null, null); 48 @$function(null, null, null, null, null, null); 52 @$function(null, null, null, null, null, null, null); 56 @$function(null, null, null, null, null, null, null, null);
|
H A D | arginfo_zpp_mismatch_strict.phpt | 30 @$function(null); 34 @$function(null, null); 38 @$function(null, null, null); 42 @$function(null, null, null, null); 46 @$function(null, null, null, null, null); 50 @$function(null, null, null, null, null, null); 54 @$function(null, null, null, null, null, null, null); 58 @$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.0/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.0/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.0/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.0/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.0/ext/mbstring/ |
H A D | mbstring.stub.php | 13 function mb_detect_order(array|string|null $encoding = null): array|bool {} 15 function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool {} 46 function mb_substr(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… 48 function mb_strcut(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… 62 function mb_detect_encoding(string $string, array|string|null $encodings = null, bool $strict = fal… 84 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} 101 …tring $pattern, string $replacement, string $string, ?string $options = null): string|false|null {} 111 function mb_ereg_search(?string $pattern = null, ?string $options = null): bool {} 113 function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false {} 115 function mb_ereg_search_regs(?string $pattern = null, ?string $options = null): array|false {} [all …]
|
/PHP-8.0/ext/tidy/ |
H A D | tidy.stub.php | 5 …nction tidy_parse_string(string $string, array|string|null $config = null, ?string $encoding = nul… 11 …nction tidy_parse_file(string $filename, array|string|null $config = null, ?string $encoding = nul… 15 …ction tidy_repair_string(string $string, array|string|null $config = null, ?string $encoding = nul… 17 …ction tidy_repair_file(string $filename, array|string|null $config = null, ?string $encoding = nul… 57 …ic function __construct(?string $filename = null, array|string|null $config = null, ?string $encod… 72 …lic function parseFile(string $filename, array|string|null $config = null, ?string $encoding = nul… 75 …lic function parseString(string $string, array|string|null $config = null, ?string $encoding = nul… 81 …ic function repairString(string $string, array|string|null $config = null, ?string $encoding = nul… 87 …ic function repairFile(string $filename, array|string|null $config = null, ?string $encoding = nul…
|
/PHP-8.0/ext/phar/ |
H A D | phar_object.stub.php | 43 …lic function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension… 46 …public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = … 61 …public function extractTo(string $directory, array|string|null $files = null, bool $overwrite = fa… 128 public function setDefaultStub(?string $index = null, ?string $webIndex = null) {} 154 …final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): s… 177 ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null, 249 …lic function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension… 255 …public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = … 285 …public function extractTo(string $directory, array|string|null $files = null, bool $overwrite = fa… 398 public function setDefaultStub(?string $index = null, ?string $webIndex = null) {} [all …]
|
/PHP-8.0/ext/soap/ |
H A D | soap.stub.php | 16 …tring $name, mixed $data = UNKNOWN, bool $mustUnderstand = false, string|int|null $actor = null) {} 21 …ct(array|string|null $code, string $string, ?string $actor = null, mixed $details = null, ?string … 28 …encoding, ?string $typeName = null, ?string $typeNamespace = null, ?string $nodeName = null, ?stri… 36 …public function fault(string $code, string $string, string $actor = "", mixed $details = null, str… 60 public function handle(?string $request = null) {} 75 …pCall(string $name, array $args, ?array $options = null, $inputHeaders = null, &$outputHeaders = n… 99 public function __setCookie(string $name, ?string $value = null) {} 108 public function __setSoapHeaders($headers = null) {} 111 public function __setLocation(?string $location = null) {}
|
/PHP-8.0/ext/pdo_mysql/tests/ |
H A D | bug68371.phpt | 22 PDO::ATTR_AUTOCOMMIT => array(null), 23 PDO::ATTR_PREFETCH => array(null), 24 PDO::ATTR_TIMEOUT => array(null), 25 PDO::ATTR_ERRMODE => array(null), 28 PDO::ATTR_SERVER_INFO => array(null), 30 PDO::ATTR_CASE => array(null), 31 PDO::ATTR_CURSOR_NAME => array(null), 32 PDO::ATTR_CURSOR => array(null), 33 PDO::ATTR_ORACLE_NULLS => array(null), 34 PDO::ATTR_PERSISTENT => array(null), [all …]
|
/PHP-8.0/ext/ldap/ |
H A D | ldap.stub.php | 10 function ldap_connect(?string $uri = null, int $port = 389) {} 23 function ldap_bind($ldap, ?string $dn = null, ?string $password = null): bool {} 29 function ldap_bind_ext($ldap, ?string $dn = null, ?string $password = null, ?array $controls = null… 33 … null, ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authc_id = … 132 function ldap_add_ext($ldap, string $dn, array $entry, ?array $controls = null) {} 135 function ldap_delete($ldap, string $dn, ?array $controls = null): bool {} 141 function ldap_delete_ext($ldap, string $dn, ?array $controls = null) {} 205 function ldap_get_option($ldap, int $option, &$value = null): bool {} 252 …dap, $result, &$error_code, &$matched_dn = null, &$error_message = null, &$referrals = null, &$con… 282 …request_oid, ?string $request_data = null, ?array $controls = NULL, &$response_data = UNKNOWN, &$r… [all …]
|
/PHP-8.0/ext/mbstring/tests/ |
H A D | mb_str_functions_opt-parameter.phpt | 2 Optional long parameter might be null 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.0/ext/intl/dateformat/ |
H A D | dateformat.stub.php | 11 …g $locale, int $dateType, int $timeType, $timezone = null, $calendar = null, ?string $pattern = nu… 18 …int $dateType, int $timeType, $timezone = null, IntlCalendar|int|null $calendar = null, ?string $p… 42 public function setCalendar(IntlCalendar|int|null $calendar) {} 112 public static function formatObject($datetime, $format = null, ?string $locale = null) {} 119 public function parse(string $string, &$offset = null) {} 126 public function localtime(string $string, &$offset = null) {}
|
/PHP-8.0/ext/pdo_pgsql/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.0/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.0/ext/bcmath/ |
H A D | bcmath.stub.php | 5 function bcadd(string $num1, string $num2, ?int $scale = null): string {} 7 function bcsub(string $num1, string $num2, ?int $scale = null): string {} 9 function bcmul(string $num1, string $num2, ?int $scale = null): string {} 11 function bcdiv(string $num1, string $num2, ?int $scale = null): string {} 13 function bcmod(string $num1, string $num2, ?int $scale = null): string {} 15 function bcpowmod(string $num, string $exponent, string $modulus, ?int $scale = null): string {} 17 function bcpow(string $num, string $exponent, ?int $scale = null): string {} 19 function bcsqrt(string $num, ?int $scale = null): string {} 21 function bccomp(string $num1, string $num2, ?int $scale = null): int {} 23 function bcscale(?int $scale = null): int {}
|
/PHP-8.0/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.0/ext/pcre/ |
H A D | php_pcre.stub.php | 6 function preg_match(string $pattern, string $subject, &$matches = null, int $flags = 0, int $offset… 9 function preg_match_all(string $pattern, string $subject, &$matches = null, int $flags = 0, int $of… 12 …g|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {} 15 …g|array $replacement, string|array $subject, int $limit = -1, &$count = null): string|array|null {} 18 …back, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {} 21 …tern, string|array $subject, int $limit = -1, &$count = null, int $flags = 0): string|array|null {} 25 function preg_quote(string $str, ?string $delimiter = null): string {}
|
/PHP-8.0/ext/openssl/tests/ |
H A D | bug81713.phpt | 2 Bug #81713 (OpenSSL functions null byte injection) 147 openssl_pkey_export(): Argument #1 ($key) must not contain any null bytes 154 openssl_sign(): Argument #3 ($private_key) must not contain any null bytes 155 openssl_verify(): Argument #3 ($public_key) must not contain any null bytes 156 openssl_seal(): Argument #4 ($public_key) must not contain any null bytes 157 openssl_open(): Argument #4 ($private_key) must not contain any null bytes 158 openssl_csr_new(): Argument #2 ($private_key) must not contain any null bytes 159 openssl_csr_get_subject(): Argument #1 ($csr) must not contain any null bytes 195 openssl_cms_sign(): Argument #3 ($certificate) must not contain any null bytes 202 openssl_cms_verify(): Argument #6 ($content) must not contain any null bytes [all …]
|
/PHP-8.0/ext/date/ |
H A D | php_date.stub.php | 7 function date(string $format, ?int $timestamp = null): string {} 11 function gmdate(string $format, ?int $timestamp = null): string {} 14 int $hour, ?int $minute = null, ?int $second = null, 15 ?int $month = null, ?int $day = null, ?int $year = null): int|false {} 18 int $hour, ?int $minute = null, ?int $second = null, 19 ?int $month = null, ?int $day = null, ?int $year = null): int|false {} 31 function getdate(?int $timestamp = null): array {} 107 ?float $latitude = null, ?float $longitude = null, ?float $zenith = null, 108 ?float $utcOffset = null): string|int|float|false {} 112 ?float $latitude = null, ?float $longitude = null, ?float $zenith = null, [all …]
|