Documentation

Documentation

Table of Contents

Packages

Lwt
Examples
Decoder
Encoder
LibDNS
Messages
Packets
Records
TypeDefinitions
Types
Tools
Authentication
League
JsonMapper
PHPMailer
PHPMailerSomeFrenchpunctuationrequiresathinnon

Namespaces

Lwt
Tests
Amp
Composer
LibDNS
Dflydev
XdgBaseDir
Doctrine
AdvancedJsonRpc
LanguageServerProtocol
Fidry
Firebase
GuzzleHttp
Kelunik
Kiwilan
League
DeepCopy
Nette
PhpParser
PharIo
phpDocumentor
PHPMailer
PHPStan
PHPUnit
Psr
Revolt
SebastianBergmann
Smalot
Spatie
PHP_CodeSniffer
Symfony
TheNetworg
TheSeer
Psalm
Webmozart

Interfaces

Stringable

Classes

FlattedString
Flatted
ComposerAutoloaderInitb8bcad29e8d381a39bdcf735862c2deb
JsonMapper_Exception
Simple exception
JsonMapper
Automatically map JSON structures into objects.
GnuPG
Normalizer
Attribute
PhpToken
UnhandledMatchError
ValueError

Constants

AMP_CONTEXT  = "process"
AMP_CONTEXT  = "parallel"
AMP_CONTEXT_ID  = \getmypid()
FILTER_VALIDATE_BOOL  = \FILTER_VALIDATE_BOOLEAN
GRAPHEME_EXTR_COUNT  = 0
GRAPHEME_EXTR_COUNT  = 0
GRAPHEME_EXTR_MAXBYTES  = 1
GRAPHEME_EXTR_MAXBYTES  = 1
GRAPHEME_EXTR_MAXCHARS  = 2
GRAPHEME_EXTR_MAXCHARS  = 2
LWT_BASE_PATH  = __DIR__
LWT Front Controller
MB_CASE_LOWER  = 1
MB_CASE_LOWER  = 1
MB_CASE_TITLE  = 2
MB_CASE_TITLE  = 2
MB_CASE_UPPER  = 0
MB_CASE_UPPER  = 0
PDF  = __DIR__ . '/tests/media/example.pdf'
PHP_CODESNIFFER_CBF  = false
PHP_CODESNIFFER_CBF  = \false
PHP_CODESNIFFER_IN_TESTS  = \true
PHP_CODESNIFFER_VERBOSITY  = $this->config->verbosity
PHP_CODESNIFFER_VERBOSITY  = 0
PHP_PARSER_VERSION  = VersionUtils::getPhpParserVersion()
PSALM_VERSION  = VersionUtils::getPsalmVersion()
STDERR  = \fopen('php://stderr', 'wb')
STDOUT  = \fopen('php://stdout', 'wb')
SYMFONY_GRAPHEME_CLUSTER_RX  = ((float) \PCRE_VERSION < 10 ? (float) \PCRE_VERSION >= 8.32 : (float) \PCRE_VERSION >= 10.39) ? '\X' : \Symfony\Polyfill\Intl\Grapheme\Grapheme::GRAPHEME_CLUSTER_RX
T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG  = 'PHPCS_T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG'
T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG  = 'PHPCS_T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG'
T_ANON_CLASS  = 'PHPCS_T_ANON_CLASS'
T_ASPERAND  = 'PHPCS_T_ASPERAND'
T_ATTRIBUTE  = 'PHPCS_T_ATTRIBUTE'
T_ATTRIBUTE_END  = 'PHPCS_T_ATTRIBUTE_END'
T_BACKTICK  = 'PHPCS_T_BACKTICK'
T_BAD_CHARACTER  = 'PHPCS_T_BAD_CHARACTER'
T_BINARY_CAST  = 'PHPCS_T_BINARY_CAST'
T_BITWISE_AND  = 'PHPCS_T_BITWISE_AND'
T_BITWISE_NOT  = 'PHPCS_T_BITWISE_NOT'
T_BITWISE_OR  = 'PHPCS_T_BITWISE_OR'
T_BITWISE_XOR  = 'PHPCS_T_BITWISE_XOR'
T_BOOLEAN_NOT  = 'PHPCS_T_BOOLEAN_NOT'
T_CLOSE_CURLY_BRACKET  = 'PHPCS_T_CLOSE_CURLY_BRACKET'
T_CLOSE_PARENTHESIS  = 'PHPCS_T_CLOSE_PARENTHESIS'
T_CLOSE_SHORT_ARRAY  = 'PHPCS_T_CLOSE_SHORT_ARRAY'
T_CLOSE_SQUARE_BRACKET  = 'PHPCS_T_CLOSE_SQUARE_BRACKET'
T_CLOSE_USE_GROUP  = 'PHPCS_T_CLOSE_USE_GROUP'
T_CLOSURE  = 'PHPCS_T_CLOSURE'
T_COALESCE_EQUAL  = 'PHPCS_T_COALESCE_EQUAL'
T_COLON  = 'PHPCS_T_COLON'
T_COMMA  = 'PHPCS_T_COMMA'
T_DIVIDE  = 'PHPCS_T_DIVIDE'
T_DOC_COMMENT_CLOSE_TAG  = 'PHPCS_T_DOC_COMMENT_CLOSE_TAG'
T_DOC_COMMENT_OPEN_TAG  = 'PHPCS_T_DOC_COMMENT_OPEN_TAG'
T_DOC_COMMENT_STAR  = 'PHPCS_T_DOC_COMMENT_STAR'
T_DOC_COMMENT_STRING  = 'PHPCS_T_DOC_COMMENT_STRING'
T_DOC_COMMENT_TAG  = 'PHPCS_T_DOC_COMMENT_TAG'
T_DOC_COMMENT_WHITESPACE  = 'PHPCS_T_DOC_COMMENT_WHITESPACE'
T_DOLLAR  = 'PHPCS_T_DOLLAR'
T_DOUBLE_QUOTED_STRING  = 'PHPCS_T_DOUBLE_QUOTED_STRING'
T_END_NOWDOC  = 'PHPCS_T_END_NOWDOC'
T_ENUM  = 'PHPCS_T_ENUM'
T_ENUM_CASE  = 'PHPCS_T_ENUM_CASE'
T_EQUAL  = 'PHPCS_T_EQUAL'
T_FALSE  = 'PHPCS_T_FALSE'
T_FN  = 'PHPCS_T_FN'
T_FN_ARROW  = 'PHPCS_T_FN_ARROW'
T_GOTO_COLON  = 'PHPCS_T_GOTO_COLON'
T_GOTO_LABEL  = 'PHPCS_T_GOTO_LABEL'
T_GREATER_THAN  = 'PHPCS_T_GREATER_THAN'
T_HEREDOC  = 'PHPCS_T_HEREDOC'
T_INLINE_ELSE  = 'PHPCS_T_INLINE_ELSE'
T_INLINE_THEN  = 'PHPCS_T_INLINE_THEN'
T_LESS_THAN  = 'PHPCS_T_LESS_THAN'
T_MATCH  = 'PHPCS_T_MATCH'
T_MATCH_ARROW  = 'PHPCS_T_MATCH_ARROW'
T_MATCH_DEFAULT  = 'PHPCS_T_MATCH_DEFAULT'
T_MINUS  = 'PHPCS_T_MINUS'
T_MODULUS  = 'PHPCS_T_MODULUS'
T_MULTIPLY  = 'PHPCS_T_MULTIPLY'
T_NAME_FULLY_QUALIFIED  = 10002
T_NAME_FULLY_QUALIFIED  = 'PHPCS_T_NAME_FULLY_QUALIFIED'
T_NAME_QUALIFIED  = 10001
T_NAME_QUALIFIED  = 'PHPCS_T_NAME_QUALIFIED'
T_NAME_RELATIVE  = 'PHPCS_T_NAME_RELATIVE'
T_NONE  = 'PHPCS_T_NONE'
T_NOWDOC  = 'PHPCS_T_NOWDOC'
T_NULL  = 'PHPCS_T_NULL'
T_NULLABLE  = 'PHPCS_T_NULLABLE'
T_NULLSAFE_OBJECT_OPERATOR  = 'PHPCS_T_NULLSAFE_OBJECT_OPERATOR'
T_OPEN_CURLY_BRACKET  = 'PHPCS_T_OPEN_CURLY_BRACKET'
T_OPEN_PARENTHESIS  = 'PHPCS_T_OPEN_PARENTHESIS'
T_OPEN_SHORT_ARRAY  = 'PHPCS_T_OPEN_SHORT_ARRAY'
T_OPEN_SQUARE_BRACKET  = 'PHPCS_T_OPEN_SQUARE_BRACKET'
T_OPEN_USE_GROUP  = 'PHPCS_T_OPEN_USE_GROUP'
T_PARAM_NAME  = 'PHPCS_T_PARAM_NAME'
T_PARENT  = 'PHPCS_T_PARENT'
T_PHPCS_DISABLE  = 'PHPCS_T_PHPCS_DISABLE'
T_PHPCS_ENABLE  = 'PHPCS_T_PHPCS_ENABLE'
T_PHPCS_IGNORE  = 'PHPCS_T_PHPCS_IGNORE'
T_PHPCS_IGNORE_FILE  = 'PHPCS_T_PHPCS_IGNORE_FILE'
T_PHPCS_SET  = 'PHPCS_T_PHPCS_SET'
T_PLUS  = 'PHPCS_T_PLUS'
T_PRIVATE_SET  = 'PHPCS_T_PRIVATE_SET'
T_PROTECTED_SET  = 'PHPCS_T_PROTECTED_SET'
T_PUBLIC_SET  = 'PHPCS_T_PUBLIC_SET'
T_READONLY  = 'PHPCS_T_READONLY'
T_SELF  = 'PHPCS_T_SELF'
T_SEMICOLON  = 'PHPCS_T_SEMICOLON'
T_START_NOWDOC  = 'PHPCS_T_START_NOWDOC'
T_STRING_CONCAT  = 'PHPCS_T_STRING_CONCAT'
T_TRUE  = 'PHPCS_T_TRUE'
T_TYPE_CLOSE_PARENTHESIS  = 'PHPCS_T_TYPE_CLOSE_PARENTHESIS'
T_TYPE_INTERSECTION  = 'PHPCS_T_TYPE_INTERSECTION'
T_TYPE_OPEN_PARENTHESIS  = 'PHPCS_T_TYPE_OPEN_PARENTHESIS'
T_TYPE_UNION  = 'PHPCS_T_TYPE_UNION'

