/PHP-8.1/ext/soap/ |
H A D | soap.stub.php | 21 public mixed $data = null; 23 public string|int|null $actor; 34 public mixed $detail = null; 35 public ?string $_name = null; 38 …ct(array|string|null $code, string $string, ?string $actor = null, mixed $details = null, ?string … 52 …encoding, ?string $typeName = null, ?string $typeNamespace = null, ?string $nodeName = null, ?stri… 96 private ?int $use = null; 101 private $sdl = null; 103 private $typemap = null; 107 private $httpurl = null; [all …]
|
/PHP-8.1/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.1/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.1/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.1/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.1/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.1/ext/mbstring/ |
H A D | mbstring.stub.php | 24 function mb_detect_order(array|string|null $encoding = null): array|bool {} 27 function mb_substitute_character(string|int|null $substitute_character = null): string|int|bool {} 65 function mb_substr(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… 68 function mb_strcut(string $string, int $start, ?int $length = null, ?string $encoding = null): stri… 91 function mb_detect_encoding(string $string, array|string|null $encodings = null, bool $strict = fal… 131 function mb_check_encoding(array|string|null $value = null, ?string $encoding = null): bool {} 150 …tring $pattern, string $replacement, string $string, ?string $options = null): string|false|null {} 166 function mb_ereg_search(?string $pattern = null, ?string $options = null): bool {} 172 function mb_ereg_search_pos(?string $pattern = null, ?string $options = null): array|false {} 178 function mb_ereg_search_regs(?string $pattern = null, ?string $options = null): array|false {} [all …]
|
/PHP-8.1/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.1/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.1/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): bool {} 154 …final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): s… 177 ?string $alias = null, ?string $index = null, ?string $fileNotFoundScript = null, 252 …lic function convertToExecutable(?int $format = null, ?int $compression = null, ?string $extension… 258 …public function convertToData(?int $format = null, ?int $compression = null, ?string $extension = … 401 public function setDefaultStub(?string $index = null, ?string $webIndex = null): bool {} 444 …final public static function createDefaultStub(?string $index = null, ?string $webIndex = null): s… [all …]
|
/PHP-8.1/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.1/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.1/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.1/ext/ldap/ |
H A D | ldap.stub.php | 38 function ldap_connect(?string $uri = null, int $port = 389): LDAP\Connection|false {} 46 function ldap_bind(LDAP\Connection $ldap, ?string $dn = null, ?string $password = null): bool {} 48 …ap_bind_ext(LDAP\Connection $ldap, ?string $dn = null, ?string $password = null, ?array $controls … 51 … null, ?string $password = null, ?string $mech = null, ?string $realm = null, ?string $authc_id = … 110 …function ldap_add(LDAP\Connection $ldap, string $dn, array $entry, ?array $controls = null): bool … 114 function ldap_delete(LDAP\Connection $ldap, string $dn, ?array $controls = null): bool {} 127 …function ldap_modify(LDAP\Connection $ldap, string $dn, array $entry, ?array $controls = null): bo… 149 function ldap_get_option(LDAP\Connection $ldap, int $option, &$value = null): bool {} 173 …sult $result, &$error_code, &$matched_dn = null, &$error_message = null, &$referrals = null, &$con… 199 …request_oid, ?string $request_data = null, ?array $controls = NULL, &$response_data = UNKNOWN, &$r… [all …]
|
/PHP-8.1/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.1/ext/intl/converter/ |
H A D | converter.stub.php | 7 …blic function __construct(?string $destination_encoding = null, ?string $source_encoding = null) {} 16 …nction fromUCallback(int $reason, array $source, int $codePoint, &$error): string|int|array|null {} 22 public static function getAliases(string $name): array|false|null {} 31 public function getDestinationEncoding(): string|false|null {} 34 public function getDestinationType(): int|false|null {} 43 public function getSourceEncoding(): string|false|null {} 46 public function getSourceType(): int|false|null {} 52 public function getSubstChars(): string|false|null {} 70 …tion toUCallback(int $reason, string $source, string $codeUnits, &$error): string|int|array|null {} 73 …ode(string $str, string $toEncoding, string $fromEncoding, ?array $options = null): string|false {}
|
/PHP-8.1/ext/intl/dateformat/ |
H A D | dateformat.stub.php | 15 $timezone = null, 16 $calendar = null, 17 ?string $pattern = null 29 $timezone = null, 30 IntlCalendar|int|null $calendar = null, 31 ?string $pattern = null 56 public function setCalendar(IntlCalendar|int|null $calendar): bool {} 68 public function getCalendarObject(): IntlCalendar|false|null {} 126 …public static function formatObject($datetime, $format = null, ?string $locale = null): string|fal… 133 public function parse(string $string, &$offset = null): int|float|false {} [all …]
|
/PHP-8.1/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.1/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.1/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 --
|