Re: [PHP-DEV] [RFC] Deprecate and Remove utf8_encode and utf8_decode

2022-03-26 Thread Rowan Tommins
On 24/03/2022 11:19, Rowan Tommins wrote: I have one issue with the wording in the RFC: While “Function utf8_encode is deprecated; check usage is correct and consider mb_convert_encoding or other replacement.” suggests to replace it, the part about checking the usage implies that if someone is

Re: [PHP-DEV] [RFC][Under discussion] Arbitrary string interpolation

2022-03-26 Thread Rowan Tommins
On 25/03/2022 14:38, Arnaud Le Blanc wrote: I find that sprintf() is easier to read in most cases. One reason for this is that the text is separated from the code. Funnily enough, I find sprintf() *harder* to read for the same reason - particularly once there are more than two or three