Functions

url()  : string
Generate a URL with the application base path prepended.
base_path()  : string
Get the configured application base path.
pdfImageExtract()  : mixed
getallheaders()  : string[string]
Get all HTTP header key/values as an associative array for the current request.
trigger_deprecation()  : void
Triggers a silenced deprecation notice.
ctype_alnum()  : mixed
ctype_alpha()  : mixed
ctype_cntrl()  : mixed
ctype_digit()  : mixed
ctype_graph()  : mixed
ctype_lower()  : mixed
ctype_print()  : mixed
ctype_punct()  : mixed
ctype_space()  : mixed
ctype_upper()  : mixed
ctype_xdigit()  : mixed
ctype_alnum()  : bool
ctype_alpha()  : bool
ctype_cntrl()  : bool
ctype_digit()  : bool
ctype_graph()  : bool
ctype_lower()  : bool
ctype_print()  : bool
ctype_punct()  : bool
ctype_space()  : bool
ctype_upper()  : bool
ctype_xdigit()  : bool
grapheme_extract()  : mixed
grapheme_stripos()  : mixed
grapheme_stristr()  : mixed
grapheme_strlen()  : mixed
grapheme_strpos()  : mixed
grapheme_strripos()  : mixed
grapheme_strrpos()  : mixed
grapheme_strstr()  : mixed
grapheme_substr()  : mixed
grapheme_str_split()  : mixed
grapheme_str_split()  : array<string|int, mixed>|false
grapheme_extract()  : string|false
grapheme_stripos()  : int|false
grapheme_stristr()  : string|false
grapheme_strlen()  : int|false|null
grapheme_strpos()  : int|false
grapheme_strripos()  : int|false
grapheme_strrpos()  : int|false
grapheme_strstr()  : string|false
grapheme_substr()  : string|false
normalizer_is_normalized()  : mixed
normalizer_normalize()  : mixed
normalizer_is_normalized()  : bool
normalizer_normalize()  : string|false
mb_convert_encoding()  : mixed
mb_decode_mimeheader()  : mixed
mb_encode_mimeheader()  : mixed
mb_decode_numericentity()  : mixed
mb_encode_numericentity()  : mixed
mb_convert_case()  : mixed
mb_internal_encoding()  : mixed
mb_language()  : mixed
mb_list_encodings()  : mixed
mb_encoding_aliases()  : mixed
mb_check_encoding()  : mixed
mb_detect_encoding()  : mixed
mb_detect_order()  : mixed
mb_parse_str()  : mixed
mb_strlen()  : mixed
mb_strpos()  : mixed
mb_strtolower()  : mixed
mb_strtoupper()  : mixed
mb_substitute_character()  : mixed
mb_substr()  : mixed
mb_stripos()  : mixed
mb_stristr()  : mixed
mb_strrchr()  : mixed
mb_strrichr()  : mixed
mb_strripos()  : mixed
mb_strrpos()  : mixed
mb_strstr()  : mixed
mb_get_info()  : mixed
mb_http_output()  : mixed
mb_strwidth()  : mixed
mb_substr_count()  : mixed
mb_output_handler()  : mixed
mb_http_input()  : mixed
mb_convert_variables()  : mixed
mb_ord()  : mixed
mb_chr()  : mixed
mb_scrub()  : mixed
mb_str_split()  : mixed
mb_str_pad()  : string
mb_ucfirst()  : string
mb_lcfirst()  : string
mb_trim()  : string
mb_ltrim()  : string
mb_rtrim()  : string
mb_convert_encoding()  : array<string|int, mixed>|string|false
mb_decode_mimeheader()  : string
mb_encode_mimeheader()  : string
mb_decode_numericentity()  : string
mb_encode_numericentity()  : string
mb_convert_case()  : string
mb_internal_encoding()  : string|bool
mb_language()  : string|bool
mb_list_encodings()  : array<string|int, mixed>
mb_encoding_aliases()  : array<string|int, mixed>
mb_check_encoding()  : bool
mb_detect_encoding()  : string|false
mb_detect_order()  : array<string|int, mixed>|bool
mb_parse_str()  : bool
mb_strlen()  : int
mb_strpos()  : int|false
mb_strtolower()  : string
mb_strtoupper()  : string
mb_substitute_character()  : string|int|bool
mb_substr()  : string
mb_stripos()  : int|false
mb_stristr()  : string|false
mb_strrchr()  : string|false
mb_strrichr()  : string|false
mb_strripos()  : int|false
mb_strrpos()  : int|false
mb_strstr()  : string|false
mb_get_info()  : array<string|int, mixed>|string|int|false|null
mb_http_output()  : string|bool
mb_strwidth()  : int
mb_substr_count()  : int
mb_output_handler()  : string
mb_http_input()  : array<string|int, mixed>|string|false
mb_convert_variables()  : string|false
mb_ord()  : int|false
mb_chr()  : string|false
mb_scrub()  : string
mb_str_split()  : array<string|int, mixed>
mb_str_pad()  : string
mb_ucfirst()  : string
mb_lcfirst()  : string
mb_trim()  : string
mb_ltrim()  : string
mb_rtrim()  : string
fdiv()  : float
preg_last_error_msg()  : string
str_contains()  : bool
str_starts_with()  : bool
str_ends_with()  : bool
get_debug_type()  : string
get_resource_id()  : int

