Файловый менеджер - Редактировать - /home/kckglobal/public_html/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; }
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Генерация страницы: 0 |
proxy
|
phpinfo
|
Настройка