xref: /PHP-8.0/ext/iconv/iconv.stub.php (revision a4331a67)
1<?php
2
3/** @generate-function-entries */
4
5function iconv_strlen(string $string, ?string $encoding = null): int|false {}
6
7function iconv_substr(string $string, int $offset, ?int $length = null, ?string $encoding = null): string|false {}
8
9function iconv_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false {}
10
11function iconv_strrpos(string $haystack, string $needle, ?string $encoding = null): int|false {}
12
13function iconv_mime_encode(string $field_name, string $field_value, array $options = []): string|false {}
14
15function iconv_mime_decode(string $string, int $mode = 0, ?string $encoding = null): string|false {}
16
17function iconv_mime_decode_headers(string $headers, int $mode = 0, ?string $encoding = null): array|false {}
18
19function iconv(string $from_encoding, string $to_encoding, string $string): string|false {}
20
21function iconv_set_encoding(string $type, string $encoding): bool {}
22
23function iconv_get_encoding(string $type = "all"): array|string|false {}
24