Constants

FILTER_VALIDATE_BOOL

public mixed FILTER_VALIDATE_BOOL = \FILTER_VALIDATE_BOOLEAN

GRAPHEME_EXTR_COUNT

public mixed GRAPHEME_EXTR_COUNT = 0

GRAPHEME_EXTR_COUNT

public mixed GRAPHEME_EXTR_COUNT = 0

GRAPHEME_EXTR_MAXBYTES

public mixed GRAPHEME_EXTR_MAXBYTES = 1

GRAPHEME_EXTR_MAXBYTES

public mixed GRAPHEME_EXTR_MAXBYTES = 1

GRAPHEME_EXTR_MAXCHARS

public mixed GRAPHEME_EXTR_MAXCHARS = 2

GRAPHEME_EXTR_MAXCHARS

public mixed GRAPHEME_EXTR_MAXCHARS = 2

LWT_BASE_PATH

LWT Front Controller

public mixed LWT_BASE_PATH = __DIR__

This file serves as the single entry point for all requests. It bootstraps the application and delegates to the Application class.

PHP version 8.1

Tags
category

User_Interface

author

LWT Project lwt-project@hotmail.com

license

Unlicense http://unlicense.org/

link
https://hugofara.github.io/lwt/docs/php/files/index.html
since
3.0.0

"Learning with Texts" (LWT) is free and unencumbered software released into the PUBLIC DOMAIN.

MB_CASE_LOWER

public mixed MB_CASE_LOWER = 1

MB_CASE_TITLE

public mixed MB_CASE_TITLE = 2

MB_CASE_UPPER

public mixed MB_CASE_UPPER = 0

PDF

public mixed PDF = __DIR__ . '/tests/media/example.pdf'

PHP_CODESNIFFER_CBF

public mixed PHP_CODESNIFFER_CBF = false

PHP_CODESNIFFER_CBF

public mixed PHP_CODESNIFFER_CBF = \false

PHP_CODESNIFFER_IN_TESTS

public mixed PHP_CODESNIFFER_IN_TESTS = \true

PHP_CODESNIFFER_VERBOSITY

public mixed PHP_CODESNIFFER_VERBOSITY = $this->config->verbosity

PHP_CODESNIFFER_VERBOSITY

public mixed PHP_CODESNIFFER_VERBOSITY = 0

PHP_PARSER_VERSION

public mixed PHP_PARSER_VERSION = VersionUtils::getPhpParserVersion()

PSALM_VERSION

public mixed PSALM_VERSION = VersionUtils::getPsalmVersion()

STDERR

public mixed STDERR = \fopen('php://stderr', 'wb')

STDOUT

public mixed STDOUT = \fopen('php://stdout', 'wb')

SYMFONY_GRAPHEME_CLUSTER_RX

public mixed SYMFONY_GRAPHEME_CLUSTER_RX = ((float) \PCRE_VERSION < 10 ? (float) \PCRE_VERSION >= 8.32 : (float) \PCRE_VERSION >= 10.39) ? '\X' : \Symfony\Polyfill\Intl\Grapheme\Grapheme::GRAPHEME_CLUSTER_RX

T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG

public mixed T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG = 'PHPCS_T_AMPERSAND_FOLLOWED_BY_VAR_OR_VARARG'

T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG

public mixed T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG = 'PHPCS_T_AMPERSAND_NOT_FOLLOWED_BY_VAR_OR_VARARG'

T_ANON_CLASS

public mixed T_ANON_CLASS = 'PHPCS_T_ANON_CLASS'

T_ASPERAND

public mixed T_ASPERAND = 'PHPCS_T_ASPERAND'

T_ATTRIBUTE

public mixed T_ATTRIBUTE = 'PHPCS_T_ATTRIBUTE'

T_ATTRIBUTE_END

public mixed T_ATTRIBUTE_END = 'PHPCS_T_ATTRIBUTE_END'

T_BACKTICK

public mixed T_BACKTICK = 'PHPCS_T_BACKTICK'

