Файловый менеджер - Редактировать - /home/pimjdymy/public_html/safrandsi/vendor/spomky-labs/pki-framework/src/X501/MatchingRule/StringPrepMatchingRule.php
Назад
<?php declare(strict_types=1); namespace SpomkyLabs\Pki\X501\MatchingRule; use SpomkyLabs\Pki\X501\StringPrep\StringPreparer; /** * Base class for matching rules employing string preparement semantics. */ abstract class StringPrepMatchingRule extends MatchingRule { protected function __construct( private readonly StringPreparer $preparer ) { } public function compare(string $assertion, string $value): ?bool { $assertion = $this->preparer->prepare($assertion); $value = $this->preparer->prepare($value); return strcmp($assertion, $value) === 0; } }
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Генерация страницы: 0.03 |
proxy
|
phpinfo
|
Настройка