/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\String;
if (!\function_exists(u::class)) {
function u(?string $string = ''): UnicodeString
{
return new UnicodeString($string ?? '');
}
}
if (!\function_exists(b::class)) {
function b(?string $string = ''): ByteString
{
return new ByteString($string ?? '');
}
}
if (!\function_exists(s::class)) {
/**
* @return UnicodeString|ByteString
*/
function s(?string $string = ''): AbstractString
{
$string = $string ?? '';
return preg_match('//u', $string) ? new UnicodeString($string) : new ByteString($string);
}
}
Hat-Trick-Bridge – Digital AgencyHat-Trick-Bridge – Digital Agency
Grow Your Pen*s and Boost Performance with Hat-Trick Man.
The contents of this website, text, images, products are sold or distributed and protected under the Nigeria Copyright Act pursuant to Nigeria and International Copyright Laws. Copy/Edit/Use of our contents without my express written permission and you WILL be suject to the maximum fine/penalty imposed by the Law.
This website Is Not A Part Of The Facebook Website Or Facebook Inc. FACEBOOK Is A Trademark Of FACEBOOK, Inc.