T_BAD_CHARACTER

public mixed T_BAD_CHARACTER = 'PHPCS_T_BAD_CHARACTER'

T_BINARY_CAST

public mixed T_BINARY_CAST = 'PHPCS_T_BINARY_CAST'

T_BITWISE_AND

public mixed T_BITWISE_AND = 'PHPCS_T_BITWISE_AND'

T_BITWISE_NOT

public mixed T_BITWISE_NOT = 'PHPCS_T_BITWISE_NOT'

T_BITWISE_OR

public mixed T_BITWISE_OR = 'PHPCS_T_BITWISE_OR'

T_BITWISE_XOR

public mixed T_BITWISE_XOR = 'PHPCS_T_BITWISE_XOR'

T_BOOLEAN_NOT

public mixed T_BOOLEAN_NOT = 'PHPCS_T_BOOLEAN_NOT'

T_CLOSE_CURLY_BRACKET

public mixed T_CLOSE_CURLY_BRACKET = 'PHPCS_T_CLOSE_CURLY_BRACKET'

T_CLOSE_PARENTHESIS

public mixed T_CLOSE_PARENTHESIS = 'PHPCS_T_CLOSE_PARENTHESIS'

T_CLOSE_SHORT_ARRAY

public mixed T_CLOSE_SHORT_ARRAY = 'PHPCS_T_CLOSE_SHORT_ARRAY'

T_CLOSE_SQUARE_BRACKET

public mixed T_CLOSE_SQUARE_BRACKET = 'PHPCS_T_CLOSE_SQUARE_BRACKET'

T_CLOSE_USE_GROUP

public mixed T_CLOSE_USE_GROUP = 'PHPCS_T_CLOSE_USE_GROUP'

T_CLOSURE

public mixed T_CLOSURE = 'PHPCS_T_CLOSURE'

T_COALESCE_EQUAL

public mixed T_COALESCE_EQUAL = 'PHPCS_T_COALESCE_EQUAL'

T_COLON

public mixed T_COLON = 'PHPCS_T_COLON'

T_COMMA

public mixed T_COMMA = 'PHPCS_T_COMMA'

T_DIVIDE

public mixed T_DIVIDE = 'PHPCS_T_DIVIDE'

T_DOC_COMMENT_CLOSE_TAG

public mixed T_DOC_COMMENT_CLOSE_TAG = 'PHPCS_T_DOC_COMMENT_CLOSE_TAG'

T_DOC_COMMENT_OPEN_TAG

public mixed T_DOC_COMMENT_OPEN_TAG = 'PHPCS_T_DOC_COMMENT_OPEN_TAG'

T_DOC_COMMENT_STAR

public mixed T_DOC_COMMENT_STAR = 'PHPCS_T_DOC_COMMENT_STAR'

T_DOC_COMMENT_STRING

public mixed T_DOC_COMMENT_STRING = 'PHPCS_T_DOC_COMMENT_STRING'

T_DOC_COMMENT_TAG

public mixed T_DOC_COMMENT_TAG = 'PHPCS_T_DOC_COMMENT_TAG'

T_DOC_COMMENT_WHITESPACE

public mixed T_DOC_COMMENT_WHITESPACE = 'PHPCS_T_DOC_COMMENT_WHITESPACE'

T_DOLLAR

public mixed T_DOLLAR = 'PHPCS_T_DOLLAR'

T_DOUBLE_QUOTED_STRING

public mixed T_DOUBLE_QUOTED_STRING = 'PHPCS_T_DOUBLE_QUOTED_STRING'

T_END_NOWDOC

public mixed T_END_NOWDOC = 'PHPCS_T_END_NOWDOC'

T_ENUM

public mixed T_ENUM = 'PHPCS_T_ENUM'

T_ENUM_CASE

public mixed T_ENUM_CASE = 'PHPCS_T_ENUM_CASE'

T_EQUAL

public mixed T_EQUAL = 'PHPCS_T_EQUAL'

T_FALSE

public mixed T_FALSE = 'PHPCS_T_FALSE'

T_FN

public mixed T_FN = 'PHPCS_T_FN'

T_FN_ARROW

public mixed T_FN_ARROW = 'PHPCS_T_FN_ARROW'

T_GOTO_COLON

public mixed T_GOTO_COLON = 'PHPCS_T_GOTO_COLON'

T_GOTO_LABEL

public mixed T_GOTO_LABEL = 'PHPCS_T_GOTO_LABEL'

T_GREATER_THAN

public mixed T_GREATER_THAN = 'PHPCS_T_GREATER_THAN'

T_HEREDOC

public mixed T_HEREDOC = 'PHPCS_T_HEREDOC'

T_INLINE_ELSE

public mixed T_INLINE_ELSE = 'PHPCS_T_INLINE_ELSE'

T_INLINE_THEN

public mixed T_INLINE_THEN = 'PHPCS_T_INLINE_THEN'

T_LESS_THAN

public mixed T_LESS_THAN = 'PHPCS_T_LESS_THAN'

T_MATCH

public mixed T_MATCH = 'PHPCS_T_MATCH'

T_MATCH_ARROW

public mixed T_MATCH_ARROW = 'PHPCS_T_MATCH_ARROW'

T_MATCH_DEFAULT

public mixed T_MATCH_DEFAULT = 'PHPCS_T_MATCH_DEFAULT'

T_MINUS

public mixed T_MINUS = 'PHPCS_T_MINUS'

T_MODULUS

public mixed T_MODULUS = 'PHPCS_T_MODULUS'

T_MULTIPLY

public mixed T_MULTIPLY = 'PHPCS_T_MULTIPLY'

T_NAME_FULLY_QUALIFIED

public mixed T_NAME_FULLY_QUALIFIED = 10002

T_NAME_FULLY_QUALIFIED

public mixed T_NAME_FULLY_QUALIFIED = 'PHPCS_T_NAME_FULLY_QUALIFIED'

T_NAME_QUALIFIED

public mixed T_NAME_QUALIFIED = 'PHPCS_T_NAME_QUALIFIED'

T_NAME_RELATIVE

public mixed T_NAME_RELATIVE = 'PHPCS_T_NAME_RELATIVE'

T_NONE

public mixed T_NONE = 'PHPCS_T_NONE'

T_NOWDOC

public mixed T_NOWDOC = 'PHPCS_T_NOWDOC'

T_NULL

public mixed T_NULL = 'PHPCS_T_NULL'

T_NULLABLE

public mixed T_NULLABLE = 'PHPCS_T_NULLABLE'

T_NULLSAFE_OBJECT_OPERATOR

public mixed T_NULLSAFE_OBJECT_OPERATOR = 'PHPCS_T_NULLSAFE_OBJECT_OPERATOR'

