Bencodex

functions.php

Table of Contents

validateTextEncoding()  : bool
Validates if the given text encoding is valid and supported by iconv.
array_is_list()  : mixed

Functions

validateTextEncoding()

Validates if the given text encoding is valid and supported by iconv.

validateTextEncoding(string $textEncoding) : bool
Parameters
$textEncoding : string

A text encoding name to check.

Return values
bool

True if the given text encoding is valid.

array_is_list()

array_is_list(array<string|int, mixed> $array) : mixed
Parameters
$array : array<string|int, mixed>
Return values
mixed

Search results