Stringy icon indicating copy to clipboard operation
Stringy copied to clipboard

A PHP string manipulation library with multibyte support

Results 34 Stringy issues
Sort by recently updated
recently updated
newest added

Deprecated: Return type of `Stringy\Stringy::offsetSet($offset, $value)` should either be compatible with `ArrayAccess::offsetSet(mixed $offset, mixed $value): void`, or the `#[\ReturnTypeWillChange]` attribute should be used to temporarily suppress the notice in /.../vendor/danielstjules/stringy/src/Stringy.php...

3.x - issue #209 php801 compatibility

Please take a look at this constructor from https://github.com/lanthaler/IRI/blob/a04d4f923700dc5b4a19e1e105f978b50647efaa/IRI.php#L80 public function __construct($iri = null) { if (null === $iri) { return; } elseif (is_string($iri)) { $this->parse($iri); } elseif ($iri instanceof...

without this, it can cause error : ```bash PHP Deprecated: Return type of Stringy\Stringy::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily...

I suggest add feature for normalization line breaks. RegEx have modifier `\R` that matches any Unicode newline sequence. Equivalent to (`?>\r\n|\n|\x0b|\f|\r|\x85`). And the sources texts are sometimes very unpredictable with...

Prevent some warning since PHP 7.3

I can see there's no code commits from @danielstjules since 2017. There are multiple issues and pull requests not touched for years. Should we consider replacing Stringy with a different...