T_OPEN_CURLY_BRACKET

public mixed T_OPEN_CURLY_BRACKET = 'PHPCS_T_OPEN_CURLY_BRACKET'

T_OPEN_PARENTHESIS

public mixed T_OPEN_PARENTHESIS = 'PHPCS_T_OPEN_PARENTHESIS'

T_OPEN_SHORT_ARRAY

public mixed T_OPEN_SHORT_ARRAY = 'PHPCS_T_OPEN_SHORT_ARRAY'

T_OPEN_SQUARE_BRACKET

public mixed T_OPEN_SQUARE_BRACKET = 'PHPCS_T_OPEN_SQUARE_BRACKET'

T_OPEN_USE_GROUP

public mixed T_OPEN_USE_GROUP = 'PHPCS_T_OPEN_USE_GROUP'

T_PARAM_NAME

public mixed T_PARAM_NAME = 'PHPCS_T_PARAM_NAME'

T_PARENT

public mixed T_PARENT = 'PHPCS_T_PARENT'

T_PHPCS_DISABLE

public mixed T_PHPCS_DISABLE = 'PHPCS_T_PHPCS_DISABLE'

T_PHPCS_ENABLE

public mixed T_PHPCS_ENABLE = 'PHPCS_T_PHPCS_ENABLE'

T_PHPCS_IGNORE

public mixed T_PHPCS_IGNORE = 'PHPCS_T_PHPCS_IGNORE'

T_PHPCS_IGNORE_FILE

public mixed T_PHPCS_IGNORE_FILE = 'PHPCS_T_PHPCS_IGNORE_FILE'

T_PHPCS_SET

public mixed T_PHPCS_SET = 'PHPCS_T_PHPCS_SET'

T_PLUS

public mixed T_PLUS = 'PHPCS_T_PLUS'

T_PRIVATE_SET

public mixed T_PRIVATE_SET = 'PHPCS_T_PRIVATE_SET'

T_PROTECTED_SET

public mixed T_PROTECTED_SET = 'PHPCS_T_PROTECTED_SET'

T_PUBLIC_SET

public mixed T_PUBLIC_SET = 'PHPCS_T_PUBLIC_SET'

T_READONLY

public mixed T_READONLY = 'PHPCS_T_READONLY'

T_SELF

public mixed T_SELF = 'PHPCS_T_SELF'

T_SEMICOLON

public mixed T_SEMICOLON = 'PHPCS_T_SEMICOLON'

T_START_NOWDOC

public mixed T_START_NOWDOC = 'PHPCS_T_START_NOWDOC'

T_STRING_CONCAT

public mixed T_STRING_CONCAT = 'PHPCS_T_STRING_CONCAT'

T_TRUE

public mixed T_TRUE = 'PHPCS_T_TRUE'

T_TYPE_CLOSE_PARENTHESIS

public mixed T_TYPE_CLOSE_PARENTHESIS = 'PHPCS_T_TYPE_CLOSE_PARENTHESIS'

T_TYPE_INTERSECTION

public mixed T_TYPE_INTERSECTION = 'PHPCS_T_TYPE_INTERSECTION'

T_TYPE_OPEN_PARENTHESIS

public mixed T_TYPE_OPEN_PARENTHESIS = 'PHPCS_T_TYPE_OPEN_PARENTHESIS'

T_TYPE_UNION

public mixed T_TYPE_UNION = 'PHPCS_T_TYPE_UNION'

Functions

url()

Generate a URL with the application base path prepended.

url([string $path = '/' ]) : string

Use this for all internal links to ensure they work correctly when the application is installed in a subdirectory.

Parameters
$path : string = '/'

The path to generate URL for (should start with /)

Tags
example

url('/login') returns '/lwt/login' if APP_BASE_PATH=/lwt

example

url('/') returns '/lwt' if APP_BASE_PATH=/lwt

example

url('/assets/css/main.css') returns '/lwt/assets/css/main.css'

Return values
string

The full URL path with base path prepended

base_path()

Get the configured application base path.

base_path() : string
Return values
string

The base path (e.g., '/lwt') or empty string for root

getallheaders()

Get all HTTP header key/values as an associative array for the current request.

getallheaders() : string[string]
Return values
string[string]

The HTTP header key/value pairs.

trigger_deprecation()

Triggers a silenced deprecation notice.

trigger_deprecation(string $package, string $version, string $message, mixed ...$args) : void
Parameters
$package : string

The name of the Composer package that is triggering the deprecation

$version : string

The version of the package that introduced the deprecation

$message : string

The message of the deprecation

$args : mixed

Values to insert in the message using printf() formatting

Tags
author

Nicolas Grekas p@tchwork.com

ctype_alnum()

ctype_alnum(mixed $text) : mixed
Parameters
$text : mixed

ctype_alpha()

ctype_alpha(mixed $text) : mixed
Parameters
$text : mixed

ctype_cntrl()

ctype_cntrl(mixed $text) : mixed
Parameters
$text : mixed

ctype_digit()

ctype_digit(mixed $text) : mixed
Parameters
$text : mixed

ctype_graph()

ctype_graph(mixed $text) : mixed
Parameters
$text : mixed

ctype_lower()

ctype_lower(mixed $text) : mixed
Parameters
$text : mixed

ctype_print()

ctype_print(mixed $text) : mixed
Parameters
$text : mixed

ctype_punct()

ctype_punct(mixed $text) : mixed
Parameters
$text : mixed

ctype_space()

ctype_space(mixed $text) : mixed
Parameters
$text : mixed

ctype_upper()

ctype_upper(mixed $text) : mixed
Parameters
$text : mixed

ctype_xdigit()

ctype_xdigit(mixed $text) : mixed
Parameters
$text : mixed

ctype_alnum()

