Re: Can we make str_(starts|ends)_with variadic?
| From: | Niels Dossche | Date: | Tue, 10 Jun 2025 20:30:32 +0000 |
| Subject: | Re: Can we make str_(starts|ends)_with variadic? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-127639@lists.php.net to get a copy of this message | ||
I think I like it, it seems convenient and I had to do stuff like this in the past using a loop.
I don't immediately see a technical reason why this would be a bad idea.
Kind regards
Niels