On 20/06/2019 16:36, Mark Randall wrote:
"Hello".substr(1) // would work as expected regardless of encoding
As I always point out when "multi-byte support" or "Unicode support" is
discussed, it's often ambiguous just what should be "expected".
A lot of systems go from "each character is one
This reminds me of the discussions around PHP 6 :-)
Without commenting on scalar objects (which looks promising), it would be
nice if PHP could also ship with a *non-disableable* multibyte extension
(most likely mbstring, which I think is more widespread than iconv).
Currently a lot of code has to
Greetings,
I have noticed a lot of recent comments, posts, and even Nikita's recent
PHP Russia video discussing scalar objects, a potential future feature
that I believe already has widespread support, and would have widespread
usage once it arrived.
I think most scalars would be self explan