whoami7 - Manager
:
/
home
/
kckglobal
/
www
/
portal
/
vendor
/
azjezz
/
psl
/
src
/
Psl
/
Str
/
Byte
/
Upload File:
files >> /home/kckglobal/www/portal/vendor/azjezz/psl/src/Psl/Str/Byte/ends_with.php
<?php declare(strict_types=1); namespace Psl\Str\Byte; /** * Returns whether the string ends with the given suffix. * * @pure */ function ends_with(string $string, string $suffix): bool { /** @psalm-suppress MissingThrowsDocblock - we don't supply $offset */ if (null === search($string, $suffix)) { return false; } $suffix_length = length($suffix); return slice($string, -$suffix_length) === $suffix; }
Copyright ©2021 || Defacer Indonesia