<?php mb_strlen(string $string, ?string $encoding = null): int
<?php public function toHaveLength(int $number, string $message = ''): self { if (is_string($this->value)) { Assert::assertEquals($number, mb_strlen($this->value), $message); return $this; }
<?php public function skipOnPhp(string $version): self { if (mb_strlen($version) < 2) { throw new InvalidArgumentException('The version must start with [<] or [>].'); }