ctype_alnum(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_alpha()

ctype_alpha(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_cntrl()

ctype_cntrl(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_digit()

ctype_digit(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_graph()

ctype_graph(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_lower()

ctype_lower(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_print()

ctype_print(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_punct()

ctype_punct(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_space()

ctype_space(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_upper()

ctype_upper(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

ctype_xdigit()

ctype_xdigit(mixed $text) : bool
Parameters
$text : mixed
Return values
bool

grapheme_extract()

grapheme_extract(mixed $haystack, mixed $size[, mixed $type = 0 ][, mixed $start = 0 ][, mixed &$next = 0 ]) : mixed
Parameters
$haystack : mixed
$size : mixed
$type : mixed = 0
$start : mixed = 0
$next : mixed = 0

grapheme_stripos()

grapheme_stripos(mixed $haystack, mixed $needle[, mixed $offset = 0 ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0

grapheme_stristr()

grapheme_stristr(mixed $haystack, mixed $needle[, mixed $beforeNeedle = false ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$beforeNeedle : mixed = false

grapheme_strlen()

grapheme_strlen(mixed $input) : mixed
Parameters
$input : mixed

grapheme_strpos()

grapheme_strpos(mixed $haystack, mixed $needle[, mixed $offset = 0 ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0

grapheme_strripos()

grapheme_strripos(mixed $haystack, mixed $needle[, mixed $offset = 0 ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0

grapheme_strrpos()

grapheme_strrpos(mixed $haystack, mixed $needle[, mixed $offset = 0 ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0

grapheme_strstr()

grapheme_strstr(mixed $haystack, mixed $needle[, mixed $beforeNeedle = false ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$beforeNeedle : mixed = false

grapheme_substr()

grapheme_substr(mixed $string, mixed $offset[, mixed $length = null ]) : mixed
Parameters
$string : mixed
$offset : mixed
$length : mixed = null

grapheme_str_split()

grapheme_str_split(mixed $string[, mixed $length = 1 ]) : mixed
Parameters
$string : mixed
$length : mixed = 1

grapheme_str_split()

grapheme_str_split(string $string[, int $length = 1 ]) : array<string|int, mixed>|false
Parameters
$string : string
$length : int = 1
Return values
array<string|int, mixed>|false

grapheme_extract()

grapheme_extract(string|null $haystack, int|null $size[, int|null $type = GRAPHEME_EXTR_COUNT ][, int|null $offset = 0 ][, mixed &$next = null ]) : string|false
Parameters
$haystack : string|null
$size : int|null
$type : int|null = GRAPHEME_EXTR_COUNT
$offset : int|null = 0
$next : mixed = null
Return values
string|false

grapheme_stripos()

grapheme_stripos(string|null $haystack, string|null $needle[, int|null $offset = 0 ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
Return values
int|false

grapheme_stristr()

grapheme_stristr(string|null $haystack, string|null $needle[, bool|null $beforeNeedle = false ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$beforeNeedle : bool|null = false
Return values
string|false

grapheme_strlen()

grapheme_strlen(string|null $string) : int|false|null
Parameters
$string : string|null
Return values
int|false|null

grapheme_strpos()

grapheme_strpos(string|null $haystack, string|null $needle[, int|null $offset = 0 ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
Return values
int|false

grapheme_strripos()

grapheme_strripos(string|null $haystack, string|null $needle[, int|null $offset = 0 ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
Return values
int|false

grapheme_strrpos()

grapheme_strrpos(string|null $haystack, string|null $needle[, int|null $offset = 0 ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
Return values
int|false

grapheme_strstr()

grapheme_strstr(string|null $haystack, string|null $needle[, bool|null $beforeNeedle = false ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$beforeNeedle : bool|null = false
Return values
string|false

grapheme_substr()

grapheme_substr(string|null $string, int|null $offset[, int|null $length = null ]) : string|false
Parameters
$string : string|null
$offset : int|null
$length : int|null = null
Return values
string|false

normalizer_is_normalized()

normalizer_is_normalized(mixed $string[, mixed $form = Normalizer::FORM_C ]) : mixed
Parameters
$string : mixed
$form : mixed = Normalizer::FORM_C

normalizer_normalize()

normalizer_normalize(mixed $string[, mixed $form = Normalizer::FORM_C ]) : mixed
Parameters
$string : mixed
$form : mixed = Normalizer::FORM_C

normalizer_is_normalized()

normalizer_is_normalized(string|null $string[, int|null $form = Normalizer::FORM_C ]) : bool
Parameters
$string : string|null
$form : int|null = Normalizer::FORM_C
Return values
bool

normalizer_normalize()

normalizer_normalize(string|null $string[, int|null $form = Normalizer::FORM_C ]) : string|false
Parameters
$string : string|null
$form : int|null = Normalizer::FORM_C
Return values
string|false

mb_convert_encoding()

mb_convert_encoding(mixed $string, mixed $to_encoding[, mixed $from_encoding = null ]) : mixed
Parameters
$string : mixed
$to_encoding : mixed
$from_encoding : mixed = null

mb_decode_mimeheader()

mb_decode_mimeheader(mixed $string) : mixed
Parameters
$string : mixed

mb_encode_mimeheader()

mb_encode_mimeheader(mixed $string[, mixed $charset = null ][, mixed $transfer_encoding = null ][, mixed $newline = "\r\n" ][, mixed $indent = 0 ]) : mixed
Parameters
$string : mixed
$charset : mixed = null
$transfer_encoding : mixed = null
$newline : mixed = "\r\n"
$indent : mixed = 0

mb_decode_numericentity()

mb_decode_numericentity(mixed $string, mixed $map[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$map : mixed
$encoding : mixed = null

mb_encode_numericentity()

mb_encode_numericentity(mixed $string, mixed $map[, mixed $encoding = null ][, mixed $hex = false ]) : mixed
Parameters
$string : mixed
$map : mixed
$encoding : mixed = null
$hex : mixed = false

mb_convert_case()

mb_convert_case(mixed $string, mixed $mode[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$mode : mixed
$encoding : mixed = null

mb_internal_encoding()

mb_internal_encoding([mixed $encoding = null ]) : mixed
Parameters
$encoding : mixed = null

mb_language()

mb_language([mixed $language = null ]) : mixed
Parameters
$language : mixed = null

mb_list_encodings()

mb_list_encodings() : mixed

mb_encoding_aliases()

mb_encoding_aliases(mixed $encoding) : mixed
Parameters
$encoding : mixed

mb_check_encoding()

mb_check_encoding([mixed $value = null ][, mixed $encoding = null ]) : mixed
Parameters
$value : mixed = null
$encoding : mixed = null

mb_detect_encoding()

mb_detect_encoding(mixed $string[, mixed $encodings = null ][, mixed $strict = false ]) : mixed
Parameters
$string : mixed
$encodings : mixed = null
$strict : mixed = false

mb_detect_order()

mb_detect_order([mixed $encoding = null ]) : mixed
Parameters
$encoding : mixed = null

mb_parse_str()

mb_parse_str(mixed $string[, mixed &$result = [] ]) : mixed
Parameters
$string : mixed
$result : mixed = []

mb_strlen()

mb_strlen(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_strpos()

mb_strpos(mixed $haystack, mixed $needle[, mixed $offset = 0 ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0
$encoding : mixed = null

mb_strtolower()

mb_strtolower(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_strtoupper()

mb_strtoupper(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_substitute_character()

mb_substitute_character([mixed $substitute_character = null ]) : mixed
Parameters
$substitute_character : mixed = null

mb_substr()

mb_substr(mixed $string, mixed $start[, mixed $length = 2147483647 ][, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$start : mixed
$length : mixed = 2147483647
$encoding : mixed = null

mb_stripos()

mb_stripos(mixed $haystack, mixed $needle[, mixed $offset = 0 ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0
$encoding : mixed = null

mb_stristr()

mb_stristr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_strrchr()

mb_strrchr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_strrichr()

mb_strrichr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_strripos()

mb_strripos(mixed $haystack, mixed $needle[, mixed $offset = 0 ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0
$encoding : mixed = null

mb_strrpos()

mb_strrpos(mixed $haystack, mixed $needle[, mixed $offset = 0 ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$offset : mixed = 0
$encoding : mixed = null

mb_strstr()

mb_strstr(mixed $haystack, mixed $needle[, mixed $before_needle = false ][, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$before_needle : mixed = false
$encoding : mixed = null

mb_get_info()

mb_get_info([mixed $type = 'all' ]) : mixed
Parameters
$type : mixed = 'all'

mb_http_output()

mb_http_output([mixed $encoding = null ]) : mixed
Parameters
$encoding : mixed = null

mb_strwidth()

mb_strwidth(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_substr_count()

mb_substr_count(mixed $haystack, mixed $needle[, mixed $encoding = null ]) : mixed
Parameters
$haystack : mixed
$needle : mixed
$encoding : mixed = null

mb_output_handler()

mb_output_handler(mixed $string, mixed $status) : mixed
Parameters
$string : mixed
$status : mixed

mb_http_input()

mb_http_input([mixed $type = null ]) : mixed
Parameters
$type : mixed = null

mb_convert_variables()

mb_convert_variables(mixed $to_encoding, mixed $from_encoding, mixed ...&$vars) : mixed
Parameters
$to_encoding : mixed
$from_encoding : mixed
$vars : mixed

mb_ord()

mb_ord(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_chr()

mb_chr(mixed $codepoint[, mixed $encoding = null ]) : mixed
Parameters
$codepoint : mixed
$encoding : mixed = null

mb_scrub()

mb_scrub(mixed $string[, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$encoding : mixed = null

mb_str_split()

mb_str_split(mixed $string[, mixed $length = 1 ][, mixed $encoding = null ]) : mixed
Parameters
$string : mixed
$length : mixed = 1
$encoding : mixed = null

mb_str_pad()

mb_str_pad(string $string, int $length[, string $pad_string = ' ' ][, int $pad_type = STR_PAD_RIGHT ][, string|null $encoding = null ]) : string
Parameters
$string : string
$length : int
$pad_string : string = ' '
$pad_type : int = STR_PAD_RIGHT
$encoding : string|null = null
Return values
string

mb_ucfirst()

mb_ucfirst(string $string[, string|null $encoding = null ]) : string
Parameters
$string : string
$encoding : string|null = null
Return values
string

mb_lcfirst()

mb_lcfirst(string $string[, string|null $encoding = null ]) : string
Parameters
$string : string
$encoding : string|null = null
Return values
string

mb_trim()

mb_trim(string $string[, string|null $characters = null ][, string|null $encoding = null ]) : string
Parameters
$string : string
$characters : string|null = null
$encoding : string|null = null
Return values
string

mb_ltrim()

mb_ltrim(string $string[, string|null $characters = null ][, string|null $encoding = null ]) : string
Parameters
$string : string
$characters : string|null = null
$encoding : string|null = null
Return values
string

mb_rtrim()

mb_rtrim(string $string[, string|null $characters = null ][, string|null $encoding = null ]) : string
Parameters
$string : string
$characters : string|null = null
$encoding : string|null = null
Return values
string

mb_convert_encoding()

mb_convert_encoding(array<string|int, mixed>|string|null $string, string|null $to_encoding[, array<string|int, mixed>|string|null $from_encoding = null ]) : array<string|int, mixed>|string|false
Parameters
$string : array<string|int, mixed>|string|null
$to_encoding : string|null
$from_encoding : array<string|int, mixed>|string|null = null
Return values
array<string|int, mixed>|string|false

mb_decode_mimeheader()

mb_decode_mimeheader(string|null $string) : string
Parameters
$string : string|null
Return values
string

mb_encode_mimeheader()

mb_encode_mimeheader(string|null $string[, string|null $charset = null ][, string|null $transfer_encoding = null ][, string|null $newline = "\r\n" ][, int|null $indent = 0 ]) : string
Parameters
$string : string|null
$charset : string|null = null
$transfer_encoding : string|null = null
$newline : string|null = "\r\n"
$indent : int|null = 0
Return values
string

mb_decode_numericentity()

mb_decode_numericentity(string|null $string, array<string|int, mixed> $map[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$map : array<string|int, mixed>
$encoding : string|null = null
Return values
string

mb_encode_numericentity()

mb_encode_numericentity(string|null $string, array<string|int, mixed> $map[, string|null $encoding = null ][, bool|null $hex = false ]) : string
Parameters
$string : string|null
$map : array<string|int, mixed>
$encoding : string|null = null
$hex : bool|null = false
Return values
string

mb_convert_case()

mb_convert_case(string|null $string, int|null $mode[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$mode : int|null
$encoding : string|null = null
Return values
string

mb_internal_encoding()

mb_internal_encoding([string|null $encoding = null ]) : string|bool
Parameters
$encoding : string|null = null
Return values
string|bool

mb_language()

mb_language([string|null $language = null ]) : string|bool
Parameters
$language : string|null = null
Return values
string|bool

mb_list_encodings()

mb_list_encodings() : array<string|int, mixed>
Return values
array<string|int, mixed>

mb_encoding_aliases()

mb_encoding_aliases(string|null $encoding) : array<string|int, mixed>
Parameters
$encoding : string|null
Return values
array<string|int, mixed>

mb_check_encoding()

mb_check_encoding([array<string|int, mixed>|string|null $value = null ][, string|null $encoding = null ]) : bool
Parameters
$value : array<string|int, mixed>|string|null = null
$encoding : string|null = null
Return values
bool

mb_detect_encoding()

mb_detect_encoding(string|null $string[, array<string|int, mixed>|string|null $encodings = null ][, bool|null $strict = false ]) : string|false
Parameters
$string : string|null
$encodings : array<string|int, mixed>|string|null = null
$strict : bool|null = false
Return values
string|false

mb_detect_order()

mb_detect_order([array<string|int, mixed>|string|null $encoding = null ]) : array<string|int, mixed>|bool
Parameters
$encoding : array<string|int, mixed>|string|null = null
Return values
array<string|int, mixed>|bool

mb_parse_str()

mb_parse_str(string|null $string[, mixed &$result = [] ]) : bool
Parameters
$string : string|null
$result : mixed = []
Return values
bool

mb_strlen()

mb_strlen(string|null $string[, string|null $encoding = null ]) : int
Parameters
$string : string|null
$encoding : string|null = null
Return values
int

mb_strpos()

mb_strpos(string|null $haystack, string|null $needle[, int|null $offset = 0 ][, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
$encoding : string|null = null
Return values
int|false

mb_strtolower()

mb_strtolower(string|null $string[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$encoding : string|null = null
Return values
string

mb_strtoupper()

mb_strtoupper(string|null $string[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$encoding : string|null = null
Return values
string

mb_substitute_character()

mb_substitute_character([string|int|null $substitute_character = null ]) : string|int|bool
Parameters
$substitute_character : string|int|null = null
Return values
string|int|bool

mb_substr()

mb_substr(string|null $string, int|null $start[, int|null $length = null ][, string|null $encoding = null ]) : string
Parameters
$string : string|null
$start : int|null
$length : int|null = null
$encoding : string|null = null
Return values
string

mb_stripos()

mb_stripos(string|null $haystack, string|null $needle[, int|null $offset = 0 ][, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
$encoding : string|null = null
Return values
int|false

mb_stristr()

mb_stristr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null
Return values
string|false

mb_strrchr()

mb_strrchr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null
Return values
string|false

mb_strrichr()

mb_strrichr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null
Return values
string|false

mb_strripos()

mb_strripos(string|null $haystack, string|null $needle[, int|null $offset = 0 ][, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
$encoding : string|null = null
Return values
int|false

mb_strrpos()

mb_strrpos(string|null $haystack, string|null $needle[, int|null $offset = 0 ][, string|null $encoding = null ]) : int|false
Parameters
$haystack : string|null
$needle : string|null
$offset : int|null = 0
$encoding : string|null = null
Return values
int|false

mb_strstr()

mb_strstr(string|null $haystack, string|null $needle[, bool|null $before_needle = false ][, string|null $encoding = null ]) : string|false
Parameters
$haystack : string|null
$needle : string|null
$before_needle : bool|null = false
$encoding : string|null = null
Return values
string|false

mb_get_info()

mb_get_info([string|null $type = 'all' ]) : array<string|int, mixed>|string|int|false|null
Parameters
$type : string|null = 'all'
Return values
array<string|int, mixed>|string|int|false|null

mb_http_output()

mb_http_output([string|null $encoding = null ]) : string|bool
Parameters
$encoding : string|null = null
Return values
string|bool

mb_strwidth()

mb_strwidth(string|null $string[, string|null $encoding = null ]) : int
Parameters
$string : string|null
$encoding : string|null = null
Return values
int

mb_substr_count()

mb_substr_count(string|null $haystack, string|null $needle[, string|null $encoding = null ]) : int
Parameters
$haystack : string|null
$needle : string|null
$encoding : string|null = null
Return values
int

mb_output_handler()

mb_output_handler(string|null $string, int|null $status) : string
Parameters
$string : string|null
$status : int|null
Return values
string

mb_http_input()

mb_http_input([string|null $type = null ]) : array<string|int, mixed>|string|false
Parameters
$type : string|null = null
Return values
array<string|int, mixed>|string|false

mb_convert_variables()

mb_convert_variables(string|null $to_encoding, array<string|int, mixed>|string|null $from_encoding, mixed &$var, mixed ...&$vars) : string|false
Parameters
$to_encoding : string|null
$from_encoding : array<string|int, mixed>|string|null
$var : mixed
$vars : mixed
Return values
string|false

mb_ord()

mb_ord(string|null $string[, string|null $encoding = null ]) : int|false
Parameters
$string : string|null
$encoding : string|null = null
Return values
int|false

mb_chr()

mb_chr(int|null $codepoint[, string|null $encoding = null ]) : string|false
Parameters
$codepoint : int|null
$encoding : string|null = null
Return values
string|false

mb_scrub()

mb_scrub(string|null $string[, string|null $encoding = null ]) : string
Parameters
$string : string|null
$encoding : string|null = null
Return values
string

mb_str_split()

mb_str_split(string|null $string[, int|null $length = 1 ][, string|null $encoding = null ]) : array<string|int, mixed>
Parameters
$string : string|null
$length : int|null = 1
$encoding : string|null = null
Return values
array<string|int, mixed>

mb_str_pad()

mb_str_pad(string $string, int $length[, string $pad_string = ' ' ][, int $pad_type = STR_PAD_RIGHT ][, string|null $encoding = null ]) : string
Parameters
$string : string
$length : int
$pad_string : string = ' '
$pad_type : int = STR_PAD_RIGHT
$encoding : string|null = null
Return values
string

mb_ucfirst()

mb_ucfirst(string $string[, string|null $encoding = null ]) : string
Parameters
$string : string
$encoding : string|null = null
Return values
string

mb_lcfirst()

mb_lcfirst(string $string[, string|null $encoding = null ]) : string
Parameters
$string : string
$encoding : string|null = null
Return values
string

mb_trim()

mb_trim(string $string[, string|null $characters = null ][, string|null $encoding = null ]) : string
Parameters
$string : string
$characters : string|null = null
$encoding : string|null = null
Return values
string

mb_ltrim()

mb_ltrim(string $string[, string|null $characters = null ][, string|null $encoding = null ]) : string
Parameters
$string : string
$characters : string|null = null
$encoding : string|null = null
Return values
string

mb_rtrim()

mb_rtrim(string $string[, string|null $characters = null ][, string|null $encoding = null ]) : string
Parameters
$string : string
$characters : string|null = null
$encoding : string|null = null
Return values
string

fdiv()

fdiv(float $num1, float $num2) : float
Parameters
$num1 : float
$num2 : float
Return values
float

preg_last_error_msg()

preg_last_error_msg() : string
Return values
string

str_contains()

str_contains(string|null $haystack, string|null $needle) : bool
Parameters
$haystack : string|null
$needle : string|null
Return values
bool

str_starts_with()

str_starts_with(string|null $haystack, string|null $needle) : bool
Parameters
$haystack : string|null
$needle : string|null
Return values
bool

str_ends_with()

str_ends_with(string|null $haystack, string|null $needle) : bool
Parameters
$haystack : string|null
$needle : string|null
Return values
bool

get_debug_type()

get_debug_type(mixed $value) : string
Parameters
$value : mixed
Return values
string

get_resource_id()

get_resource_id(mixed $resource) : int
Parameters
$resource : mixed
Return values
int

Search results