> Le 28 oct. 2022 à 23:43, Jordan LeDoux <jordan.led...@gmail.com> a écrit : > > On Fri, Oct 28, 2022 at 12:30 PM Joshua Rüsweg via internals < > internals@lists.php.net> wrote: > > Not to try and bikeshed further, but wouldn't `getBytesFromChars` or > `getBytesFromCharList` be more clear while being nearly as accurate? > > Jordan In the face of multibyte character sets such as UTF-8, I wouldn’t use “char” to mean “byte” (even if, in practice, the most common use will be strings of 1-byte chars). “Alphabet” or “string” might be ambiguous (is it an alphabet of bytes or an alphabet of characters?), but at least they are not contradictory. —Claude -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: https://www.php.net/unsub.php
- [PHP-DEV] RFC [Discussion]: Randomizer Additi... Joshua Rüsweg via internals
- Re: [PHP-DEV] RFC [Discussion]: Randomiz... Alexandru Pătrănescu
- Re: [PHP-DEV] RFC [Discussion]: Rand... Joshua Rüsweg via internals
- Re: [PHP-DEV] RFC [Discussion]: Rand... Go Kudo
- Re: [PHP-DEV] RFC [Discussion]: Randomiz... Dan Ackroyd
- Re: [PHP-DEV] RFC [Discussion]: Rand... Tim Düsterhus
- Re: [PHP-DEV] RFC [Discussion]: ... Jordan LeDoux
- Re: [PHP-DEV] RFC [Discussion]: ... Larry Garfield
- Re: [PHP-DEV] RFC [Discussio... Joshua Rüsweg via internals
- Re: [PHP-DEV] RFC [Disc... Jordan LeDoux
- Re: [PHP-DEV] RFC [... Claude Pache
- Re: [PHP-DEV] R... Jordan LeDoux
- Re: [PHP-DEV] R... Jordan LeDoux
- Re: [PHP-DEV] R... Jordan LeDoux
- [PHP-DEV] Re: RFC [Discussion]: Randomiz... Joshua Rüsweg via internals
- Re: [PHP-DEV] Re: RFC [Discussion]: ... Jordan LeDoux
- Re: [PHP-DEV] Re: RFC [Discussio... Tim Düsterhus
- Re: [PHP-DEV] RFC [Discussion]: Randomiz... Go Kudo
- Re: [PHP-DEV] RFC [Discussion]: Rand... Go Kudo
- Re: [PHP-DEV] RFC [Discussion]: Rand... Tim Düsterhus
- Re: [PHP-DEV] RFC [Discussion]: ... Jordan LeDoux