Skip to main content
Drupal API
Menu
User account menu
Log in
Breadcrumb
Drupal Core 11.1.x
ByteString.php
function ByteString::isUtf8
File
vendor/
symfony/
string/
ByteString.php
, line 208
Class
ByteString
Represents a binary-safe string of bytes.
Namespace
Symfony\Component\String
Code
public
function
isUtf8
() : bool {
return
''
===
$this
->
string
||
preg_match
(
'//u'
,
$this
->
string
); }
RSS feed