PHP 7 supports Unicode code point escape sequences such as \u{1F602} in double-quoted strings; an invalid sequence after \u{ now triggers an error.
mbstring
The mbstring extension now uses the Unicode 11 data tables, supports strings larger than 2 gigabytes, and offers significantly improved performance.
mb_str_split
The new mb_str_split() function of the mbstring extension splits multibyte strings such as UTF-8 text into chunks of characters instead of bytes.
Spoofchecker
Since PHP 7.4, Spoofchecker::setRestrictionLevel() of the intl extension accepts new class constants like HIGHLY_RESTRICTIVE and needs ICU 58.1 or newer.
Normalizer::getRawDecomposition()
PHP 7.3 adds Normalizer::getRawDecomposition(), meant to return the decomposition mapping of a Unicode code point, though the authors only ever got null.
mb_chr()
mb_ord()
mb_chr() and mb_ord() in the mbstring extension are the multibyte equivalents of chr() and ord(), which fail on UTF-8 characters; UTF-8 is the default.
mb_scrub()
The new mb_scrub() function in the mbstring extension repairs multibyte strings such as UTF-8 by replacing invalid byte sequences with a substitute.
mb_convert_encoding()
Since PHP 7.2, mb_convert_encoding() accepts an array of strings in addition to a single string and then returns an array of converted strings.
imagecreatefromstring()
eval
CompileError
error_log
error_clear_last()
E_STRICT
__toString()
JSON_THROW_ON_ERROR
catch
object
Iterable
array
ini
Countable
is_countable()
spl_object_id()
get_mangled_object_vars()
gettype
is_object()
list()
ArrayAccess
array_column()
array_merge()
array_merge_recursive()
array_push()
array_unshift()
array_key_first()
array_key_last()
gmp_random_seed()
gmp_binomial()
gmp_kronecker()
gmp_lcm()
gmp_perfect_power()
preg_quote()
#
preg_replace_callback_array()
preg_replace_callback()
session_start()
dirname()
zip
ignore_user_abort()
stream_isatty()
proc_open()
proc_nice()
getrusage()
memory_limit
fpm_get_status()
getallheaders()
crc32c
mail()
mb_send_mail()
unserialize()
max_depth
uniqid()
DateTime::createFromImmutable()
mixed