[php-src] Issue #23476: Optimization idea: optimize str_{starts|ends}_wtih() with a 1 byte needle string to $haystack[{0|-1}] === $needle
[email protected] (Girgias)
| Newsgroups | php.bugs |
|---|---|
| Message-ID | <deGtC5jq65Gper1g6DTA9oYDrfQrxS19sYdwIzYN4ok@main.internal.php.net> |
Issue: https://github.com/php/php-src/issues/23476 Author: Girgias ### Description Thought about when seeing the following post: https://phpc.social/@linc/117163847782802693