Re: [PHP-DEV] Allowing variable strings to be defined for a string offset

2019-12-19 Thread Nikita Popov
On Mon, Dec 16, 2019 at 12:21 PM Claude Pache wrote: > > > > Le 16 déc. 2019 à 10:58, George Peter Banyard a écrit > : > > > > Greetings internals, > > > > I'm here to get internals's opinion about allowing a string offset to be > > replaced with arbitrary strings. > > > > Since forever strings

Re: [PHP-DEV] Allowing variable strings to be defined for a string offset

2019-12-16 Thread Michał Brzuchalski
pon., 16 gru 2019 o 10:58 George Peter Banyard napisał(a): > Greetings internals, > > I'm here to get internals's opinion about allowing a string offset to be > replaced with arbitrary strings. > > Since forever strings with more then one byte have been truncated silently > to one byte. The case

Re: [PHP-DEV] Allowing variable strings to be defined for a string offset

2019-12-16 Thread Claude Pache
> Le 16 déc. 2019 à 10:58, George Peter Banyard a écrit : > > Greetings internals, > > I'm here to get internals's opinion about allowing a string offset to be > replaced with arbitrary strings. > > Since forever strings with more then one byte have been truncated silently > to one byte. The

[PHP-DEV] Allowing variable strings to be defined for a string offset

2019-12-16 Thread George Peter Banyard
Greetings internals, I'm here to get internals's opinion about allowing a string offset to be replaced with arbitrary strings. Since forever strings with more then one byte have been truncated silently to one byte. The case with empty string *kinda* was existent but had a buggy behaviour (see bug