File: iconv.stub.php

package info (click to toggle)
php8.4 8.4.11-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208,108 kB
  • sloc: ansic: 1,060,628; php: 35,345; sh: 11,866; cpp: 7,201; pascal: 4,913; javascript: 3,091; asm: 2,810; yacc: 2,411; makefile: 689; xml: 446; python: 301; awk: 148
file content (56 lines) | stat: -rw-r--r-- 1,609 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php

/** @generate-class-entries */

/**
 * @var string
 * @cvalue PHP_ICONV_IMPL_VALUE
 */
const ICONV_IMPL = UNKNOWN;
/**
 * @var string
 * @cvalue get_iconv_version()
 */
const ICONV_VERSION = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_ICONV_MIME_DECODE_STRICT
 */
const ICONV_MIME_DECODE_STRICT = UNKNOWN;
/**
 * @var int
 * @cvalue PHP_ICONV_MIME_DECODE_CONTINUE_ON_ERROR
 */
const ICONV_MIME_DECODE_CONTINUE_ON_ERROR = UNKNOWN;

function iconv_strlen(string $string, ?string $encoding = null): int|false {}

/** @refcount 1 */
function iconv_substr(string $string, int $offset, ?int $length = null, ?string $encoding = null): string|false {}

function iconv_strpos(string $haystack, string $needle, int $offset = 0, ?string $encoding = null): int|false {}

function iconv_strrpos(string $haystack, string $needle, ?string $encoding = null): int|false {}

/** @refcount 1 */
function iconv_mime_encode(string $field_name, string $field_value, array $options = []): string|false {}

/** @refcount 1 */
function iconv_mime_decode(string $string, int $mode = 0, ?string $encoding = null): string|false {}

/**
 * @return array<string, string|array>|false
 * @refcount 1
 */
function iconv_mime_decode_headers(string $headers, int $mode = 0, ?string $encoding = null): array|false {}

/** @refcount 1 */
function iconv(string $from_encoding, string $to_encoding, string $string): string|false {}

function iconv_set_encoding(string $type, string $encoding): bool {}

/**
 * @return array<string, string>|string|false
 * @refcount 1
 */
function iconv_get_encoding(string $type = "all"): array|string|false {}