String¶
A string is series of characters, where a character is the same as a byte. This means that PHP only supports a 256-character set, and hence does not offer native Unicode support.
<?php
$string = 'Hello world';
?>
Related : Stringable, Single Quotes Strings, Double Quotes Strings, Magic Methods, sprintf, sprintf, Concatenation, Curly Brackets, Format, Heredocs, Interpolation, Nowdocs, Scalar Types, String Interpolation
Related packages : symfony/string, voku/stringy